Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Portal components
Master Mathandal

Extra Menu Component

I was thinking that since we can duplicate the MENUS and if we put MENU as the component then it creates a TPL file then we could create our own template file for various things. I want something in the center, between the banner and the Sith/Jedi photos where you can click a link and it takes you there. It would use the nav.gif file as the background and all that good stuff.


Code:
[LINKS]
title=HoloNet News
component=MENU
name=LINKS
item1=blah blah


I put that^^^ in my owner panel, and it created the template. I put in some html to see if it works and then added the same thing you would add for faders but changed it to {MYFF_LINKS} instead of {MYFF_FADER} in the overall_header.tpl. It worked to make a template and stuff, but where the links should be it said TEMPLATE DOES NOT EXIST

Is this something that I am doing or is it just that I can not do it?
admin (no pm's please)

You should be able to do it, it was the way the fader was done.

So I imagine you need to double check your code, one letter out of place or in the wrong case is all it takes to break things.
CodyT07

admin wrote:
You should be able to do it, it was the way the fader was done.

So I imagine you need to double check your code, one letter out of place or in the wrong case is all it takes to break things.

I been playing around with it last night and when i did get all coding and everything right i get this.



I added the code in the forum options, made the new file create and put the first mainmenus code it. Added {MYFF.MAINMENU2} in the overall header but that just shows up.
Which would be nice for 2 as in the fader some Phpbb2 Template variables can work as a portal component simply by adding it to the forum options.

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum