Hi,
I'm trying to adapt your template for my tour company.
I mean help with articles from tour-info and the category module displayed on the home page - as a collection of articles from categories and displaying grid articles in categories.

I'm working on what you've done, but I need to add something to the articles and categories to show it to the audience.

I would like to create in extra fields next to articles (preferably in your Tour-info code), 4 additional fill items from the level of fields pinned to the editor of the article in which I describe the trip. I miss fields:
1.Transportation (type):

  1. Start date of the tour:
  2. End date of the tour:
  3. Place of departure:

Most of all, however, I would like the categories module, which displays trips on the main page of your tempotka, and the subpage with tour-info categories shown in the photos as a grid, not to show the date of adding the article in the system, but the date of starting the trip.
I want it to show up in grid images. To display the date of the start of the trip and the type of transport in addition to the number of participants, the number of days of the trip, the price?
How to do it?

Regard, Syliwa

Hi Syliwa,

If I understand correctly, you want to add new extra fields for tour and show them in both article page and module on homepage.

Could you share screenshot of how/where you want to show? I will check if it's possible.

5 days later

Thanks, I'm pasting photos with the indication of places from your template, mine is already in Polish, so it may be incomprehensible. The place: module in home, list of aticle Tourlist and article


Hi Syliwa,

You will need to customize various files in template:

  1. Define extra fields in: root/templates/ja_tour/etc/extrafields/tour-info.xml
  2. Edit article view, you customize file: root/templates/ja_tour/html/com_content/article/tour.php
  3. With module on homepage: root/templates/ja_tour/html/mod_articles_category/tours.php
Write a Reply...
You need to Login to view replies.