You create the new folder:
/blocks/autonav
and then just copy the /concrete/blocks/autonav/view.php to your new /blocks/autonav folder, basically you only have to override the file you want to change, not the whole block.
If you wanted to retain the original functionality of the block as well as your new functionally you could create a new template:
make the folder:
/blocks/autonav/templates/custom_nav.php
I've got the same problem, thanks for the help guys...
Sorry if I'm being a bit cheeky, but you couldn't put down the changes required to the view.php file to make your suggestion work?
I'm trying to learn php but this bit of my site can't wait.
Any tips much appreciated!
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
Had to hack my way around in CSS to make it work.
Are you sure the pages are subpages of "Humm"?
If you are;
- Copy the auto-nav block from /concrete/blocks to the root /blocks folder.
- Edit the view.php to fit ur need
Tadaaa done :)
Gl mate, hope this helps ya