Created
January 15, 2014 15:09
-
-
Save jbroadway/8437952 to your computer and use it in GitHub Desktop.
Rename /blog to /collection in the Elefant CMS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; <?php /* apps/collection/conf/config.php | |
[Collection] | |
title = Collection | |
include_in_nav = On | |
; */ ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // apps/collection/handlers/index.php | |
$override = count ($this->params) | |
? 'blog/' . join ('/', $this->params) | |
: 'blog/index'; | |
echo str_replace ( | |
'"/blog', | |
'"/collection', | |
$this->run ($override, $this->data, $this->internal) | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
title = Collection is on menu only, but on page is > title = Blog settings ...