Forums / Setup & design / aricle design
hugo meloni
Friday 23 May 2008 5:48:03 am
hi, I am building a website on ezpublish and I have a problem.I want to know which template is used to display pictures in an article. I need to override it because the text and the pictures are in differents markers.
thanks
Andreas Kaiser
Friday 23 May 2008 10:37:11 am
The best is to check what templates are used with the "debug output - List of used templates".
Anyway, i think the original image template to override is:
- design/standard/templates/content/datatype/view/ezimage.tpl
But please check it in your debug output...
eZ Partner in Madrid (Spain) Web: http://www.atela.net/
Sunday 25 May 2008 11:59:20 pm
thank you Your answer really helps me, iI try to find it during 3 days.I need to override the template content/datatype/view/ezobjectrelation.tpl . By default it shows the title of the picture, and I want to remove it, but I don't know where it is in the template
Tuesday 27 May 2008 3:48:06 am
Hi,
What version of ez publish are you using? Are you using ezwebin extension?
Most times you just can copy the original template from:
base/templates/content/datatype/view/ezobjectrelation.tpl
to
your_design/templates/content/datatype/view/ezobjectrelation.tpl
and change what you want in this template...
After changes delete cache and load the site. The new template should override the original one and be loaded in your site...