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
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.
It appears that it just doesn't add a class to a div somewhere, preventing all of the css completely...
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
I see now what you mean and that is indeed a CSS issue.