News:

Wondering if this will always be free?  See why free is better.

Main Menu

Adding Pages to SMF

Started by Zeshin, August 31, 2004, 08:38:14 PM

Previous topic - Next topic

Zeshin

I'm sorry, I've searched around and haven't found a topic which fits my description. If there is one that explains it, please link me to it.

I'm the scripter of an RPG site and currently, I need help adding pages to SMF.

(IE: http://mysite.net/smf/index.php?action=newaction)

I need help on how to add these pages and keep them within the template. Is there a way I can do it without creating a template page for it? I know that in YaBBSE all you really had to do was add your page in the index file, in the array, and then to include it in the template, you had to put template_header(); at the top and then at the bottom include footer();.

Anyways, I really need help and sorry if I didn't explain it very well.

[Unknown]

Writing a tutorial, please wait a few minutes... (I'm not the fastest typist!)

-[Unknown]

Zeshin


[Unknown]

Please note this is a rough draft, any comments are welcome.

-[Unknown]

Zeshin

Ahh, you are certainly blessed, my friend. Thanks for the help and the tutorial! ;D

NoRad

Very helpful to know. Thank you for the question and reply.

Zeshin

Sorry to bug you guys again. But, how would I go about adding pages that'll have the profile menu at the left?

I tried to add the link....for example:

http://www.test.com/SMF/?action=profile;u=1;sa=myfiles

I added the link through the profile.php in the Sources directory, if that helps..

[Unknown]

This is a bit more complicated.  You'll want to show the profile_above and profile_below sub templates, but you also need their contextual data.

-[Unknown]

Zeshin

Yeah, I figured that much. I've tried to do it the way it's been done...but I can't figure out HOW to do it. For example, I figured I'd add something to the ModifyProfile() function. Besides the link that is, but I can't find it...

[Unknown]

It's changed notably in RC2...

-[Unknown]

Advertisement: