TOPIC:

Showing a value at the Editable template 3 weeks 3 days ago #259453

  • Topic Author
  • markboos
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
In the Content template, I show a value with this code:
<div class="result-row1"><strong class="list-title">{field1:label}:</strong> {field1:value}</div>

In the Editable template, I want to show this value the same way, but it returns at the edit formTest: {field1:value}



In other words: the "value" isn't recognized. The code that works is
<div class="result-row1"><strong class="list-title">{field1:label}:</strong> {field1:item}</div>

The disadvantage is that the value comes with the edit box around it (I guess from the {field1:item}, so I can't do normal html / css markup.How to show a plain value at the edit form ?
=========
Huray for open source and people sharing instead of keeping code secret !
Attachments:

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

Showing a value at the Editable template 3 weeks 3 days ago #259456

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

basically, in editable template if you check Create sample->and save it, you will see fields like this (this is auto created if you check Create sample->and save it):
{field1:label}
{field1:item}
{field2:label}
{field2:item}
where field1,field2 are names of your fields (not title)

After that add html css on fields.


Which editor are you using?

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Showing a value at the Editable template 3 weeks 3 days ago #259464

  • Topic Author
  • markboos
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Thanks Tihana, but I found out that I had to replace the file contentbuilder.php from this thread:

crosstec.org/en/forums/37-contentbuilder...template.html#242811

After that I could show the value using {field1:value} which is very convenient !

Will this feature be available in the next version of CB ? Else we have to download the file after every new update of CB.
=========
Huray for open source and people sharing instead of keeping code secret !

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

Showing a value at the Editable template 3 weeks 3 days ago #259469

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

ah yes, I remembered this now.
Please use this Markus's file:
crosstec.org/en/forums/37-contentbuilder...template.html#242839

Thiis will be added in next update

Regards,
Tihana

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

Showing a value at the Editable template 3 weeks 3 days ago #259471

  • Topic Author
  • markboos
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Sorry I didn't find the mentioned thread before my post. I googled yesterday but couldnt find this. today I searched on the forum (possibly with slightly different search terms) and I found the thread with the exact problem I had with {field1:value} at the editable template.

So maybe you want to delete my thread alltogether.
=========
Huray for open source and people sharing instead of keeping code secret !

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

Showing a value at the Editable template 3 weeks 3 days ago #259472

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6086
  • Karma: 3
  • Thanks: 429
Hi,

no, everything is ok :)

I will not delete your thread :)

If you need anything else, feel free to ask

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.078 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!