Search found 4 matches

by tiberian
Sun Jan 30, 2005 11:44 am
Forum: Bugs
Topic: [0.8] Another Smarty Variable
Replies: 1
Views: 2785

[0.8] Another Smarty Variable

Hi!

It is not realy a bug, more a feature request (please move the thread if it´s missposted)
I startet to develop a new Style for serendipity 0.8 - the problem is the embedding of images. The Template needs a variable with the path of the template in it. Example
index.tpl
<img src="img/banner ...
by tiberian
Fri Jan 28, 2005 4:43 pm
Forum: Installation
Topic: Problems with embedded Layout
Replies: 5
Views: 5686

I am really sorry but I don´t get it.
I checked all chdirs (via getcwd)
echo getcwd();
include_once(serendipity_getTemplateFile('layout.php', 'serendipityPath'));
That´s all right. It outputs the serendipity root dir (blog/)

What is about the config? Do I have to set baseURL to http://mydomain ...
by tiberian
Thu Jan 27, 2005 7:14 pm
Forum: Installation
Topic: Problems with embedded Layout
Replies: 5
Views: 5686

Re: Problems with embedded Layout

You should go the "wrapper" way....

I thought, I did ;)
I missunderstood the wrapper way a little bit, but now I got the blog in my Layout. Thanks for that. But now I get the following error
Warning: main() [function.include]: Failed opening '' for inclusion (include_path='/www/htdocs ...
by tiberian
Thu Jan 27, 2005 10:03 am
Forum: Installation
Topic: Problems with embedded Layout
Replies: 5
Views: 5686

Problems with embedded Layout

Hi out there!

I want to use the serendipity blog on my website. But i have several Problems with making it work in my Homepage. I am using an own written CMS (using Smarty as well) called viá index.php?fetchId=3

The Blog is in the subfolder blog/
Now have a look @ my index.php
<?php //blog ...