Ordering an entry in an GS-Profile

Christian Klinger cklinger at novareto.de
Wed Jul 18 09:23:18 UTC 2007


Martijn Pieters schrieb:
> On 7/18/07, Christian Klinger 
> <cklinger at novareto.de> wrote:
>> This is my actions.xml
> [...]
>> Now i want that my action (title="Mein Ordner") is the first in the
>> category user.
>>
>> Example (the new personal bar):  Mein Ordner | Author | My Preferences..
>>
>> How can i move the new action "Mein Ordner" on the first
>> position in the category user?
> 
> The current actions import step does not have any support for
> re-ordering actions. You could use a 'importVarious' hack (as used in
> the Plone GS base profile) to run arbitrary code during GS import, and
> move your action to the top there, but this is a hack still.
> 

Hi Martijn,

thx for your quick answer.

Maybe is it possible to copy the complete actions.xml from CMFPlone to
my Products actions.xml and insert my action on the first postion?

Does this work?

Christian





More information about the Product-Developers mailing list