Share » Forums » Developer » how to override the article template

how to override the article template

how to override the article template

Monday 17 March 2008 6:10:02 am - 4 replies

Author Message

Clemens T

Monday 17 March 2008 6:23:57 am

Try clearing the cache (via admin interface and the setup tab).

Does it work?

justin kazadi

Monday 17 March 2008 6:44:54 am

hello,

I have claer the cashes , restart my computer but nothings special.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Pål Messenlien

Monday 17 March 2008 7:24:47 am

Check in the same override.ini.append.php file if there is another override for the article class... look for [article] in the file. If there is one, this one overrides your new override.

--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------

justin kazadi

Monday 17 March 2008 7:56:35 am

thanks Pål Messenlien,

I think it work because now i have an error in my code like this :

Error: eZTemplate:eZTemplateCompiler

PHP variable $var['body'] does not exist, cannot fetch the value.

Error: eZTemplate:eZTemplateCompiler

PHP variable $var is not an object, cannot fetch content()

The problem now is i don't know how to display :

- the name of author ,

- the intro of an article ,

-the last modified date ,

- the body of article

for the article called .

my code for do this is in my first message .

please help me.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu