0.3 Simple Plus Theme: RSS and CSS

Hi guys,
Having problems with 1.0 beta Simple plus theme, I decided to switch back to the 0.3 version. I added RSS features in index.php and album.php. But when I'm in an album and I click the RSS button, it disables Lightbox and shows a new presentation for the pic i clicked on. I didn't know this presentation but I like it ! Do you know how can I apply the same presentation to all my pictures ?
I use the latest version of Zenphoto: my photography gallery is available on http://www.samysnider.com. Try yourself, hope you will understand my point more than my explanation ;)
By the way is there a way to activate comments for this theme ?
Thanks

Comments

  • Well, I didn't see any RSS button except for the one on my browser address bar - why don't you just disable the Lightbox or just use the simple default theme?

    By the way, I did notice other things on your site that you may not be aware of. When I click on the link on your post it takes me to a sign in for webmail. But if I click on your name it takes me to your site. Also, while at your site, while viewing on the album section if I click on your name up top the address is localhost:8888/zenphoto and it times out.
  • Hi darrellm,
    actually i was talking about the RSS button you see on you browser adress bar, i didn't put any RSS button in the website itself.
    Thanks for reporting "localhost:8888", i solved the problem.
    http://www.samysnider.com is the correct adress, I put a dot at the end of the adress without paying attention.
    I'll take screenshots to show you what I really want, hope you can help me when i post the pics
    Thanks
  • When you click on the RSS button in your browser adress bar, you normally get this http://tractica.free.fr/img1.png
    when you click on any picture you obtain this http://tractica.free.fr/img2.png >> it strangely desactivates the Lightbox effect, and send you to the picture you clicked on with a different design . How can I have this design for all my pics ?

    I tried to delete this line "<script type="text/javascript" src="<?php echo $_zp_themeroot ?>/js/slimbox.js"></script>" from the album.php file located in the simple_plus theme folder, but when i click on any pic of one of the albums, my browser sends me to the full size image without the presentation you can see on http://tractica.free.fr/img2.png
  • acrylian Administrator, Developer
    Of course I can't help with third party themes but some quick notes:
    img1.png is Safari's RSS mode and has nothing to do with Zenphoto. Safari shows all rss feeds that way. You can set it to open another reader in the options.

    img2.png is the normal "sized image" page you see if you click on an thumbnail and don't use any lightbox variants.
  • Hi acrylian, as i said if i delete Slimbox "<link rel="stylesheet" href="<?php echo $_zp_themeroot ?>/css/slimbox.css" type="text/css" media="screen" />" from the album.php , i only get the full image size ( like you can see here http://tractica.free.fr/img3.png ) whereas i want the same template seen on http://tractica.free.fr/img2.png )
    do you know any solution ?
  • acrylian Administrator, Developer
    I am not familiar with the Simple theme, but it seems that it is setup to be used with slimbox only. You would have to change the album.php page to link to image.php instead of the full size image as the slimbox needs. Please take a look at our theming tutorial and/or at one of the distributed themes.
  • Thanks for your help, i'll check the tutorial :)
  • Thanks to acrylian i found the solution, i'll post it later
  • So here is the solution, it works with Simple plus theme 0.3 Version:

    1/ Open the album.php file located in your simple plus theme folder
    2/in the head section, you should have this line

    `/js/slimbox.js"> `

    Comment this line so it desactivates the lightbox effect, and save the changes you made

    ``

    3/Open image.php, and look for `
    ` , you should see this line

    ` <?php echo getFullImageURL();?>" title="<?php echo getImageTitle();?>"> <?php printDefaultSizedImage(getImageTitle()); ?> `

    4/ Comment this line

    5/ Add this line in the `
    ` box :
    ` image" title="<?php echo getImageTitle();?>"> `

    6/ You're done, hope it helps :)
Sign In or Register to comment.