![]() |
|
#101
|
|||
|
|||
|
Quote:
after updating to the VB 3.5.4 and VBA 2.10 the orig. code didn't seem to work right, but your fix worked for me as well
|
|
#102
|
|||
|
|||
|
This is what worked for me.
PHP Code:
|
|
#103
|
|||
|
|||
|
Okay, I have VB 3.5.4 and am using cmps v2 and I think I found the section that you were all talking about, can someone verify this for me before I start to mess around with this? I am new to all of this and would hate to mess things up
Where exactly do I put the code and do I delete any of the old code? TIA ![]() <!-- / breadcrumb, login, pm info --> <!-- nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center"> <if condition="$show['member']"> |
|
#104
|
|||
|
|||
|
Tks to this topic!
Very useful. cheers beduino |
|
#105
|
|||
|
|||
|
Quote:
Sorry, but in what file do i change this? I use versionV 2.10. Last edited by hypnoparadise; 04-05-2006 at 05:17 PM. |
|
#106
|
|||
|
|||
|
template navbar>breadcrumbs...I think
cheers beduino |
|
#107
|
|||
|
|||
|
Quote:
Thanks!!! Sonny |
|
#108
|
|||
|
|||
|
Gah. I'm not quite sure what the story is here...
I've added the code: PHP Code:
http://www.domain.net//index.php? If I merely remove the last p from the .php, the proper link comes in (except for the fact that it isn't falid due to the last p is missing, i.e., http://www.domain.net/forumindex.ph?). Can someone explain to me why this is occurring? Additionally, the return to the VBA homepage works properly (as it is just using homeurl), but something is funny about what is happening in that .php piece. |
|
#109
|
||||
|
||||
|
Quote:
|
|
#110
|
|||
|
|||
|
Is there something additional to do here to make it work with a custom style? Currently I can only get this to work in the default style, but my custom style (which is a child of the default) doesn't change.
|
|
#111
|
||||
|
||||
|
unless you have edited the custom template directly it will trickle down. Otherwise just edit the custom style.
|
|
#112
|
|||
|
|||
|
it works good only theres a extra gap space to the next User Settings and so dont look even
|
|
#113
|
|||
|
|||
|
Then you didn't do something correctly.
|
|
#114
|
|||
|
|||
|
because im trying to put more than 1 in like 3 , 2 is ok but anymore than 2 and jumps across. anyway forget that im ok now. what i really need is a multiple if statement i think but not sure how to do.
[code] <td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Trouble Ticket <else /> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> HelpDesk</if></a></td> <td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> KnowledgeBase <else /> <a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"> Trouble Ticket</if></a></td>[/code the links are wrong above you get the idea... i want to goto 3 pages from the navbar and show the other 2 links on the navbar pointing back and not anyone being duplicated. i nearly done it, the above will do it for 2 pages but not for 3 as 3 will show the link on the page when i dont need it as im on that page. so its like this 1st page portal - navbar links are trouble ticket and knowledge 2nd page ticket - navbar links are portal and knowledge 3rd page knowledge - navbar links are portal and ticket Last edited by markymoo; 05-18-2006 at 06:38 PM. |
|
#115
|
|||
|
|||
|
ok i done it.
i cleaned up the code. the portal page portal.php is adv_index so i checked for the forum page index.php which is defined as index, i used a extra if and else statement. for those who dont know this is more than just putting Home link on the navbar. 2 links on navbar over 3 pages so each link isnt shown up on the page your on.Code:
<td class="vbmenu_control"><a href="your home url"> Home</a></td> <td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="vBSupport.php"> Trouble Ticket <else /> <a href="portal.php"> HelpDesk </if></if></a></td> <td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="index.php"> KnowledgeBase <else /> <if condition="THIS_SCRIPT == 'index'"><a href="vBSupport.php"> Trouble Ticket <else /> <a href="index.php"> KnowledgeBase </if></if></a></td> Last edited by markymoo; 05-18-2006 at 09:42 PM. |
|
#116
|
|||
|
|||
|
I can't get it to work for me!
It keeps bringing up the url http://www.landofthepinkbunnies.co.uk/?, and does nothing! Do i need to add the names of the CMPS index and the forums index, if so, the root folder is www.landofthepinkbunnies.co.uk, the cmps is index.php, and the forums is forums.phpThanks in advance! |
|
#117
|
|||
|
|||
|
Polite bump
|
|
#118
|
|||
|
|||
|
another bump... please, someone has to be able to help!! This is important
|
|
#119
|
|||
|
|||
|
im a newbie but it works!
Quote:
my forums are in the root under /forum my gallary is in the root called /photopost i took the code molthom wrote and used the code he had for gallary for my forum link and changed the paths. the orig code for forums was sending me to a bad forum link. the only problem w/ that code is in forum and gallary the links still show for all 3. but i can live w/ that. Last edited by StuntFactoryX; 06-01-2006 at 06:12 PM. |
|
#120
|
|||
|
|||
|
It works with all letters in blue, however i have the rest of my navbar en white letters. How do i change it from blue to white to make it fit with my skin ?
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamic Link To Forum Home | addictive | "How Do I..." Questions | 2 | 06-27-2005 07:49 AM |
| Dynamic Forum Home Announcement - vBaCMPS Integration | kall | Add-On Modules & Modifications | 2 | 09-12-2004 03:58 AM |