Aller au contenu principal

Hide and set <CMS_INPUT_TOGGLE to false by rule if in <FS_CATALOG

Commentaires

4 commentaires

  • Zendesk API User
    Author: StefanSchulz - 7/7/2017 9:40

    Hi Christoph,

    I assume, you already tried setting the value property on the respective toggle gadgets within the DO section? If so, do you get any ERROR, WARN, or DEBUG messages in the log file that refer to not working rules?

    Cheers,

    Stefan

    0
  • Zendesk API User
    Author: captFuture - 7/13/2017 9:30

    Correct, i was setting the VALUE like THIS:

       <NOT>
       <PROPERTY name="VALUE" source="st_containerstart"/>
       <PROPERTY name="VALUE" source="st_containerend"/>
       <PROPERTY name="VALUE" source="st_rowstart"/>
       <PROPERTY name="VALUE" source="st_rowend"/>

       </NOT>

    This results in a switch to NO/false on the User interface but in the output with

    $CMS_IF(st_containerstart == true)$<div id="container_$CMS_VALUE(#global.section.id)$" class="container">$CMS_END_IF$

    it is true and shows the <div in the html output. (which is the opposite from the expected behaviour)

    0
  • Zendesk API User
    Author: StefanSchulz - 7/13/2017 11:20

    Did you check the value of st_containerstart itself via CMS_VALUE? Just to make sure.

    0
  • Zendesk API User
    Author: MichaelaReydt - 7/24/2017 13:29

    Hello Christoph,

    is this still an open question? Do you need further help or did the given answers already help you? In this case it would be nice if you mark the "right answer".

    Best regards

    Michaela

    0

Vous devez vous connecter pour laisser un commentaire.