Editing Artisteer Vertical Menu

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/10/2011 12:40:56 PM
Gravatar
Total Posts 5

Editing Artisteer Vertical Menu

Could someone help a newbie with the following problem?

I finally found a way how to put a vertical menu in mojoPortal project (a secondary one, not the normal site one), created with Artisteer. Now, my problems are:

The items in the vertical menus have to be in form:

<a href="/my-item.aspx"><span class="l"></span><span class="r"></span><span class="t">My item</span></a>

This works quite well, but when I attempt to edit this menu using the built-in editor, it gets corrupted. After some investigation I realized that the culprit is the HTML editor, which removes the "empty" tags:

<span class="l"></span><span class="r"></span>

which are however vital for proper theming of the menu. This happens with all three built-in editors. It's enough to open the contents in the editor, press the Source (or HTML) button--and the tags are gone. Only the plain text editor (TextArea) leaves the contents untouched. It seems to me like a some kind of unwanted optimization. Did I overlooked an option to switch this off, or is it a known issue?

Thanks for any idea.

2/11/2011 12:38:01 PM
Gravatar
Total Posts 18439

Re: Editing Artisteer Vertical Menu

Hi,

It seems strange to me that you are creating menus with the Html Content feature when we have built in support for both horizontal and vertical menus for artisteer. Artisteer designs that have a vertical menu typically also have a horizontal menu and they pretty much just duplicate each other. This can also be done in mojoPortal but by default we do it a little different because it does not seem to make sense to have 2 menus that duplicate each other. It is more natural to have a top level horizontal menu and then a vertical sub menu that shows child pages of the currently selected parent page in the top menu. We do this by setting TopLevelOnly=true on SiteMenu which is the top menu and we set IsSubMenu="true" on PageMenu. For example see artisteer-24verticalmenu1. If you wanted it to duplicate the menus as it does in the artisteer designer then you could set those to false in layout.master file of your skin.

Regarding the editors, if you use CKeditor and you save it while still in html view it will save it exactly as you enter it.

Hope it helps,

Joe

2/11/2011 5:47:19 PM
Gravatar
Total Posts 5

Re: Editing Artisteer Vertical Menu

Hi Joe,

Thanks for your response. You're perfectly right: it's strange and it doesn't make sense. Unfortunatelly, my clients insist on this conceptless design, they are just hopeless. Some items even appear on both menus... Don't ask, I'll refrain from any further comments. So I have to manually edit the HTML source, as I don't know any method how to specify which item should appear on which menu.

All the built-in HTML editors destroy those mentioned tags immediately upon switching to source mode. They shouldn't do this in my opinion, though. So I have to manually change editors whenever I need to edit some contents with rich formatting.

You must sign in to post in the forums. This thread is closed to new posts.