Hi all, I want to provide activation controls within the mainBar, and so was searching through the mail archives for some hints on how to do this. I found the thread below, which refers to a Wiki page that no longer exists. Anyone know why it was removed, or have a backup copy I could refer to? Alternatively, I know a few people out there have done a similar thing (from the thread below), so maybe they could post some hints to the list or the Wiki.
I'm doing this with 3.0RC2 by the way, but I should be able to port over any 2.1 config that people might have. Many thanks, Simon On 28/03/06, Chems Touati <[email protected]> wrote:
I've been trying to implement this: http://www.magnolia.info/wiki/Wiki.jsp?page=Activation+Button+in+mainBar I've gotten it to work to a point, but I get this error: An error occurred at line: 18 in the jsp file: /admintemplates/ utilities/activatePage.jsp Generated servlet error: /Volumes/Magnolia/magnolia-2/tomcat/work/Catalina/localhost/ mactechAuthor/org/apache/jsp/admintemplates/utilities/ activatePage_jsp.java:92: cannot resolve symbol symbol : method activate (java.lang.String,java.lang.String,java.lang.String,boolean) location: class info.magnolia.cms.exchange.simple.Syndicator { syndicator.activate("website", parent, path, includeSubs); ^ 1 error I notice this says I need 5 parameters: http://magnolia.sourceforge.net/21/apidocs/info/magnolia/cms/exchange/ simple/Syndicator.html public void activate(String context, String parent, String path, boolean recursive, boolean includeContentNodes) throws ActivationException, RepositoryException or public void activate(Subscriber subscriber, String context, String parent, String path, boolean recursive) throws Exception I'm not sure how to convert this: { syndicator.activate("website", parent, path, includeSubs); to the new syntax. I'm not sure what the original "website" was suppose to be... the context? Nor am I sure what includeContentNodes is. Can someone enlighten me? Thanks for your time. Regards, //cheMs -- Chems Touati Macintosh Specialist Student Computing Labs, Marriott Library University of Utah 801.585.9811 [EMAIL PROTECTED] ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
