How do I get pages containing menus to validate?
I want to validate my pages but the validator doesn't like the bb:menu tags.
Solution: Strip GoLive Elements when uploading pages
The validator will flag MenuMachine's custom tags <bb:menu> and <bb:menulib> as errors.
GoLive Action tags such as <csobj> and <csaction> will also be flagged by validators. These custom tags are used only when editing in GoLive and are not required when the pages are on the server, so the best thing to do is to have GoLive strip the custom tags on upload.
To do this, open the GoLive preferences and in the Site > Upload/Export section, check the box marked "Strip HTML Code for Adobe GoLive Elements" and click OK.
If you have site-specific settings then you may also need to check the Upload/Export section of the Site settings to ensure the change has been applied to your current site.
Now when you next upload using GoLive, the custom tags will be stripped during the upload process and the pages will now validate.
Note: We highly recommend ensuring that your local copy of the files retains the custom tags, otherwise the menu will become uneditable.
If you download pages that have had the tags stripped, you will no longer be able to edit Templates, Components, Actions and Menumachine menus on the pages in Layout view in the same way you did before the tags were stripped.
For this reason it is important to keep your local files with the GoLive tags in place.
|