You are not logged in.
Hi,
How can I access the HttpRequest and HttpSession objects in my XSL. I want to have some values stored in the session and use them as a condition in the XSL rendering. is that posssible?
Also, native cocoon supports XSP pages. doe ametys support that too?
I think that was a good direction. let me try out that.
Hi,
I have created a page with a page templates that contain many zones and in these zones, i have added different articles.
is it possible to call the contents of one article alone using some URL format? if i invoke the URL of that page, i would be getting the entire page contents with whatever header,footer that has been configured in the skin.
But, I want to test the article alone and see its HTML output without getting distracted by the header,footer and other articles. is that possible? is there a specific URL pattern available for every article/content in that page in the JCR repository?
Hi,
we are trying to create a plugin similar to multimedia plugin with a custom content type. but, we are not able to understand the meaning of this configuration in the cocoon file.
<map:match pattern="org.ametys.plugins.multimedia.Content.*.*">
<map:redirect-to uri="cocoon://_plugins/web/content-type.{1}.{2}?pluginName={request-attr:pluginName}"/>
</map:match>
we searched for a map configuration by that name/pattern and we dont find that at all. any help in this regard would be appreciated
hi raphael,
is the forwarding template also a page template and contains XML for that? i was thinking about at least making it as a requestDispatcher.forward which would be an internal forward rather than a 301 redirect, which would make me lose all the SEO that would have been achieved for the previous URL, isn't it.
Hi raphael,
i was able to setup a redirection and it is a 301 redirect. that would not serve the purpose. the requirement is to have the URL as say, /mybrand and for that URL i want to create multiple page template rules for different time durations. i think that is currently not possible with ametys it seems. I used to work on Endeca experience Manager, where the URL for the page and the rules(templating) for the page are separated. so, i used to create a page, say, /mybrand and then point it to a contentCollection, which would be a set of rules. with that, i can have the Home page itself appear different for, say, maleusers/femaleusers/anonymous and so on.
Hi cedric,
The site application was throwing a "oops. are you lost" kind of a message. then i checked the AR files and understood that both the WAR files are needed since most of the components/logic is in the CMS module. thanks for validating the same. But, there was not ,much of information in the log files of site application either.
now, i have deployed both the applications in the tomcat and it is working properly with one server. i will test it with multiple servers after i do a load testing and check whether this setup itself is enough since you were talking about the caching techniques that is available.
hi cedric,
i tried deploying only the CMS application in ne tomcat and only the site application in another tomcat, but the site application is not working. I think, inherently the site application depends upon many components bundled in the cms application, including the plugins. so, it seems that we need to deploy both the applications across all the server instances, but prevent the access of CMS from all, but one tomcat instance. let me try it that way
yes. it can be cacheable. in between, i was trying to deploy the cms application in one tomcat where it wont be clustered and another tomcat instance to host the 'site' web application.
iam not able to reach the 'site' web application in the second tomcat. my architecture is that on the tomcat instance where 'cms' is running, there is no 'site' application and vice versa. is that a correct architecture?
or should I have the 'cms' and 'site' both applications in all the tomcat servers?
regards
Hi cedric,
thanks for the reply. We are setting up the CMS in a kind of headless model. our templates will not have the header and footer. but there would be articles,photo gallery and even custom service that would be fetching the XML content from a product service as list of products and then make the layout and return the HTML.
the customer's eCommerce system would be doing the display in their layout.
Hi Raphael,
I dont want to cluster the CMS application. that wont be having much load. but the front-end application has to be clustered because we are testing for a heavy load as per a customer specification.
So, the cms web application can be hosted on one tomcat and the site can be hosted on multiple tomcats, but all of them would be pointing to the same postgreSQL database? how about the JCR configuration? should the JCR be running as a separate service or it would be running as part of both the cms and site application? in that case, will there be locking/integrity issues?
Hi,
Is it possible to run ametys in a tomcat cluster? the admin console must be available only on one instance but i would want to run the website on multiple instances of tomcat? is there any special steps to be done for this? can someone point me to a documentation if available for this?
regards
Hi raphael,
thanks for your quick reply, but will that be a kind of 301 or 302 redirect or an internal requestDispatcher.forward? . i will also try out the same.
regards
Hi,
do we have a ametys Forum plugin to create a user discussion boards in ametys?
Hi,
is it possible to have page scheduled with different designs for different dates? for example, I have the visibility of my brand landing page having three designs in the next three weeks. so, how to create and schedule these three landing page designs with a startdate and end date as next week, the subsequent week etc., ?
i see only a schedule publication button.
any help will be appreciated.
Hi,
I want to create a custom service that will invoke a third-party web service and will get an XML that needs to be transformed and displayed. The third-party service is a Commerce component that will be returning a set of products in XML format.
The documentation for the custom service creation is very old and covers only 3.4 version. can someone guide me for the version 4.x please