(Each project requires you to login separately)

formicula

Ticket #34 (closed defect: fixed)

Opened 12 months ago

Last modified 5 months ago

Contact -> public option

Reported by: yokav Owned by: herr.vorragend
Priority: trivial Milestone: 2.2
Version: 2.1 Severity: glitch
Keywords: contact public Cc: yokav

Description

It seems that this option doesn't works fine, if it is enabled or disabled the contact is always display.

Change History

Changed 12 months ago by yokav

  • cc yokav added
  • keywords contact public added

Changed 12 months ago by yokav

  • summary changed from Contact = public option to Contact -> public option

This option is ok, enabled or disabled it intot the administration will change the value of pn_public into the db. But the example template doesn't test if this value is true or false.

Replace:

    <label for="cid"><!--[ pnml name="_FOR_THEME" html=1 ]-->&nbsp;:</label><br />
    <select class="formborder" id="cid" name="cid">
    <!--[ foreach item=contact from=$contacts ]-->
    <option value="<!--[ $contact.cid ]-->"><!--[ $contact.name ]--></option>
    <!--[ /foreach ]-->
    </select>

By:

    <label for="cid"><!--[ pnml name="_FOR_THEME" html=1 ]-->&nbsp;:</label><br />
    <select class="formborder" id="cid" name="cid">
    <!--[ foreach item=contact from=$contacts ]-->
    <!--[ if $contact.public == "1" ]-->
    <option value="<!--[ $contact.cid ]-->"><!--[ $contact.name ]--></option>
    <!--[ /if ]-->
    <!--[ /foreach ]-->
    </select>

Changed 5 months ago by herr.vorragend

  • status changed from new to accepted

Changed 5 months ago by herr.vorragend

  • status changed from accepted to closed
  • resolution set to fixed

(In [157]) Contact -> public option (closes #34)

Note: See TracTickets for help on using tickets.
 
 
Powered by Trac
Design by Arcsin