View Full Version : Side Column on Links Pages
jim6763nva
02-17-2007, 11:31 AM
I was thinking of adding a left or right side column to the links pages (not necessarily for the vba CMPS but for other uses such as ads or moving the Links directory navbar to a side navbar. What would be the best way of going doing this?
Thanks,
Jim
Brian
02-17-2007, 01:24 PM
Assuming you want the columns to be on every page in the links directory, your best bet would probably be to modify the 'adv_links_navbar' template so that it looks something like this:
<table width="100%">
<tr>
<td width="200">
Code for your left column here
</td>
<td width="100%">
Then you'd want to edit your 'adv_links_footer' template to add the code to end that table and such.
</td></tr></table>
jim6763nva
02-17-2007, 05:59 PM
Thanks for the code Brian - That worked great!
Jim
jim6763nva
02-17-2007, 07:24 PM
Ok, I managed to move the navbar to the left column, but I'm wondering how I can improve this? Is there a way to change the dropdown menus so they fly out to the right?
Thanks,
Brian
02-18-2007, 04:00 PM
I don't belive vB's menu system allows for side menus, so you'd probably have to use some different javascript for something like that.
Or another option might be to change the code around a bit to remove the menus and just put the links for each item within the navigation part. Take a look at the Quick Navigation module on our vBa Blogicles demo (http://www.vbadvanced.com/blogicles/) for an example of what I mean. I'm pretty sure you could do the same with vBa Links fairly easily by moving the variables and such in the 'links_navbar' template, then changing the 'adv_links_navbar_newestbits' to remove the <tr> and <td> tags.
jim6763nva
02-19-2007, 12:08 PM
Ok, that look cool. I'll give that a shot. I was also thinking of doing some javascript menus with overlib, so I'm gonna see if I can find any examples using that.
Thanks,
Jim
Lionel
02-28-2007, 10:29 PM
I did mine with vbadvanced. 2 Lines of code
djroppolo
05-09-2007, 10:03 PM
I did mine with vbadvanced. 2 Lines of code
I just attempted that to no avail. I added the
define('VBA_PORTAL', true);
define('VBA_PAGE', 'forumhome');
Code in index.php but doesn't seem to be working like it does on forumhome...
Any clues? Brian?
Brian
05-10-2007, 09:25 AM
What 'index.php' file did you add that code to?
djroppolo
05-10-2007, 10:54 AM
/links/index.php
Is that the wrong file for the links main page?
Brian
05-10-2007, 11:05 AM
So just to be sure... You have already made the other changes from the users manaul and have your vBulletin index.php file integrated successfully, right?
Which site is it that you're having a problem with?
djroppolo
05-11-2007, 08:34 AM
So just to be sure... You have already made the other changes from the users manaul and have your vBulletin index.php file integrated successfully, right?
Which site is it that you're having a problem with?
Yeah man... I have that same code on my forumhome using the instructions in the manual and its working fine as it is on about 4 of my other sites... for some reason, i just can't get it to work on the /links page...
http://www.BatonRougeToday.com/links
Thanks bro
Brian
05-11-2007, 11:39 AM
I see the CMPS copyright notice, so it looks like the integration is being done. Can you double check the page that you've integrated the links directory with and make sure that there are some other modules enabled there? It *looks* like there may just not be any active on that page. If that doesn't help, would you mind submitting a support ticket via the Members' Area here?
djroppolo
05-11-2007, 12:05 PM
I see the CMPS copyright notice, so it looks like the integration is being done. Can you double check the page that you've integrated the links directory with and make sure that there are some other modules enabled there? It *looks* like there may just not be any active on that page. If that doesn't help, would you mind submitting a support ticket via the Members' Area here?
Yeah there are a bunch of modules active... i'll submit the ticket though man.. thanks
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.