Or put them in a <ul> and use CSS to force the close action to be last in the list.  
AListApart has a good tutorial on lists and css.

http://www.alistapart.com/articles/taminglists/



>>> [EMAIL PROTECTED] 02/20/04 11:29AM >>>
All of the possible actions are specified in the TURBINE_PERMISSION table.
Each one of those things has an image with the same name.  So you can change
the name of the action to someting like "zclose" and change the name of the
image to zclose.gif.  That is one way.

The other would be to put one more if check in that line to check for the
"close" and print it last.

Dmitry

-----Original Message-----
From: Manish Kumar [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 20, 2004 12:26 PM
To: 'Jetspeed Users List'
Subject: RE: How to configure order of action buttons?


Yes, I figured out that this is the code piece which is placing the
action icons. My question is how to change the order of elements in the
array $actions.


-----Original Message-----
From: Dmitry Sklyut [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 20, 2004 6:59 AM
To: 'Jetspeed Users List'
Subject: RE: How to configure order of action buttons?


look in templates/vm/controls/html/jetspeed.vm 

#foreach ( $action in $actions )
        <a href="${action.Link}" title="${action.Name}" ><img
src="${skin.getImage($action.Name,"images/${action.Name}.gif")}"
alt="${action.Alt}" border="0"></a>
        #end

-----Original Message-----
From: Manish Kumar [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 20, 2004 2:50 AM
To: [EMAIL PROTECTED] 
Subject: How to configure order of action buttons?


Pls let me know how can I configure the sequence (left to right) in
which action buttons appear on the title bar of a given portlet. Is it
possible? I am trying to put the close button in the right most space.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to