What to use instead of ECB in 2.1.2?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

What to use instead of ECB in 2.1.2?

Post 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
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: What to use instead of ECB in 2.1.2?

Post by Jeff »

What did you use from ECB? Can you go into more detail of what you need to do?
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Re: What to use instead of ECB in 2.1.2?

Post 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
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: What to use instead of ECB in 2.1.2?

Post by Jeff »

Using tabs is part of core now. The parameter is "tab" (no capital 'T').
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: What to use instead of ECB in 2.1.2?

Post by Jo Morg »

Actually it has been in the core for quite a while even in 1.x branch... :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Re: What to use instead of ECB in 2.1.2?

Post 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
Post Reply

Return to “Modules/Add-Ons”