I'm sorry I tried everything but I really don't understand what I've done wrong! Can anyone tell me why my "gallery" behaves like a normal forum.
I created the category - to behave like a gallery category
then the forum - to behave like a gallery
I see the upload button but it works like a "new post" button.
I put the id of the category for the navbar, I said yes to use other layouts...
I don't know what else I should do...
Here's the link to the site I'm building: http://www.ticinofelino.com
Thanks for your help... :surprised:
Edit: it works now thanks!
click install
Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?
Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?
Thanks
It's very easy, I followed the instructions from Christianb that he posted some time ago, I quote them here for you.
Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how...
Quote:
Originally Posted by christianb
No problem
What I did was went to the VBA CMPS => Add module => Module Type [Template]
Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:
PHP Code:
<if condition="$vboptions['show_latest']==1">
<tr>
<td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
</tr>
<tr>$latestgallery
</if>
<if condition="$vboptions['show_random']==1">
<tr>
<td colspan=$gal_num_rows align="center">Random pictures from the gallery:
</tr>
<tr>
$random_gallery
</tr>
</if>
Use Module Shell Template - Yes
Module Link: (I used this and put it directly to my gallery (same as the link for the navbar - remember your forum ID)
Permissions are up to you - I disallow unregistered and banned users to save bandwidth
Simple as that. Thanks.
It still doesn't show up the actual thumbnails there though (it does when I include the Gallery on the Forum main page), but I guess I will working around that.
In the process I'll see where to change the title you need and let you know.
Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how...
Now, from what I've seen (btw, I've spent the last two hours going through every bit of everything - beyond just Gallery thing - to see why the pop up shows for each picture the page loads, and in the end none load at all, and just as I was about to reinstall everything (as if that would bring real change), I figured I should check the server settings, and lo and behold, all image folders were locked by default. Awesome hosting providers these days, awesome).
As for your problem, just change the Module Title
What I did was went to the VBA CMPS => Add module => Module Type [Template] Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:
<if condition="$vboptions['show_latest']==1">
<tr>
<td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
</tr>
<tr>$latestgallery
</if>
<if condition="$vboptions['show_random']==1">
<tr>
<td colspan=$gal_num_rows align="center">Random pictures from the gallery:
</tr>
<tr>
$random_gallery
</tr>
</if>
when creating the Gallery module. The longer one defines the class of the td element (that definition for class tcat in this case, holds the properties of the layout of all those blue lines across modules).
So you need to change its from
Code:
class="tcat"
to say
Code:
class="tcatgallery"
and from there on create the tcatgallery in css and define its properties (if you want background completely gone, delete all mention of the background, but then it will be transparent and will have the table background as its own, or define any new bacground - either color or gradient picture for example).
I am not sure where to find the css definition of tcat, but I believe if you search for tcat in AdminCP> Styles & Templates > Search in Templates, you should locate it.
The Gallery appears in my forum, the link in the nav bar works like it should but when I try to post a picture, I only see the standard comment field, like in a normal forum.