changing the side bar views in albums
khamilton
Joined: 2005-08-21
Posts: 5 |
Posted: Sat, 2005-09-17 15:43 |
Hi all Gallery version = 2.0-rc-1 core 0.9.34 I think i broke something lol. in my case, the sidebar.tpl contents didnt look right, so i moved all those options to below the thumbnails i did this by just moving the reference to sidebar.tpl down the page. is there another way i can tell the sidebar.tpl not to include the random image block? i looked at teh code for sidebar.tpl <div id="gsSidebar" class="gcBorder1"> {/foreach} so i know it is just pulling all the blocks that are supposed to be included in sidebar.tpl. in the end i guess my question is: a)how can i either fix the theme portion so i can go to site admin and turn different blocks on/off (preffered) my install is at http://www.windsofshit.ca/gallery2.php if you want to see what the admin options look like, i dont have a problem with givin the user/pass out to individuals, i jsut dont want to post it for all to see. thanks a million khamilton |
|
Posts: 16504
This looks like an integration issue to me. Your standalone install looks fine in FF and IE http://www.windsofshit.ca/addons/gallery2/main.php
Your integration part doesn't appear to grab any of the theme info, however, your standalone looks correct. If this is suppose to be an integrated install let me know and I'll move this topic to the G2 Integrations forum
Posts: 5
yes, this is supposed to be an integrated installation
i didnt think to go to the standalone version admin and try removing random image block. i went in and changed it that way,and it did the trick.
so i am guessing something is wrong with my integration in the site admin section, because all theme options show up when i use the standalone.
either way this "individual" prob is solved, now that i realize the site admin problem only happens when im using the integrated portion i will look into fixing that part.
the rest of my integration stuff seems to be working ok thats why i posted it under customizations, feel free to move it over though if you like.
Posts: 16504
No problem. You'll probably want to go back and edit your original post to post your system information as well as the system you're trying to integrate with (i.e. Drupal, phpnuke, etc)
FAQ: What information is required when I ask for help in the forums?
Posts: 32509
by changing template files, you can't screw something up. it won't affect the database or so.
just revert to the original files from the gallery2 package.
to your questions a) or b):
i really don't understand why you want to edit the template just to remove the image block.
this can be done in site admin -> themes -> matrix (or your theme name). just remove the block.
so i'd revert to the original sidebar.tpl and apply the other changes again that you made to it, but i'd keep the foreach loop.
on another note: you don't have to use the foreach loop, you can explicitely call all blocks you wish to display with the {g->block command.
@nivekiam: this doesn't really have something to do with integration or at least i fail to see it. since all the above i wrote applies to g2 standalone too.
Posts: 16504
I wasn't sure. It seemed to be more of an integration issue to me since his standalone worked, but the integrated G2 didn't. Feel free to move it where every you feel it's best suited.
Posts: 5
thanks for the replies.
I am integrating gallery into my own website- not using any cms system.
valiant: the reason i couldnt remove the block was because when i went to the site admin (through my emapp - gallery2.php) to remove them, all the boxes were completely empty, the dropdowns just said "choose a block" with no other options.
however, if i go right to addons/gallery2/main.php - it all shows up fine
i will replace the template files and see what i changed to make it dissappear.
Posts: 5
Hi there,
I have a problem like this :
I want to remove the EXIF from sidebar area and put a DHTML quick link on the sidebar which at the moment is at the bottom of the gallery. if I go to admin\ themes\matrix and try to remove and add the required things in the blocks it appears to be happening but upon saving nothing actually happens to the gallery. if I check the settings again at admin\themes\matrix it remains the same. How to change this.
My settings are:
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.4.4 cgi
Webserver = Apache Webserver
Database = mysql 4.1.21-standard, lock.system=flock
Toolkits = Exif, Getid3, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux pamal.lunarpages.com 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 00:17:26 CDT 2006 i686
Default theme = matrix
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
please help
Regards,