So, I have some password-protected albums. It used to be that when a user clicked on a password-protected album, the log-in form was displayed within my customized theme.
I'm not sure why, but for some reason the log-in form is now displayed on a plain white background with no styling whatsoever on the page.
Basically, the form used to load in my template, but now it loads in a separate blank page. However, the url stays the same.
I think this happened shortly after adding zenpage to my zenphoto install. Has anyone else experienced this? Any suggestions on getting the form back inside of the theme? Thanks for your help.
VH
Comments
@acrylian - I looked at the files and modified mine. The only changes I noticed were:
1.) news.php:
`if(is_NewsArticle()) {`
changed to
`if(is_NewsArticle() AND !checkforPassword()) {`
2.) pages.php:
`<?php if(!checkforPassword()) { ?>`
added right after the opening tag for the content-left div AND
`<?php } // password check end ?>`
added right before the ending tag for the content-left div.
Did I miss something, because I'm still getting the same behavior as before. I'd rather not post links to the gallery, but I would gladly email them so you can see exactly what I'm talking about. Thanks again.
However, I have found something new. On all the articles that are long enough to necessitate the "Read more" link, the html tags are being stripped from the text of the article when viewed on the front end. Without the <p> tags, all the paragraphs are running together. This was not happening before.
Which file should I check? Thanks!
By the way, I think you have done an excellent job with zenpage (and zenphoto in general of course) so far. It works perfectly with gallery-focused websites. Big up!
Must be something else gonig on. What exactly is the text as truncated?
@sbillard: True, I forgot that I had thought about that and add a </p> manually after the truncation. Not sure why that can get lost.