Need something simple
Permalink
Hello-
What I'm asking for I'm sure is pretty simple to do, I just can't find anything about this on the forms.
<a href="root/level/1/level2">
I want this done dynamically, not hard coded.
Thank you,
Tony
What I'm asking for I'm sure is pretty simple to do, I just can't find anything about this on the forms.
<a href="root/level/1/level2">
I want this done dynamically, not hard coded.
Thank you,
Tony
I can MrKDilkington! :)
I need to create an href link on a custom template page that will only be assigned to a fourth level page. This template will have Auto-Nav embedded in it the template with a graphic of a home icon.
Since Auto-Nav renders Page Titles as text links, I have to hardcode the home icon graphic to go to a dynamic URL. Since I am using a template, I can't do direct URLS as follows:
www.www.testsite.com/schools/msu/home/about/...
or
www.www.testsite.com/schools/uofm/home/about/...
and so on....
I was hoping for some dynamic code to have my href (home icon) to go to the home page of the school:
www.www.testsite.com/schools/uofm/home...
So something that would be more like this:
/$level_1/$level_2/$level_3/$level_4/
There could be multiple levels deep under the school page, so this is why I would need it to be done dynamically.
I hope this makes sense. It does it my head. lol
Thank you!
T
I need to create an href link on a custom template page that will only be assigned to a fourth level page. This template will have Auto-Nav embedded in it the template with a graphic of a home icon.
Since Auto-Nav renders Page Titles as text links, I have to hardcode the home icon graphic to go to a dynamic URL. Since I am using a template, I can't do direct URLS as follows:
www.www.testsite.com/schools/msu/home/about/...
or
www.www.testsite.com/schools/uofm/home/about/...
and so on....
I was hoping for some dynamic code to have my href (home icon) to go to the home page of the school:
www.www.testsite.com/schools/uofm/home...
So something that would be more like this:
/$level_1/$level_2/$level_3/$level_4/
There could be multiple levels deep under the school page, so this is why I would need it to be done dynamically.
I hope this makes sense. It does it my head. lol
Thank you!
T
What version of concrete5 are you using?
If I understand correctly, you want a breadcrumb trail that starts at the fourth level and only displays that level?
If I understand correctly, you want a breadcrumb trail that starts at the fourth level and only displays that level?
5.6.1
More of a link that takes you back to that fourth level. I don't need any links displayed. Just the home icon to go to the fourth level.
More of a link that takes you back to that fourth level. I don't need any links displayed. Just the home icon to go to the fourth level.
@protegeacademy
I don't have experience with 5.6, but off the top of my head, I am thinking you could use an Auto-Nav.
- display pages at the fourth level
displayPages: custom (4)
- display a breadcrumb trail
displaySubPages: relevant_breadcrumb
- display zero subpage levels
displaySubPageLevels: custom (0)
The Auto-Nav doesn't appear to have a fourth level of page display. This may require hard coding the Auto-Nav in the page template. I am under the impression that hard coded blocks do not cache, so I am not sure what impact it will have on performance. You will have to keep on eye on that.
Information on hard coding the Auto-Nav block.
To get around the block caching issue, you might be able to make a modified Auto-Nav block.
I don't have experience with 5.6, but off the top of my head, I am thinking you could use an Auto-Nav.
- display pages at the fourth level
displayPages: custom (4)
- display a breadcrumb trail
displaySubPages: relevant_breadcrumb
- display zero subpage levels
displaySubPageLevels: custom (0)
The Auto-Nav doesn't appear to have a fourth level of page display. This may require hard coding the Auto-Nav in the page template. I am under the impression that hard coded blocks do not cache, so I am not sure what impact it will have on performance. You will have to keep on eye on that.
Information on hard coding the Auto-Nav block.
To get around the block caching issue, you might be able to make a modified Auto-Nav block.
Hello sir!
Are you able to help? :)
Thanks,
Tony
Are you able to help? :)
Thanks,
Tony
So you are wanting the home icon to direct to a page other than the home page?
To better assist you, can you include more specific details for what you are trying to achieve.