MikeTheVike wrote
abecedarian wrote
Add a [NAV] token.
|
thank you abecedarian, that fixed that...I triedto declare the [CONTENTPANE:1] in a xml file, but I'm getting an error...
Could Not Load Skin: /Portals/_default//skins/grandview/skin.ascx Error: The tag contains duplicate 'id' attributes
my html file looks like this...
[CONTENTPANE]
[CONTENTPANE:1]
my xml looks like this...also not sure if putting LOGIN and CONTENTPANE in there is necessary...
[LOGIN]
id
header
[CONTENTPANE:1]
id
maincontent
[CONTENTPANE]
id
leftcontent
Just use this for content panes, and leave em outta the XML.
<div id="PaneName" runat="server"> </div>
Make sure though that you have one with the ID "ContentPane", and all of them with the attribute runat="server". You can use that in your HTML doc just fine, and the parser will recognise them as content panes.
Also you can move your control panel around by using <div id="ControlPanel" runat="server"></div>
Important though...If your a novices still, do not try this technique with other stuff like [NAV] or [SOLPARTMENU]. You should still use the XML & Token combo.
Basically, you should declare every token in the XML file, whether you are changing it or not, in my opionion. This makes your XML file consistantly match your HTM file. Then if say you load it up and the menu isn't quite right, or something, you can jsut open your xml and find the token already in there....kinda like....well....I just find it's easier when learning to put everything in there ahead of time, cause then you'll understand the layout of the XML file alot better and it becomes easier to read/understand each time.