Using Edit bar for all the components | Community
Skip to main content
VeenaVikraman
Community Advisor
Community Advisor
October 16, 2015
Solved

Using Edit bar for all the components

  • October 16, 2015
  • 1 reply
  • 599 views

Hi

    Is it a best practice to use edit bar for all the components developed for a particular project . 

   Also, using the below code directly in global.jsp for removing extra divs, will it affect any other functionality of components in publish mode.

<% if (WCMMode.fromRequest(request) != WCMMode.EDIT && WCMMode.fromRequest(request) != WCMMode.DESIGN) { IncludeOptions.getOptions(request, true).forceSameContext(Boolean.TRUE); } %>

Thanks

Veena

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mshaji

Here is the detailed article on using edit bars and use cases for projects.

https://adobeaemtherightway.wordpress.com/2014/05/27/usability-tip-use-edit-bars-instead-of-roll-over-editing/

The code that you place does not harm anything in publish mode, you have an if condition, it will be executed only in author enviroment.

1 reply

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

Here is the detailed article on using edit bars and use cases for projects.

https://adobeaemtherightway.wordpress.com/2014/05/27/usability-tip-use-edit-bars-instead-of-roll-over-editing/

The code that you place does not harm anything in publish mode, you have an if condition, it will be executed only in author enviroment.