Hello,
I haveb embedded the gallery2 into my existing site. I would like to hide the links to the following that show up underneath each image:
Add Album to Cart
Date
and View Count
Also, how can I hide the page navigation buttons at the top, but leave them in tact for the bottom of each page? I don't want sidebar, or the little icon to do the slideshow. I have looked and looked all over the configuration menus and documentation and don't see how to control those from appearing.
Thanks again ,great product!
--GREG--
Posts: 8339
link to offending page?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 43
This is what I want to hide..... See attached. THANKS!
Posts: 8339
Ah ha! I still have the page I made for you on my embed samples page.
I use CSS the most to hide items w/out editing gallery's theme directly.
within the adjustment styles block in photos.php:
this technique can be used to hide any unwanted elements.
Or edit the theme you are using.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 43
Hi Suprsidr,
I put that code in my photos.php file and it's not changing anything.... I have changed quite a lot of my files since I last worked on it in January. One thing I did is make all my HTM files into php and call the navbar so I don't have to rely so much on dreamweaver and templates. I also put reinstalled gallery into the /gallery subdirectory. I've been learning a lot, and thanks again not only to you but all of those who have helped me! It still seems to me for what I am trying to do that the earler version, gallery2, is still the best option.
Here is what my photos.php code currently looks like:
Posts: 8339
the <style> tag belongs between the <head></head>
and the code I suggested contains illegal continuation characters ...
w/out the "continuation ..."
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 43
is this better?
other thing i don't know why is happening when i do the slideshow it does pop up but i have to scroll way down to see it.
http://www.4-tacres.com/gallery/photos.php
Posts: 43
DOH! I found a problem! If I use that code, and in Firefox, it completely HIDES the navigation --- I just want it to hide the one on top. Another peculiar thing I noticed, in I.E. it hides DIFFERENT things than is hidden in Firefox.
Posts: 8339
Welcome to web design.
IE ignores most of that CSS and places that crappy piclensLite slideshow below the page. Whereas better browsers work as expected.
new strategy
gallery2/themes/clear/templates/local/album.tpl <- you may need to copy the original here
line ~51 remove this block:
and change that css to read:
if you want to remove the navigator from the photo pages, goto gallery admin -> themes -> Clear -> uncheck "Show top photo navigator "
As for the slideshow blunder in IE update to my latest.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 43
Hello,
Thanks again for all the help ... I unchecked the option to show the navigation at the top in the site admin for gallery - no change .... Would you mind logging into my site if I gave you a login so you can see it? I'm wondering if the CSS I have in my navbar might be throwing this all off? I made a common navbar, called menubar_common.php that I hardcoded directly the CSS into the file because for some reason my embedded photos.php screwed up my navigation buttons and made the fonts really big. The only way I could "fix" this was to put the CSS right into the the menubar_common.php file. If I understand correctly, CSS hardcoded directly into the HTML or PHP file takes the highest precedence....
Posts: 43
Hi Again,
Trying to figure out the slideshow problem now ..... Where do I extract the files? My gallery is installed in /gallery not /gallery2. Thank You!
Posts: 8339
PM me with gallery admin login and ftp login and I will fix this.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2