![]() |
|
Article Options |
#31
|
||||
|
||||
Right... think i've sussed it,
I put in index which displayed it ![]() the rest of the links that were already there disappeared ![]() anyway of keeping them and adding the drop down at the end of * New Posts * Private Messages * FAQ * Calendar * Community * Forum Actions * Quick Links thank you thou lynne ![]()
__________________
Thanks for your help J ![]() No members have liked this post.
|
#32
|
||||
|
||||
Sorry, but where do i add this code to?
Thanks ![]()
__________________
No members have liked this post.
|
#33
|
|||
|
|||
+1 here, do we just throw it in the navbar template then
![]() No members have liked this post.
|
#34
|
||||
|
||||
Originally Posted by Lynne
Is it possible to add a unique condition to a Section page? or barring that is there a way to use the page title, section title or SEO URL Alias perhaps? (sorry if this is obvious - I am new to php) I would like to have a section named "Marketplace" for information on my classifieds program. It's an important part of my site so needs to be more visable, plus I want to add external links to my classifieds pages for easier navigation. ![]()
I successfully created my new tab and named it Marketplace link.php is set to "http://www.mydomain.com/content.php?2-Marketplace" unique_name is Marketplace No members have liked this post.
|
#35
|
|||
|
|||
I think you must place the code into the plugin system at global_state_check , but I could be mistaken, truthfully I am a bit lost on this one lol
No members have liked this post.
|
#36
|
||||
|
||||
Lynne states where the code has to go - into a plugin at:
Originally Posted by Lynne
Don't know how she could make that clearer
![]()
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#37
|
||||
|
||||
Originally Posted by hIBEES
If you want to just add to the submenu list that is there, then this is NOT the article for you. This article tells you how to add a whole TAB and then submenu links under it. If all you want is to add to the existing submenu, then I am pretty sure there are template_hooks to use. ![]()
It goes into a plugin, as I said in my post. However, read what I wrote above... this article shows you how to add an entire tab - it isn't used to just add to an existing tab.
Originally Posted by DesignWerks
I haven't tried many other conditions with this. If you want to do it for a Section, then you would also have to modify the existing navbar to not show the Home tab when you are on that section, otherwise it isn't unique. Right now, the Home tab shows whenever you are in the CMS area of the site. So, you'd have to change that condition to say "in the CMS but NOT in section xx" otherwise both tabs will be highlighted and only one of the submenus will be shown. I'm not sure what the exact condition would be since I'm not that familiar with all the variable names used with the new CMS ($sectionid == 2 ?).
![]()
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#38
|
||||
|
||||
Thanks Lynne,
http://www.bizimforumlar.com/vbtest/test.php
__________________
Bilgivadisi No members have liked this post.
|
#39
|
|||
|
|||
Sure, if you understand it all to the level that Lynne does then that might be 'very' clear, but to persons like myself it meant absolutely nothing to me. Had we been directed to the plugin manager as a clear and helpful guide for the not so knowledgeable in vbulletin coding would have then we wouldn't have to ask such boring question would we. Seriously, I get sick to death of that sort of tone, why couldn't you have directed us to the plugin manager instead of giving us your sarcasm.
No members have liked this post.
|
#40
|
||||
|
||||
You do know what a smiliey is and means, do you? Now, if I wanted to be ironic or sarcastic about something, I'd point you to the Wikipedia article on emoticons. But I don't, however hard you try to misunderstand me
![]()
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#41
|
||||
|
||||
I added a bit more to the first post including the part about going to the Plugin Manager. However, this article really isn't for the total novice. You need to understand what a condition is and be able to write one.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#42
|
|||
|
|||
I looked but did not find the answer. How do you add a phrase in this code for Sublink 1?
<li><a href="sublink1.php">SubLink 1</a></li> I tried ' . $vbphrase['my_phrase'] .' I tried {vb:rawphrase my_phrase} never mind ... I needed to globalize it No members have liked this post.
|
#43
|
|||
|
|||
What ever level we understand coding Lynne should not matter, I accept my understanding of coding needs improvement, but that's not the point. We are trying to get our heads around vB4, which is no walk in the park and we look to people like yourself for help. You do a fantastic amount of good here and I personally truly appreciate that, but clear and straight forward guides help more than being told we lack understanding.
To cellarius, I apologise, I find myself enduring a great deal of keyboard warriors here and there and I mistook your post as yet another jibe from another coward hiding behind a keyboard. Didn't mean to be offensive and I am sorry for offending you. No members have liked this post.
|
#44
|
||||
|
||||
Neither did I want to mock you or anything, sorry for perhaps coming off like that - so, we're good here
![]() Anyway, I really see where you are coming from, I learned a lot from tutorials like this very one. I understand what you mean, but it is always about finding a middle way in texts like this. There's some basics you need to build upon if you want to do some in-depth explaining, or the tutorials would get overly complex. There's other articles about the plugin system, and even a section in the manual. If one had to explain that every time again, the articles would be cluttered. Finding this middle way is not always easy, tho, and you won't be able to need everyones needs ![]()
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#45
|
|||
|
|||
How can we change the display order of the navbar. Meaning put new items(per this tutorial), so that they show between "blogs" and "whats new"
__________________
ahfb2000.com - HTML - Web Hosting Directory - Webmaster Tools - Webmaster Books Domain Names - PHP Scripts - Over 4000 5000 6000 ... 13,000 member strong Webmaster Forums No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:07.