Customizing SMF > SMF Coding Discussion

Grrr... I think I might have looked at this to hard.. Linktree help

(1/1)

tenowg:
How do I keep adding lines to link tree.. I know how to change the first link... ie
bordname | first_line

but how do I add more? I am writing a addon mod for recipes, and would like it say something like:
boardname | Viewing Recipes | Fish | Tuna | Tuna Cassarole

Where Fish and Tuna are catagories and Tuna Cassarole is the recipes and Viewing Recipes is the area they are in...

I have looked at this for about 8 hours, and it is probably really simple, I may have just put to much thought into it...

Peter Duggan:
The link tree represents the hierarchical structure of the forum, so it isn't something you 'write'. What you probably need to do is to set up a 'recipes' category, with 'fish' board, 'tuna' child board and 'tuna casserole' topic or something like that, then you shouldn't really need a mod at all (unless I'm missing something too)...

tenowg:
I had thoght of this myself, but I don't see any way to work with this... if it helps maybe you want to look at the page in question... it is not part of a board...

hxxp:cbook.millwis.com/ [nonactive]

then look at the recipes page (not the forums page) it should be the third button from the left...

[Unknown]:
You can add entries to the linktree by adding elements to the array.

-[Unknown]

tenowg:
Ok, so it was something simple... duh  ::)

Thanks for the help, I can't say why I didn't notice that, I think I might have just been looking at this code to much lately...

Navigation

[0] Message Index

Go to full version