I'm trying to set up the square template on my s9y install, but for some reason when I'm using it I can't seem to get previews while making or editing an entry. When I hit the preview button, I'll see a quick flash of the preview, and then it disappears, and "Serendipity is now creating the preview of your entry..." is in it's place.
A similar thing happens when I go to make a post -- the message about making XML-RPC calls stays up forever, even after the post has been successfully submitted. That doesn't happen when I have another theme on, only with square.
I'm a little new to Serendipity -- what's the best way to go about troubleshooting a problem like this?
Square template doesn't preview?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Square template doesn't preview?
Hi!
Where did you download the square template from?
It might be that something is wrong with the preview_iframe.tpl file, this one is reponsible for displaying "frontend" content in the backend...
Best regards,
Garvin
Where did you download the square template from?
It might be that something is wrong with the preview_iframe.tpl file, this one is reponsible for displaying "frontend" content in the backend...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hi Garvin; thanks for the quick reply.
I downloaded through Spartacus. Just to make sure nothing went wrong, I just deleted it and my package_template.xml file and re-downloaded. It looks like there is no preview_iframe.tpl file in there. Is that typical for a theme, or is something missing from this one?
I downloaded through Spartacus. Just to make sure nothing went wrong, I just deleted it and my package_template.xml file and re-downloaded. It looks like there is no preview_iframe.tpl file in there. Is that typical for a theme, or is something missing from this one?
Hi
I don't usually include a preview_iframe.tpl in my templates as it already exists in the default template directory.
However, with the square template, as there is no div#mainpane the preview can collapse so I've amended the code in the preview_iframe.tpl for 'square' so that it will work.
You can download it from my themes site. You should decompress it and upload it to your templates/square/ directory.
HTH
Dave
I don't usually include a preview_iframe.tpl in my templates as it already exists in the default template directory.
However, with the square template, as there is no div#mainpane the preview can collapse so I've amended the code in the preview_iframe.tpl for 'square' so that it will work.
You can download it from my themes site. You should decompress it and upload it to your templates/square/ directory.
HTH
Dave
Last edited by d_cee on Thu Mar 22, 2007 6:09 pm, edited 2 times in total.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
(Also committed to spartacus now)
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/