Replacing the Breadcrumb

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
cavemanharris
User
Posts: 21

Replacing the Breadcrumb

Post by cavemanharris »

I found a post where there is instructions to hide the breadcrumb

I cannot get it to work

Under "Code(Server Events.....)
i added the line below to
Client Scripts"
Global
Pages with header/footer
Global Code

this is the code
$('ul.breadcrumb').hide();

It does not hide the breadcrumb...

I do realize that i can edit the Template and remove it there!. However? I would like to add custom text to each table to appear at the top where the breadcrumb is currently. Where in "Code(Server... " do i add the custom HTML for each of my tables


arbei
User
Posts: 9281

Post by arbei »

cavemanharris wrote:
I would like to add custom text to each table to appear at the top where the breadcrumb is currently.

So you are trying to "replacing" (not hiding) the Breadcrumb with something else?

$('ul.breadcrumb').hide(); is correct, but you should put it in Startup Script, not Client Script.

To replace, google "jQuery replaceWith".

Put your code in Startup Script then try again.


cavemanharris
User
Posts: 21

Post by cavemanharris »

thank you.

I have managed to remove the Breadcrumb from the template master and it has solved my issue.

Regards


Post Reply