unknownsolo Posted September 25, 2017 Share Posted September 25, 2017 Hello all, I saw this thread here which does exactly what I want: https://forum.whmcs.com/showthread.php?123278-Products-service-groups-don-t-show-on-a-separate-page However, anyone know how to also edit breadcrumbs to reflect the page you are on? Or better yet, create separate pages per product "type" not "group"? Thanks, 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 29, 2017 Share Posted September 29, 2017 Hello all, I saw this thread here which does exactly what I want:https://forum.whmcs.com/showthread.php?123278-Products-service-groups-don-t-show-on-a-separate-page However, anyone know how to also edit breadcrumbs to reflect the page you are on? Or better yet, create separate pages per product "type" not "group"? to edit breadcrumbs, you could do something along these lines in /templates/six (or custom)/includes/breadcrumbs.tpl... <ol class="breadcrumb"> {foreach $breadcrumb as $item} <li{if $item@last} class="active"{/if}> {if !$item@last}<a href="{$item.link}">{/if} {$item.label} {if $item@last and $smarty.get.group}({$smarty.get.group}){/if} {if !$item@last}</a>{/if} </li> {/foreach} </ol> you could create a hook to modify the breadcrumbs array, but you'd ideally need to do it in a systematic way... creating separates pages would be both easy and hard... creating pages is simple enough, but you'd have to recreate the wheel and query the database for specific arrays... that will be a lot of work if you're unfamiliar with WHMCS. 0 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.