Hi Kobra thanks for the quick reply.
I already had access to this code, the problem was the customer wants to display the page a user is browsing as static html text.
Is this already implemented?
Hi Kobra thanks for the quick reply.
I already had access to this code, the problem was the customer wants to display the page a user is browsing as static html text.
Is this already implemented?
As these pages do not exist as static html where one could enter code per page but are created server side dynamically you can not hard code these individually.
You have hard coded the term "Page Title" but this will now display for all pages
What I was suggesting that you replace the standard breadcrumb "echo" code with your own code to only display the category name or the product name with if else validation
And No this is not an admin selection
As Kobra said, you will need to edit tpl_main_page.php with a test statement series to insert the desired static text. Whatever truncated breadcrumbs code is there can be replaced by your code.
You can test for $current_page_base == 'whatever is in the address bar of your desired page', and some other refinements such as $cPath == '##' to determine the text to display.
Template Monster is notorious for hacking & slashing ZC templates and removing standard functions while making their pretty layouts, and this appears to be a very old version to boot.
Thanks for the input
I got the desired result by editing the breadcrumb trail class, it was using a .= to add to trail, I just commented out some of the lines and links then edited it so that it only shown the last addition.
Thanks for your help