|
#1
|
||||
|
||||
|
Kill the Post Comment Redirect Page - Kill! Kill!
Just kidding.
Well, not really. One thing I really don't like in most pixelpost templates is the annoying gray screen that shows up after you leave a comment. How do I ditch that sucker? I am using a version of Simplicious on 1.7.1 You can view it here. Any help is greatly appreciated - I'm a newbie here. |
|
#2
|
|||
|
|||
|
The dreaded grey screen.
I hear you. I'm not a fan of the big blank screen either. You could change that screen by editing the includes/functions_comments.php file from the core. I know the PP developers are not big on the idea of hacking the core files, but I simply added this line of code with the the other meta tag lines at the bottom of that page.
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=<?PHP echo "'$_SERVER[HTTP_REFERER]'>"; ?> It allows for an instant redirectioon back to the photo that was commented on. Another way to approach this would be to redirect to some kind of thankyou_template.html page that fits the look of your site. But that is more involved than this one line paste!
|
|
#3
|
||||
|
||||
|
Re: the gray screen
I know, I always hated it on other photoblogs before I started messing with pp.
Now I have it on my new test site. Hmmm. |
|
#4
|
||||
|
||||
|
This question has been asked several times before - the answer can be found in post #2 of this thread - add one line of code to your comment_template.html somewhere between the opening and closing form tags and your thank you page goes away.
__________________
My photoblog: KP Images |
|
#5
|
||||
|
||||
|
Thanks
You are my hero.
|
|
#6
|
||||
|
||||
|
I just stuck that code in the Siplicious image_template just before the </form> tag and voila!
Thanks for your help! |
|
#7
|
||||
|
||||
|
Read! Read! Read! The manual (even if it is hidden in the change-log
(i'll document it correctly asap))OR Search! Search! Search! The forum. The forum knows ALL . . .believe me ![]() Anyway, as the question has been answer, I'll be closing the thread. Enjoy Pixelpost with your clean comment submissions
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#8
|
||||
|
||||
|
I added it to the FAQ:
http://www.pixelpost.org/docs/FAQ/Fr...lated#ThankYou |
| Thread Closed |
| Thread Tools | |
|
|