Share » Forums » Developer » View Button

View Button

View Button

Wednesday 15 November 2006 11:59:30 am - 2 replies

Author Message

J-A Eberhard

Wednesday 15 November 2006 1:05:57 pm

For a create button, use this

{section show=count($node.object.can_create_class_list)}
  <form method="post" action={"/content/action"|ezurl}>
    <input type="hidden" name="NodeID" value="{$node.node_id}" />
    <select name="ClassID">
    {section var=class loop=$node.object.can_create_class_list}
     <option value="{$class.id}">{$class.name|wash}</option>
    {/section}
    </select>
    <input type="submit" name="NewButton" value="{'Create here'|i18n('design/standard/node/view')}" />
  </form>
 {/section}

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Pavel Konovalov

Thursday 16 November 2006 1:28:38 am

Hello J-A Eberhard!
Thank you for your reply, but I not had that in view.
I wish to create a button and after click on it I wish to view all attributes of my object.

Are you gangsters?!
No, we are Russians.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu