[SOLVED] How to edit zones it templates?

More
9 years 11 months ago - 9 years 11 months ago #61555 by lipatovroman
Hi!

How to edit zones like in my screenshot and hot to set html tags, like H2 for them?



Thanks!
Last edit: 9 years 11 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61560 by micker
you need to duplicate your template (for update safe)
after edit your xml (check <group></group>)
after edit your item.php and change php code

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61578 by lipatovroman
OK, I have duplicate and renamed template in FC admin panel.
I added new groups in XMLand now they displays in admin panel.


I need this new zones displays inside zone subtitle2.



Then, I opened item.php from my new template folder, but it's empty :(
Code:
<?php // Modular item layout // If customizing via CSS rules or JS scripts is not enough, then please copy the following file here to customize the HTML too include(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'tmpl_common'.DS.'item_layouts'.DS.'modular.php'); ?>

What am I doing wrong?

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61579 by micker
you have a button in edit tab to load code
after the display of position is only visual .... for drag and drop
to load it in xml use posrow="" like <group posrow="subtitle">subtitle_tab1</group>
the real position is in html and css

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61581 by lipatovroman

micker wrote: the real position is in html and css


Hmmm..

I have created new zones
Code:
<group>subtitle2</group> <group posrow="subtitle2">subtitle_tab1</group> <group posrow="subtitle2">subtitle_tab2</group> <group posrow="subtitle2">subtitle_tab3</group>

This zones displays inline


But how to display subtitle_tab3 under subtitle_tab2 and at the right of subtitle_tab1 ?



Where is file (html or php) to edit real positions?

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61582 by micker
no possible => you can displa subtitle_tab1 and subtitle_tab2 in same line
not one at letf and 2 at right

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61584 by lipatovroman
Hm...
So, how to build my template?
Lets forget about zones.
How to place fields in same way?

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61587 by micker
please read my answer
position is only for drag drop, an visual helping
we can display it in same line but for display you need to code ite with responsive rules like bootstrap (if your template use it)
Code:
<div class="row-fluid"> <div class="span4 yourpositionname1">code for your position 1</div> <div class="span8 yourpositionname2">code for your position 2</div> </div>
after drag and drop your field 1 in position 1
and drag and drop your field 2 and 3 in position 2
playing with css to display one field per line for position 2

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61597 by lipatovroman
This to me more clearly.
I'm not novice. I used K2 for years.
But I can't understand in which file I need insert this code

<div class="row-fluid">
<div class="span4 yourpositionname1">code for your position 1</div>
<div class="span8 yourpositionname2">code for your position 2</div>
</div>


I just can't find same code in template files.
As I already wrote, file /components/com_flexicontent/templates/mytemplate/item.php is empty.
It does not contains any code about other positions.
Code:
<?php // Modular item layout // If customizing via CSS rules or JS scripts is not enough, then please copy the following file here to customize the HTML too include(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'tmpl_common'.DS.'item_layouts'.DS.'modular.php'); ?>

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #61598 by micker
in template edition you have button to remplace this code by whole code
use it

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save