Tanatis Posted April 4, 2019 Share Posted April 4, 2019 Any tutorial on how to implement breadcrumbs ? Quote Link to comment Share on other sites More sharing options...
Tech Support Posted April 9, 2019 Share Posted April 9, 2019 Which exactly breadcrumbs do you want to render? It can be quite easy to render them in header using $storage variables, but it depends on your data structure. Quote Link to comment Share on other sites More sharing options...
Tanatis Posted April 18, 2019 Author Share Posted April 18, 2019 I have seen on some sites in header: you are here: Home > Videos > Video title or you are here: Home > Categories > Hardcore Quote Link to comment Share on other sites More sharing options...
Tech Support Posted April 19, 2019 Share Posted April 19, 2019 Here is what you can put in header template to render the above breadcrumbs (URL variables are taken from default theme): {{if $storage.video_view_video_view.title}} You are here: <a href="{{$lang.urls.home}}">Home</a> > <a href="{{$lang.urls.videos_latest_updates}}">Videos</a> > {{$storage.video_view_video_view.title}} {{elseif $storage.list_videos_common_videos_list.category}} You are here: <a href="{{$lang.urls.home}}">Home</a> > <a href="{{$lang.urls.categories_videos}}">Categories</a> > {{$storage.list_videos_common_videos_list.category}} {{elseif $storage.list_videos_common_videos_list.tag}} You are here: <a href="{{$lang.urls.home}}">Home</a> > <a href="{{$lang.urls.tags_videos}}">Tags</a> > {{$storage.list_videos_common_videos_list.tag}} {{elseif $storage.list_videos_common_videos_list.model}} You are here: <a href="{{$lang.urls.home}}">Home</a> > <a href="{{$lang.urls.models_videos}}">Models</a> > {{$storage.list_videos_common_videos_list.model}} {{/if}} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.