Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 20/03/2018 05:43:27

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Scheduled Pages

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.

Offline

#2 20/03/2018 19:28:12

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: Scheduled Pages

Hi
Basicaly, this is not possible
A way to do so could be to have one "blank" node page with 3 sub-pages.
Each subpage would have a 1 week publication duration.

* Landing page - blank page
** Page week 1 - page with content for week 1 with publication date week 1
** Page week 2 - page with content for week 2 with publication date week 2
** Page week 3 - page with content for week 3 with publication date week 3

So as the landing page will redirect to its first publicated page, on week 1 it will redirect to "page week 1" and so on...


Raphael Franchet
Expert Ametys

Offline

#3 21/03/2018 10:51:06

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Re: Scheduled Pages

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

Offline

#4 21/03/2018 12:08:47

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: Scheduled Pages

blank pages send a temporary redirection code ; so visitor's browsers will keep asking


Raphael Franchet
Expert Ametys

Offline

#5 25/03/2018 09:47:08

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Re: Scheduled Pages

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.

Offline

#6 25/03/2018 09:48:54

srini_r
Guest
Registered: 06/02/2018
Posts: 41

Re: Scheduled Pages

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.

Offline

#7 27/03/2018 18:04:08

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: Scheduled Pages

Hi,

What you could do it to affect a non-zoned template to the node page.
In this template, you will redirect you javascript or html tag...

that's not clean, but I tested all Ametys redirections and they all are 301...
Some of them have improvement issues opened, to make this modifiable


Raphael Franchet
Expert Ametys

Offline

Board footer

Powered by FluxBB