global function to disply linktree?

Started by cann, February 17, 2006, 11:35:47 AM

Previous topic - Next topic

cann

i have modified the linktree inline menu-- gave it some extra td cells and some bg images via css. now, i am noticing that i need to modify many pages for it to be consistence.

i would like to write a function so, that i can go through the pages and replace the current code with a simple call to this function.

i would like to place this function in its own file but am not sure on how to go about doing this. where would i add code to make this file accessable throughout the whole form?

thanks
SMF 1.0.6

Compuart

As far as I know the linktree is standardized. Each linktree is drawn by a function theme_linktree() that's in index.template.php. Adjusting that function adjusts all linktrees in the theme.
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Advertisement: