Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Show a particular month in details page
(1 viewing) (1) Guest
Universal booking and reservations component for Joomla!.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Show a particular month in details page

Show a particular month in details page 11 years, 11 months ago #35776

Hello everybody,

I wonder if it was possible to set a particular month being shown by default for some objects.
In my 2.5 joomla site I offer some single day services, and I'd like that different objects details pages showed th month in wich the service runs/begins for 1st.

Ex.
  • Object: Trip in countryside

  • Date: 21/04 -daily-

  • Month by default in object detail page: April (and then the others, as usual)
.

I know i can set in configuration, but it's general and i need just for some services.
How can I do?
I suppose I've to modify something in components/com-booking/assets/view/ (maybe subject/tmpl/default_calendar_monthly??), but i don't know exactly which file and how?

Thanks.
Last Edit: 11 years, 11 months ago by Stefocc.
The topic has been locked.

Re: Show a particular month in details page 11 years, 11 months ago #35841

  • jitr
  • OFFLINE
  • ARTIO Support
  • Posts: 1432
Hello, if you use JoomSEF or something else (sef404) you can improve URL which opens page with object detail.
You should improve raw URL (query string) saved in JoomSEF database with SEF URL.
You can add these query params: year, month, week and day

Example:

index.php?option=com_booking&Itemid=1&view=subject&id=3:room

improve as

index.php?option=com_booking&Itemid=1&view=subject&id=3:room&month=3&year=2013

to open March 2013


sefurl.png
ARTIO Support Team
The topic has been locked.

Re: Show a particular month in details page 11 years, 11 months ago #35906

Thanks a lot!
Now it works, it was easier than I thought.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný