Here are some ideas for version 3.5
Something in the site is displaying $$actions. You would see that in
either your code.skin or [[top]]. $$actions is defined in code.snippets,
you will find this markup in code.snippets:
// >>SITE ACTIONS<<
[[#actions]]
<div class=actions>
.
.
.
</div>
[[#end_actions]]
Everything between those anchors is accessible in your code.skin file as
$$actions. It is also accessible in other pages.
So if you want to remove it altogether, you can simply remove $$actions
from the wherever it is showing up: probably in page [[top]] or in code.skin
In my [[top]] I used something like this:
[if equal {p1} 'docs'] $$actions [if]
That means no action menu anywhere except on the docs pages.
You may also probably need to put the css class .actions in your css
stylesheet to get horizontal action menu.
Other possibilities:
[if login] $$actions [if] (then I put a little login link somewhre else
on the page)
[if admin] $$actions [if]
You can also copy and paste in the code.snippets and add a new variablelike
"myactions" in code.snippets. Tis would be reccomended if you want to
change up the default actions. You could make it empty if not logged in
and then just the actions you want if logged in.
[[#myactions]]
<div class=actions>
.
.
.
</div>
[[#end_myactions]]
Modify the actions however you want. Then use $$myactions instead of
$$actions.
Third alternative is to just forget about code.snippets, and make a page
like [[menuactions]] and then put your action code in there WITHOUT the
anchors:
<div class=actions>
.
.
.
</div>
Then you can use [(include menuactions)] instead of $$actions. Or [if
login][(include menuactions)][if]
I think this method also works in version 4.0
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.