PDA


View Full Version : Minor skin issue.


Crypticel
04-21-2005, 07:32 AM
I suspect this is something easy to fix, but I'm not sure where to look.

I installed the CMPS, and found that none of the navbar links worked on my main page (they were linking straight to calendar.php instead of forums/calendar.php, etc.) I went to the admincp, saved the Global vBadvanced Settings, and that made them all work.

However, I just installed a skin from extremepixels.com. I've managed to get all the images working and so on, it looks great, I'm impressed by how well the two work together. However, the navbar problem has reappeared, and this time, saving the settings isn't correcting it. I've looked in my index.php files, and the forum path is correct, it's exactly the same as it was before. Any ideas?

Also, a related problem... this has been happening from the beginning, so it's nothing to do with the skin. When I click on the month/year part of the calendar module, that link is broken. Again, it's trying to go to calendar.php and not adding in the correct path. How can I fix it?

TTG
04-21-2005, 07:44 AM
Place "$vboptions[bburl]/" ( without the quotes ) in front of all the navbar template areas that are causing the link problems :-

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>

Crypticel
04-21-2005, 07:52 AM
Thanks for the reply. I have the navbar working, but I'm still not sure about the calender module. There's no link to add that to...

TTG
04-21-2005, 08:34 AM
Thanks for the reply. I have the navbar working, but I'm still not sure about the calender module. There's no link to add that to...


Look in your header template :-

<td width="106" height="40" align="left" valign="top"><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/dis_hdr_nav_calendar.gif" width="106" height="40" border="0" alt="" /></a></td>

Brian
04-21-2005, 11:54 AM
Also, a related problem... this has been happening from the beginning, so it's nothing to do with the skin. When I click on the month/year part of the calendar module, that link is broken. Again, it's trying to go to calendar.php and not adding in the correct path. How can I fix it?
Sounds like you missed the modifications to your calendar templates.

Crypticel
04-21-2005, 04:13 PM
Sounds like you missed the modifications to your calendar templates.

I know I did them originally, although your posting this did remind me -- in getting the skin to work with the portal I reinstalled the templates, so I needed to redo them.

However, I had done them before and it still didn't work, and I've now redone them, and no luck. I've tried adding $vboptions[bburl]/ as suggested above, and nothing. "April 2005" doesn't work, and the links to days with events don't work.

Is there anything else I might have missed that could have effected it?

Brian
04-21-2005, 05:26 PM
If adding that in front of the link doesn't work then there's a 99% chance that you've missed the modifications to your functions_calendar.php file.

Crypticel
04-21-2005, 05:36 PM
Got it. I thought there was a good chance it'd be something I'd uploaded the wrong copy of again. :p Thanks much.