I want to embed the above php code somewhere on the weblog page, but I cannot seem to find a nice way to accomplish this. It is basically a general question regarding embedded php code.
Any idea ?
A proper place would be your templates/bla/layout.php file. Or depending on your embed method, if you use output-buffer redirection (as described in the docs) inside your $serendipity['indexFile'].
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/
I have tried to follow these instructions, but cannot find my /templates/bla/layout.php file. The folder bla doesn't seem to exist and I have looked inside my template (blue) folder and layout.php doesn't seem to exist.
I have another bit of php code I would like to insert on the index page (a counter). Is this the right way of doing it??