TOPIC:

Item wrap code content template 5 months 3 weeks ago #267696

  • Topic Author
  • DAVIDPL
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 135
  • Thanks: 0
Hello

I use this code in the view list "Item wrap code", I would like to use it also in content template

Code;

<?php if ($value=='1') {$value='Judo';} elseif($value=='2') {$value='Aikido';} elseif($value=='3') {$value='Kendo';} elseif($value=='4') {$value='Jiu Jitsu';} elseif($value=='5') {$value='Wu Shu';} elseif($value=='6') {$value='Defensa';} elseif($value=='7') {$value='Kendo-Iaido';} ?>

Para recoger el valor de Deporte: {Deporte:value}

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

Item wrap code content template 5 months 3 weeks ago #267697

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2689
  • Karma: 2
  • Thanks: 145
Hi,

do you have some specific reason, why you want to use this code in CONTENT TEMPLATE, did you try to put code in CONTENT TEMPLATE and then test?

Regards,
Mirko

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

Item wrap code content template 5 months 3 weeks ago #267707

  • Topic Author
  • DAVIDPL
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 135
  • Thanks: 0
The reason is that when I put the sports field it gives me 1,2,3,4,5,6 as a result when really what I want is for it to put Judo, Aikido, Kendo, Jiu Jitsu, Defense,

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

Item wrap code content template 5 months 3 weeks ago #267708

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2689
  • Karma: 2
  • Thanks: 145
Hi,

could you please send me the backend link and access data on email ma@evolutio.hr and please write the name of the view, too.
Then I will see what I can do, I need to see your view and figure out what you want.

Regards,
Mirko

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.040 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!