News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Hi! How can I replace the linktree with a previous page button?

Started by numbro, July 09, 2013, 01:28:57 PM

Previous topic - Next topic

numbro

Hi! I do not like the look of breadcrumbs, or linktrees, and I've stumbled across a forum that has just what I want! Kanyetothe.com/forum

See how there is a button to go back to the previous page with the page name? I would love to implement that on my site, but I have no clue how to. Thanks!!

numbro


Kindred

numbro,
the thing is: linktree is called on many pages... and is defined in the $context variable.  why do you want to get rid of it?

In order to pull the "previous page" with page name, you would need to track activity and store pages visited...
because, using the standard javascript back command (http://www.w3schools.com/jsref/met_his_back.asp) would just give you the url.. not the page name.

linktree does not actually make a breadcumb of followed links...  it forms a tree of the path to the current page
in other words, if you jumped directly to a post, your linktree would be
site > catgeory > board > topic

So... what you are asking goes well beyond simple graphics or template and ends up being a full code overhaul with new functions...



[edit] removed reply to spammer --illori
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: