PDA

View Full Version : Other Style ?


TraumTeam
07-04-2004, 07:57 PM
Hello,

can vblinks get another style like the forum ?
I want to change the "Header" for the Links, so i have to take another style in the vb3 for it ..

Is this possible ?

Thanks for reply ..
Rob

Brian
07-05-2004, 12:22 AM
Do you just need a different header for your links directory? If so, just open your links_config.php file and look for:

define('NO_REGISTER_GLOBALS', 1);

Below this, add:

define('VBA_SCRIPT', 'links_directory');

(Note: This will be added in RC2 to make it easier to identify the links directory for reasons such as this.)

Then you can use a if condition in your header template... Something like this:

<if condition="VBA_SCRIPT == 'links_directory'">

Links Header Here

<else />

Normal Forum Header Here

</if>

Our Sponsors
 

TraumTeam
07-05-2004, 03:58 PM
hmm...
dont understand that actually

I want to delete that Forum navbar and i want to put the link dir. on my fourth tab. (You can when you have a look @our page). And then just have the link navbar below our "main site navbar" with the four tabs.

But the link dir .takes the style defined in the vb board...

Can you try to explain it to me in another way ?

Thanks
Rob

Brian
07-05-2004, 04:12 PM
So you just basically want to completely remove the navbar from the links directory? If that's the case, just add the code I posted above to your links_config.php file, then edit your 'navbar' template and add this at the very top:

<if condition="!defined('VBA_SCRIPT')">


Then at the very bottom of the template, add this:

</if>

And that should do the trick. :)