- Posts: 8
- Home
- Forum
- Community Forum
- Feature requests / Suggestions
- Blok unavailable dates from datepicker (mod_sr_checkavailability)
To add diet
- Simonoviq
- Topic Author
- Offline
Less
More
1 month 5 days ago #21009
by Simonoviq
To add diet was created by Simonoviq
Hello,
How to add or change the type of food in Experiences, on Diet?
Thank you,
Andrija
How to add or change the type of food in Experiences, on Diet?
Thank you,
Andrija
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 2982
1 month 4 days ago #21010
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic To add diet
Hi,
You can alter the list here:
/plugins/solidres/experience/layouts/experience/bookform/activity.php
Regards,
You can alter the list here:
/plugins/solidres/experience/layouts/experience/bookform/activity.php
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- Simonoviq
- Topic Author
- Offline
Less
More
- Posts: 8
1 month 2 days ago #21014
by Simonoviq
Replied by Simonoviq on topic To add diet
Hallo,
I wanted to add the option to choose fish too, so I did it my way, but it doesn't appear in frontend.
Thank you,
Andrija
I wanted to add the option to choose fish too, so I did it my way, but it doesn't appear in frontend.
Thank you,
Andrija
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 2982
1 month 1 day ago #21015
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic To add diet
Hi,
Your custom code is not correct, you must copy the whole <option></option> tag to make it work properly:
<option<?php echo isset($data[$i]) && $data[$i] == '3' ? ' selected' : ''; ?>
value="3"><?php echo Text::_('SR_EXP_DIET_FISH'); ?></option>
We would consider adding this option into the next release as well.
Regards,
Your custom code is not correct, you must copy the whole <option></option> tag to make it work properly:
<option<?php echo isset($data[$i]) && $data[$i] == '3' ? ' selected' : ''; ?>
value="3"><?php echo Text::_('SR_EXP_DIET_FISH'); ?></option>
We would consider adding this option into the next release as well.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- Simonoviq
- Topic Author
- Offline
Less
More
- Posts: 8
4 weeks 20 hours ago #21018
by Simonoviq
Replied by Simonoviq on topic To add diet
Hello,
I changed it, but it's not right, again.
I tried also putting Fish instead of Vegan, but it appears SR_EXP_DIET_FISH (Capture-2).
Thank you,
Andrija
I changed it, but it's not right, again.
I tried also putting Fish instead of Vegan, but it appears SR_EXP_DIET_FISH (Capture-2).
Thank you,
Andrija
Please Log in or Create an account to join the conversation.
- solidres
-
- Offline
Less
More
- Posts: 2982
3 weeks 6 days ago #21021
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic To add diet
Hi,
You must also add your SR_EXP_DIET_FISH into the Experience language folder as well to make it translatable.
Regards,
You must also add your SR_EXP_DIET_FISH into the Experience language folder as well to make it translatable.
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
Moderators: solidres