help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Images in Categories list??

  • stm
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 57
  • Thanks: 2

Images in Categories list??

8 years 3 weeks ago
#23138
Hello

I would like to ask if any of you know if i can put the image of events in categories list?
To see what i mind look this link: www.athens-dayandnight.gr/all-of-event
I want the guest see like simple category layaout: www.athens-dayandnight.gr/eventlist/category/3-event-athina-thessaloniki

If anybody know how i can fix it please help me.

thank you

Please Log in or Create an account to join the conversation.

Re: Images in Categories list??

8 years 3 weeks ago
#23142
if you have some experience with php, this is easy,
Start with comparing the default.php in common with the default.php in category.
You have to add the image column
The following user(s) said Thank You: stm

Please Log in or Create an account to join the conversation.

  • stm
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 57
  • Thanks: 2

Re: Images in Categories list??

8 years 3 weeks ago
#23143
Hello Jojo12

I try it but i can find which files i must change. I want to place the image colum as the simple category list ant in eventlist , categories list and in day & week calendar. I find in common / views / tmpl / default_events_table.php but after in com_jem
>views i do not know where i must paste the image colum

thank you

Please Log in or Create an account to join the conversation.

  • stm
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 57
  • Thanks: 2

Re: Images in Categories list??

8 years 3 weeks ago
#23145
Hello

I make some changes as you tell me. In day menu work ok ( www.athens-dayandnight.gr/agenda-events-athens/event-simera ) but in eventlist (categories default_table.php) i see the colum for image but no the image see here www.athens-dayandnight.gr/all-of-event what i do wrong?

Some hepl please.

thank you

Please Log in or Create an account to join the conversation.

Re: Images in Categories list??

8 years 2 weeks ago
#23146
Hi,
you're right: it's because of:
in the components/com_jem/models/categories.php in the query the a.datimage is not asked.
the query is about line 247, you've to insert there a.datimage
The problem: you can't override models. So anytime you upgrade JEM, you have to adapt newly.

Please Log in or Create an account to join the conversation.

  • stm
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 57
  • Thanks: 2

Re: Images in Categories list??

8 years 2 weeks ago
#23147
Thank you Jojo12

I fix it like you say!

I know if i update it i will fix all from the start. But for this time i do not do the update.

Thank you very much

Please Log in or Create an account to join the conversation.

Time to create page: 0.553 seconds