Search found 10 matches

by ppalazzo
Thu Dec 22, 2005 10:58 pm
Forum: General discussions
Topic: php-include on the blog page
Replies: 6
Views: 3850

Thanks!
by ppalazzo
Thu Dec 22, 2005 9:33 pm
Forum: General discussions
Topic: php-include on the blog page
Replies: 6
Views: 3850

Out of the box (so to speak), StaticPage does not allow php commands to be parsed as such, so that when I insert some php code into the page what I get at the output is the code printed out on the screen, not the result of the command. Is this because StaticPage uses a Smarty *.tpl file to output ...
by ppalazzo
Thu Dec 22, 2005 6:28 pm
Forum: General discussions
Topic: php-include on the blog page
Replies: 6
Views: 3850

Staticpage is great! But where should I put the config file that enables Serendipity to parse php commands?
by ppalazzo
Wed Dec 21, 2005 3:33 am
Forum: General discussions
Topic: php-include on the blog page
Replies: 6
Views: 3850

php-include on the blog page

I have a blog:
http://www.palazzo.arq.br

I really tried to get a hang of Smarty. But, after weeks of struggle, it still looked like Greek to me, so I resorted to editing the index.php file to customize my blog.

Now, there are some static pages I'd like to display where the blog entries are. So I ...
by ppalazzo
Wed Aug 17, 2005 3:30 am
Forum: General discussions
Topic: Improving Documentation - Smarty / Embedding is too hard!
Replies: 14
Views: 11752

On the subject of embedding, I found out by playing around with code snippets that the documentation makes it seem harder than it actually is. So I wrote an extra-simple manual to match the extra-simple way in which I solved the problem:


1. Strip the index.tpl file in the template folder of ...
by ppalazzo
Wed Aug 17, 2005 1:48 am
Forum: Installation
Topic: [resolved] No styles in Windows installation
Replies: 8
Views: 8726

Got it. Thanks a lot!
by ppalazzo
Tue Aug 16, 2005 9:41 pm
Forum: Installation
Topic: [resolved] No styles in Windows installation
Replies: 8
Views: 8726

Hi; I am getting the following error whenever I put {TEMPLATE_PATH} in my index.tpl:

Fatal error: Smarty error: [in /home/palazzo/www/templates/imagomundi/index.tpl line 33]: syntax error: unrecognized tag 'TEMPLATE_PATH' (Smarty_Compiler.class.php, line 580) in /home/palazzo/www/bundled-libs ...
by ppalazzo
Tue Aug 16, 2005 7:34 pm
Forum: Installation
Topic: [resolved] No styles in Windows installation
Replies: 8
Views: 8726

Is there a workaround for this, i.e., I do not have privileges on .htaccess and the web host refuses to grant them. How can I apply custom styles? Also, I get an error when I use the {TEMPLATE_PATH} tag on my index.tpl.

http://www.palazzo.arq.br/
by ppalazzo
Wed Sep 29, 2004 1:57 am
Forum: General discussions
Topic: embedding doesn't like plugins/comments
Replies: 2
Views: 6102

Gotcha. Thanks for the answer!
by ppalazzo
Sun Sep 26, 2004 6:15 am
Forum: General discussions
Topic: embedding doesn't like plugins/comments
Replies: 2
Views: 6102

embedding doesn't like plugins/comments

I switched serendipity to embedded at my website:
http://www.palazzo.arq.br
and suddenly no plugins worked, and nothing would happen when I tried to post comments, read the extendet text of a post, and check out trackbacks. The code I have on my layout.php is exactly what garvin suggested on this ...