4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: fredfery on April 12, 2002, 07:46:09 AM
-
hello
That's what I am trying to do:
I want to modify the templates (home.html, and details.html) to customise to my needs
I don't need the user login box, but want to add extra url in the same <td> instead (about this site, contact us...)
In the detail.html template, I need to remove the userbox tag {user_box} and move down a bit the {description} tag
It doens't work I get this error message:
Parse error: parse error in /Library/WebServer/Documents/4images/includes/template.php(130) : eval()'d code on line 122
What I don't understand is when I replace the old template with the backed up version the error is still there..
any ideas?
Frederic
-
Do you have PHP-Code in your Templates? Be sure that this Code is intact and the PHP Starttag and Endtag is not in the same line.
not correct:
<?php echo "test" ?>
correct:
<?php
echo "test";
?>
Jan
-
Jan
I am not even trying to make a template
I just tried to modify the default templates
Just removing a tag in the home.html or details.html was causing the error
-
There is an example php-Code in all the templates:
<?php
echo date("d.m.Y, H:i");
?>
This code shows only the actual date. Check if this code is already intact.
Jan
-
in which template I should check??
I have checked in details.php and everything seems to be ok, i was only trying to modify details.html not php
-
Yes, i'm talking about details.html! Check the code i posted above in this file.
Jan
-
Thanks Jan
the php code was actually intact, but I have found that removing it from the templates was the solution!!!
ta
Frederic