Page 1 of 1
What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 12:16 am
by pwg
Hi, I may be missing something obvious, but which module do people use or recommend instead of ECB (Extended content blocks) as v 2.1.2 is giving me an incompatible error on install.
Seems if I had installed ECB to an earlier iteration of v2 it would be fine, but not from 2.1.2?
I like to have some control over the template Tabs as without it, the order of inputs can be strange.
Thanks for any help.
Cheers,
Paul
Re: What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 2:59 am
by Jeff
What did you use from ECB? Can you go into more detail of what you need to do?
Re: What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 5:11 am
by pwg
Hi Jeff, thanks for replying.
I only use ECB is the most basic sense, to add page Tabs to templates to help editors.
I did wonder if this basic functionality had been built into v2 by default, and I just wasn't calling it correctly?
At the moment I use:
Code: Select all
{content block='client2text' label='Client 2 Text' assign='client2text' wysiwyg="false" oneline="true" Tab='Logo 2'}
{content_module block="client2image" label="Client 2 Image" module="MillcoBrowser" assign='client2image' mode="browser" Tab='Logo 2'}
{content block='client2link' label='Client 2 Link' assign='client2link' wysiwyg="false" oneline="true" Tab='Logo 2'}
in the head of the page template and call it in the body with
Code: Select all
{if $client2text}
<a href="{$client2link}" title="{$client2text}" target="_blank"><img title="{$client2text}" src="{root_url}/uploads/{$client2image}" alt="{$client2text}" /></a>{/if}
This on sites with ECB active, adds tabs into the page admin section in this example, labelled "Logo 2"
Does that help, and thanks again for the assistance.
Cheers,
Paul
Re: What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 12:07 pm
by Jeff
Using tabs is part of core now. The parameter is "tab" (no capital 'T').
Re: What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 12:10 pm
by Jo Morg
Actually it has been in the core for quite a while even in 1.x branch...

Re: What to use instead of ECB in 2.1.2?
Posted: Tue Mar 01, 2016 7:30 pm
by pwg
Thanks so much for the replies - changing to a lower case "t" in tabs solved that problem - and I knew the issue would be my lack of understanding!
Thanks again.
Cheers,
Paul