displays the current week AND the following week

Phoca Restaurant Menu - restaurant menu manager
ole2011
Phoca Member
Phoca Member
Posts: 10
Joined: 16 Oct 2011, 20:47

displays the current week AND the following week

Post by ole2011 »

Hello,
on my Website, the "Phoca Restaurant Menu" displays the current day and the current week.

Is it possible to show the following week too?
I mean two different weeks in two different links.
A link for "this Week" and a link for "next week".

See here:
http://www.metzgerei-waibel.de

See links:
lunch Menu (Mittagskarte)
- today (heute)
- this week (diese Woche)
- next week <- this link should be new!!!

Is this possible?

Best regards
Oli
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: displays the current week AND the following week

Post by Jan »

Hi, this needs to be customized in the code.

First there should be added some new parameter (for next week)
Second some behaviour which will recognize there is next week menu needs to be created :idea: but didn't do such customization yet, so cannot give any specific advice :-( :-(
If you find Phoca extensions useful, please support the project
ole2011
Phoca Member
Phoca Member
Posts: 10
Joined: 16 Oct 2011, 20:47

Re: displays the current week AND the following week

Post by ole2011 »

Hi Jan,

Is it possible to integrate parameter for this and next week?
I would like to create groups for “weekly menu”, e.g. week 1 and week 2.

And then I can allocate this group the corresponding days / or allocate this group the relevant days. (http://www.lumilo.de/0/figure_1.jpg)

Week 1
Monday, 1st January 2012
Tuesday, 10 th January 2012
Wednesday, 11 th January 2012
Thursday, 12th January 2012
Friday, 13th January 2012

Week 2
Monday, 16th January 2012
Tuesday, 17th January 2012
Wednesday, 18th January 2012
Thursday, 19th January 2012
Friday, 20th January 2012

Next step, I will assign the menu item "this week" to “week 1” and the menu item "next week" to “week 2” (http://www.lumilo.de/0/figure_2.jpg)

It is quite simple here because I do not need to allocate again and again the menu items to different days in the column
on the right side.

Best regards
Oli
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: displays the current week AND the following week

Post by Jan »

Hi, added to feature request list.

Jan
If you find Phoca extensions useful, please support the project
Post Reply