Link to home
Start Free TrialLog in
Avatar of colonelblue
colonelblue

asked on

Adobe Contribute - How to selectively lock only particular code in a page from editing or configure to behave?

Hello Experts,

I created Classic ASP web pages using Dreamweaver but someone else is responsible for updating them using Contribute. I have a submenu in a div on each page that is not part of the template where the links in the aforementioned submenu can be updated.

The problem is whenever a link is minutely updated and the page saved, the div moves out of place- a line up or down. (No line spaces were added, just the name of the link changed and /or the URL.)
Is there a way to correct this? Or a configuration in Contribute made where the code behaves despite the update?

Thanks in advance.
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

The problem is whenever a link is minutely updated and the page saved, the div moves out of place- a line up or down. (No line spaces were added, just the name of the link changed and /or the URL.)

Can you examine a before and after version to see if Contribute is adding an extra line break or p tag to the HTML?
I think you have to have contribute too and make yourself the owner of the page and then only allow edits to editable areas.  

One thing you can try is to make your submenu a server side include.  The the others can just edit that and leave your div alone.

Mainpage.asp

<div id="menu">
<!--#include virtual="/theSubMenu.asp"-->
</div>

theSubMenu.asp
<ul>
<li>menu</li>
<li>menu</li>
<li>menu</li>
</ul>
Avatar of colonelblue
colonelblue

ASKER

Hello and thank you.
Trouble is I made the submenus unique for each page since they can have  relative links to them .

Is there a setting in Contribute where I can toggle to not add any extra code?

I will not be able to do a before and after until Monday when I am back at the office.

I would so appreciate your further assistance.

Thank you in advance.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial