Changing HOME name in autonav
Permalink 1 user found helpfulI want to change the root HOME page's name to something else. It appears in autonav and that's fine - it's just called HOME and I want it to be called something else.
I changed the home page's name and it appears with the new name in dahsboard's sitemap and the home page's properties, but it doesn't change its name in autonav.
Any suggestions?
Thanks
No dramas and it worked like a charm.
Thanks!
I actually changed the HOME page's name but only your trick did it. Now if I can only find the page's name attribute then I get your code to be generic without the need to explicitly spell out the HOME page's new name within view.php
$c->getCollectionName();
manually changing it's name shouldn't be a hassle.
Simply edit the theme your autonav block is using. If you're using the default theme then edit /yoursite/concrete/blocks/autonav/view.php.
Add:
right after after:
which is found in the foreach statement.
Then replace ALL
with
$cName
That should do the trick.
if any dramas let me know.