Tuesday, 08 December 2015
  4 Replies
  1K Visits
0
Votes
Undo
Hi,

I'm using the jLatestEvents modul on frontpage with two cateories for the dates (intern & public).
I need to have different backgrounds for each category, how can I do this?
If I can separate the categories by a css class, this wouldbe the best, but is this possible in any way?

Regards
9 years ago
·
#161472
0
Votes
Undo
Hello,

Please see:

https://www.jevents.net/frequently-aske ... at-strings

I would advise putting a div in the latest events module wrapping the custom format string. With an inline background style using the ${color} tag.

Thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#161473
0
Votes
Undo
Hey,

thanks for the advise.
Works with the custom format string:

<div class="${category}">${startDate(%d. %b. %Y)}[!a:, ${startDate(%H:%M)}][m: - ${endDate(%d. %b. %Y)}]
${title}</div>


Is there a way to use the category-alias instead of category-name?

Regards
9 years ago
·
#161474
0
Votes
Undo
No - I'm afraid not but you can use the category number using ${CATID}

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

9 years ago
·
#161475
0
Votes
Undo
Okay, thanks.
This was helpful.

Regards
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.