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.
Adobe DreamweaverWeb Development SoftwareASP

Avatar of undefined
Last Comment
Scott Fell

8/22/2022 - Mon
Jason C. Levine

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?
Scott Fell

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>
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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Scott Fell

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question