Hello Guest
No Avatar
Sign In to Remove
Posts: 
3
Reputation: 
0
Posted: July 18, 2012, 9:24 AM
  • Group: Member
I don't understand how to add it, could I please have it explained a bit more easier such as to where to place the files and such. Thank you.
Posts: 
400
Reputation: 
20
Posted: July 18, 2012, 11:04 AM  -- Last Edit: July 19, 2012, 1:06 AM by MLM
  • Group: Administrator
  • AIM: mlm@visualpulse.net
  • deviantART: MadLittleMods
  • Photobucket: MadLittleMods
Referencing this resource: http://visualpulse.net/forums/index.php?topic=16.0

It all depends on what you want to add it to. Sorry for not much documentation as it is one of my first resources I have ever made.

Just include nav-bar1.php on your server somewhere as well as the css and images accordingly so the paths match up.

Then php include the file paying attention to the file path.

You can set the current tab by changing $vp_nav_bar1_current_tab.
<3 Nerve, Sk8, Labradoodle, Austin
Posts: 
3
Reputation: 
0
Posted: July 18, 2012, 8:55 PM
  • Group: Member
I want to do it for Pulse
Posts: 
3
Reputation: 
0
Posted: July 18, 2012, 9:17 PM
  • Group: Member
I'm sorry MLM I still don't understand I put the files to themes/pulse/

As thats where images and such is located I put the nav_bars with the rest of the php like so



The images are in the images part. And I'm guessing I need to add the code located on the page somewhere just I don't know :P. If you could provide any more help that would be great, this resource you did looks brilliant just I'm not good at doing web-based stuff.
Posts: 
400
Reputation: 
20
Posted: July 19, 2012, 1:05 AM
  • Group: Administrator
  • AIM: mlm@visualpulse.net
  • deviantART: MadLittleMods
  • Photobucket: MadLittleMods
I have not tested code so tell me of anything that needs to be changed for future onlookers.

Change the css files so that the paths start with
Code: [Select]
../images/
Add the images to images directory of the theme

After adding the css files to the pulse css directory, Add these lines to the head of index.template.php
Code: [Select]
echo '
<!--[if !IE]><!-->
<link rel="stylesheet" type="text/css" href="'. $settings['theme_url'] .'/css/nav-bar1.css" />
<!--<![endif]-->

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="'. $settings['theme_url'] .'/css/nav-bar1_ie.css" />
<![endif]-->
';

Now add the nav bar where you want it:
Code: [Select]
include $settings['theme_url'] . '/nav-bar1.php'
<3 Nerve, Sk8, Labradoodle, Austin
anything