简体   繁体   中英

eZ Publish template creation

I'm trying to add a new template (.tpl) file to an existing design for a company. It is fairly basic:
* New page with iFrame that can be controlled from admin.
* Add new CSS to the new file that will either overwrite existing CSS or add to template.

I have tried to find reference to where I should place such a template and how to add it to an existing design, and the only reference I find is how to make a new design. In addition I cannot fully (or at all) understand the catalogue structure.

As I see it I should add a new extension. Anybody have some pointers that are step by step regarding this issue?

Not to mention - is this the right place to ask for this?

You will get a much better traction on the eZ Publish Community Portal, there : http://share.ez.no . Ask your question in the forums : http://share.ez.no/forums

See you there, Cheers,

I guess you could create an object of the class "Link" in your admin. The link url would be the url of your iframe. Then, in your design folder, in override/templates folder, you could create an iframe.tpl file, and tell in override.ini.append.php you want to override the node/view/full.tpl template, normally used to view a node, with your iframe.tpl, only for that Link node you would have created.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM