Current Date Display

Phoca Restaurant Menu - restaurant menu manager
retrowebfx
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Aug 2012, 20:35

Current Date Display

Post by retrowebfx »

Hi, is there a way to add the option in Settings to display the current date stamp for the daily menu as opposed to manually picking the date?

Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Current Date Display

Post by Jan »

Hi, this needs to be customized in the code.

Jan
If you find Phoca extensions useful, please support the project
retrowebfx
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 18 Aug 2012, 20:35

Re: Current Date Display

Post by retrowebfx »

Would it be possible for you to tell me which file needs to be altered? Also a little help as to how to do this would be greatly appreciated. Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Current Date Display

Post by Jan »

Hi, for now I didn't do such modification, so really no idea what everything needs to be done.

To set some fixed text (or date) you need to customize the output:

components/com_phocamenu/views/ the view /tmpl/default.php

or set it directly in the helper class which displays the items:

administrator/components/com_phocamenu/helpers/phocamenurenderviews.php

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