I have been having trouble with the gallery navbar... (also in beta2
Cosmetic no nos and sessionurl errors causing other errors... (like the category not being automatically selected when clicking upload in a category or me being logged out in my office, because we have cookies disabled)
I fixed the template adding a little tweak...
what was fixed:
- Sessionurl errors: replaced ?$session[sessionurl] with $session[sessionurl_q] where needed
- Sessionurl errors: replaced ?$session[sessionurl]&do... with ?$session[sessionurl]do.. where needed
- Replaced & with & where needed
- Changed id tag location from <td or <span to <a tag (this made in some layouts the dropdown menu not being centered under the link for monitors over 24" and screen resolutions like 1920x1200). As the dropdownbutton is now underlined by the link (like in vbulletin navbar), i added a class called gbar to the links so if you want you can add a css with text-decoration:none to the vbulletin css that will remove it.
here it is. Just replace the old template
adv_gallery_navbar in the template manager with the one below for the style you want. If you dont want it anymore, just revert the template and you will have the original.
(there is no screenshot as you will not see any difference
but check the page at w3c.org it wont validate without the changes)
Code:
Content visible to verified customers only.
if the underlined links disturb you, you can add in the extra css in the style manager:
a.gbar {
text-decoration:none;
}
-------------------
What still can be done.. to remove a little markup.. is to remove the <span class="smallfont"> sourrounding each link..
You would then have to add the smallfont class to the td tag changing
<td class="alt1"
to
<td class="alt1 smallfont"
for every <td tag
I have not checked if this would have some consequences.. thats why i did not implement it here..
Luc
PS:
Todo:
there is one todo left.. forgot about that one..
IF a user cannot create a membercat.. hi still has the menu item "catadmin" ... of course if he clicks it.. he gets a no permission ... (which is completely correct) but...
I would like to remove it, if a user does not have permissions, he shouldn't even have the possibility to click it..