 | |  | | | vBGallery How Do I...? Need help figuring out how to do something with PhotoPost vBGallery? Post here to get help. |
November 12th, 2006, 08:17 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
| <If condition> To Change To Gallery Header?
I used to use:
<if condition="VBA_SCRIPT == 'gallery'">
to toggle my gallery header. This no longer works. Is there another way?
Thanks so much,
Sarah
|
| |
November 13th, 2006, 02:18 AM
|
#2 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2006 Location: Yorkshire
Posts: 603
|
I use Code: Content visible to verified customers only.
To show something on the index page only...
|
| |
November 13th, 2006, 01:28 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
|
Thanks Sybaris, I'll give that a try.
In the meantime, any ideas on how to show one header for the forums and another for the gallery?
|
| |
November 13th, 2006, 03:48 PM
|
#4 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
vbgallery 2.1, 1.1
- They have the option to choose a custom style for the gallery and for each category.
AdminCP => vBGallery => Modify Settings
- Main Options
|
| |
November 13th, 2006, 07:29 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
|
I don't think that solves my problem. If it does, I'm not sure I understand how. I guess I will have to re-code my templates.
|
| |
November 14th, 2006, 07:42 AM
|
#6 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Styles & Templates / The Style Manager Create a child style under your main style. This child style will have all the the custom templates created in your main style.
You can re-code the child style as you wish (colors, images, template changes). You can then set the gallery to use the child style.
|
| |
November 14th, 2006, 06:49 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
|
Great, thanks. I'll give that a try!
|
| |
November 14th, 2006, 07:00 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
|
It works, if I go into each category and manually set an override. I have 20-some categories though, so that kinda sucks. Then, the slideshow header is broken, along with the main page header.
It's been 2 days now and I haven't gotten this resolved .... back to my original idea ... is there any way to modify this script so I can get my gallery running properly?
<if condition="VBA_SCRIPT == 'gallery'">
|
| |
November 14th, 2006, 08:36 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Oct 2004 Location: Florida
Posts: 318
| |
| |
November 14th, 2006, 09:49 PM
|
#10 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote:
Originally Posted by ricker It works, if I go into each category and manually set an override. I have 20-some categories though, so that kinda sucks. Then, the slideshow header is broken, along with the main page header.
It's been 2 days now and I haven't gotten this resolved .... back to my original idea ... is there any way to modify this script so I can get my gallery running properly?
<if condition="VBA_SCRIPT == 'gallery'"> | There is 2 overrides in the gallery.
- Gallery level
- Category level
Main settings of the gallery. AdminCP => vBGallery => Modify Settings
- Main Options
-- Default Style (choose)
-- Allow Users To Change Styles (yes/no)
This will change the default style the gallery uses. This includes each category. If you have a 3rd style (custom theme related to the subject) you can edit the category and use that style vs. the default gallery style.
The forums has its default style, and each forum has a choice of default or custom.
The gallery has a choice of default forums style or custom default, and each category has a choice of gallery default (if enabled else forum default) or custom style.
This should be in every file that shows an image. Code: Content visible to verified customers only.
Code: Content visible to verified customers only.
Last edited by Zachariah; November 14th, 2006 at 10:02 PM.
|
| |
November 15th, 2006, 01:16 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Apple Valley, CA
Posts: 46
|
Ok, thanks, I'll give this a try. Maybe I'm missing one of those codes in my template from fooling around with this frantically.
*edit*
Apparently I was just missing the option to force the stylesheet. Yay! Thanks for the help.
Does this version have documentation out?
Last edited by ricker; November 15th, 2006 at 01:27 AM.
|
| |
November 15th, 2006, 11:34 AM
|
#12 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| Quote:
Originally Posted by ricker Does this version have documentation out? | - I am working on that as I go. I have started by adding comments in the php files. I'll yell @ the guys about starting a PDF, CHM, On-line.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:56 AM. | |