![]() |
|
How do I create a custom error page? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How do I create a custom error page? (/thread-3365.html) |
How do I create a custom error page? - Pierrot - 2008-07-25 I'd like to replace the ZP error page with something of my own. I can't, however seep to find the file to replace. How would I go about replacing the default text with a graphic of my own? Thanks! How do I create a custom error page? - acrylian - 2008-07-25 You mean instead the zenphoto error? I believe there is currently no way except hacking some core files. There was a thread about that somewhere but I don't remember where. How do I create a custom error page? - Pierrot - 2008-07-25 Thanks acrylian, I've been having a lot of trouble with my gallery pages not being indexed so I've decide to try a few things. To start with I turned ZP mod_rewrite off. As a lot of my artists have linked to their own pages I am expecting a ton of error messages. The ZP error I'm talking about looks like this... Quote:Zenphoto Error: the requested object was not found. Please go back and try again. Just for reference, my permalinks problem as I posted it in the forum is below... Quote:I'd like to weigh in here. I've been looking for a solution to my ZP images not being indexed by google for about 4 months (as it turns out - ever since I included my WP header!). I received a lot of advice about alt tags etc on this forum and the other. After I posted my 404 errors question and got Chief's reply it all started to make sense.
So it's an issue with mod_rewrite. As I... a) Used Ruzee's (ZP Developer recommended) include. ... all of my ZP pages came back as errors. So, what can we do about it? How do we make a b c consistent with each other? Developers - we look to you for guidance here! We want to keep our headers, pretty permalinks and be included in the Google club. What should we do? I have disabled mod_rewrite of the time being. I want to test it out. Have a look at my site if you like. Some of the links may be temporarily broken. I'm more than willing to be a try out any thought you may have as long as it allows me to keep my theme and my header include! How do I create a custom error page? - Pierrot - 2008-07-27 I found the 404 code in the functions-controller.php file... ' // Error message for objects not found. I would like to redirect this to my websites general error page. If that file were http://phauxshow.com/404.php what would I have to change to the code above? How do I create a custom error page? - sbillard - 2008-07-28 In tonight's nightly build is an implementation that lets Themse create their own error pages. You can look at the example theme for how to do this. Create a page named 404.php and place it in your theme folder. All the Zenphoto package themes will come wiht a custom error page, so if you are using one of them just modify the page to suit your needs. To redirect to your site standard 404 page just place How do I create a custom error page? - Pierrot - 2008-07-29 Guys, thank you! Seriously, it is a pleasure using ZenPhoto! P How do I create a custom error page? - eddiejanzer - 2008-08-02 I just discovered this tonight (404 page template). I'm using 1.6 and prefer not to upgrade because of customizing. I can't follow "where" to put ' How do I create a custom error page? - eddiejanzer - 2008-08-02 wow, figured it out. I was trying to resolve this a month ago, done! Thanks for the great support and zenphoto |