Main page

Author Message

David Santiso

Monday 14 February 2011 11:41:54 am

Hi,

Is required to build the main page based on blocks?

No default block showing what I want.

Have I to develop a block or I can directly edit the template?

What template is it?

Thanks,

David

Carlos Revillo

Monday 14 February 2011 12:20:31 pm

no. you are totally free when it comes to create your main page. provided ezflow templates uses blocks, zones and so on. you can use that or just add an override and start from a blank one.

your main page will be also a node, as any others in the content tree, so you'll probably need an override for node/view/full.tpl template.

David Santiso

Tuesday 15 February 2011 11:05:36 am

The node/view/full.tpl template of main page is extension/ezflow/design/ezflow/override/templates/full/frontpage.tpl and its code is:

<div class="content-view-full">
<span class="Apple-tab-span" style="white-space:pre"> </span><div class="class-frontpage">
<span class="Apple-tab-span" style="white-space:pre">  </span><div class="attribute-page">
<span class="Apple-tab-span" style="white-space:pre">   </span>{attribute_view_gui attribute=$node.object.data_map.page}
<span class="Apple-tab-span" style="white-space:pre">  </span></div>
<span class="Apple-tab-span" style="white-space:pre"> </span></div>
</div>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.