No Login Style on Albums Page

Hi!

I am upgrading my theme/gallery and I have integrated the Login & Register buttons at the bottom of my page, however the style of the form is lost when clicking the login popup box trigger only on pages supplied by the album.php file.

See here: http://josiehewittphotography.co.uk/newgallery/

I have copied the same bar for the index.php, album.php and image.php and it works on all pages apart from album.php

Any ideas?

My code is below:

`




  • <?php @call_user_func('printUserLogin_out','','');?>

    <?php<br />
    if (!zp_loggedin() && function_exists('printRegistrationForm')) {

    printCustomPageURL(gettext('or Register for this site'), 'register', '', '', '');

    }

    ?>

    <?php printRSSLink('Gallery', ' | ', 'RSS', ' | '); ?>

    <?php printCustomPageURL(gettext("Archive View"), "archive"); ?> |

    <?php<br />
    if (getOption('zp_plugin_contact_form')) {

    printCustomPageURL(gettext('Contact us'), 'contact', '', '', ' | ');

    } ?>

    <?php<br />
    if (function_exists('printFavoritesLink')) {

    printFavoritesLink();

    ?> | <?php<br />
    }

    ?>

    <?php printZenphotoLink(); ?>


  • `

Comments

  • acrylian Administrator, Developer
    Wild guess: css conflicts as I don't see any login/register buttons at all.

    I fear it might exceed a bit the forum to help with such specific custom theme issues especially as the site seems to be no pure Zenphoto site.
  • Hmm, on that page, they are in the little rectangle under the main page section?

    It appears that it just doesn't add a class to a div somewhere, preventing all of the css completely...
  • acrylian Administrator, Developer
    Now I see the link. You clearly have a css priority conflict here. Something overpowers globally what you set probably.
  • fretzl Administrator, Developer
    If you modify a theme then all files you use need to be modified to get a consistent look of the site.
    In your case the album.php and image.php files have been altered to get what you see right now.

    You will also have to modify the register.php, search.php and archive.php files to get the same look.

    Try a search. It will redirect you to the un-modified search page (search.php)
    Click on "Archive View". It will redirect you to the un-modified archive page (archive.php)

    Please also read the theming tutorial.
    http://www.zenphoto.org/news/theming-tutorial
  • fretzl Administrator, Developer
    Sorry. I'm a bit slow.
    I see now what you mean and that is indeed a CSS issue.
Sign In or Register to comment.