Quote:
Here the simple code: <if condition="$show['member']"> <td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> I guess I just need to know what the $show command would be and where to put the actual displayed link. Thank you!!!! |
You don't want to use that condition around the link. You just want a link - try this where you want it:
HTML Code:
<td class="vbmenu_control"><a href="$vboptions[homeurl]?$session[sessionurl]">Home</a></td> |
Thank you very much.. appreciate the time... It's a learning curve. I use to work on forums many years ago with dial-in BBS Before internet. Same concept, just not use to php.
Thanks a bunch. |
Quote:
|
Here's an interesting problem. What does a guy do when he apparently hits the character limit when adding links? I have a lot on my site and I've pretty much deleted every tab and comment in my navbar to make more room. Any suggestions?
|
I've used this....
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align = "center" > <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if> <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please Visit Our Sponsors Here</a></td></if> <td class="vbmenu_control"><if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here </a></td></if> </tr> </table> </div> <!-- / Navbar Links --> And the links in the navbar don't showup centered properly. I tried adding spaces, but this resulted in a line showing to the left of the link where the spaces are when hovering over the link. I need to be able to set the links in their proper position. https://vborg.vbsupport.ru/external/2009/10/57.jpg |
Your html is totally incorrect. For every <td>, you need a </td>. And, you don't put <td> inside another <td> which is what you are doing.
|
I changed it to this and it still does the same thing.
<!-- Navbar Links --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align = "center" > <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please Visit Our Sponsors Here</a></td></if> <if condition="$show['member']"> <td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here</a></td></if> </tr> </table> </div> <!-- / Navbar Links --> |
You are never going to get them perfectly centered unless you apply something to set the width of the columns and then center the words in those columns. All three of those links only show to members, so why not have the whole table in the condition and then set the width of each column to 33% and center the text in each column?
|
sounds like a plan..... I'll have to do some hunting in order to figure out how to do the column widths as I'm fairly new to html. Unless you'd be gracious enough to give me an example?
--------------- Added [DATE]1255215055[/DATE] at [TIME]1255215055[/TIME] --------------- I figured out how to size the columns. Thank you for your help!!!! |
All times are GMT. The time now is 07:52 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|