Welcome, Guest
Username: Password: Remember me

TOPIC:

The Responsive JEM 3 years 7 months ago #23716

  • albs
  • albs's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Karma: 2
  • Thank you received: 9
Thank you!

Just two more suggestions while you're writing them down (please see attachment)... :)

1. On the date (daynum), can that text also be accompanied by the day? Such as "M T W T F S S" or "Mon Tue" etc.
2. Can the entire div, which houses each event (eventcontentinner) be clickable? On my screenshot, that's the whole blue tile, behind the hyperlink...

I think both of these will make JEM much more mobile friendly, as well as the toggle...

I appreciate this great initiative!
Attachments:
The topic has been locked.

The Responsive JEM 3 years 7 months ago #23717

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3296
  • Karma: 45
  • Thank you received: 357
in your calendar.css there's a hint for this:
/* This runs only if you change somethin in the calendar.class.php
    * change line 643 from:
    * $out = "<td class=\"".implode(' ', $cssClass)."\"><div class=\"daynum\">".$linktext.'</div>'.$eventContent."</td>";
    * to:
    * $out = "<td class=\"".implode(' ', $cssClass)."\"><div class=\"daynum\"  eemonthname=\"".$this->getMonthName()."\" eedayname=\"".$this->getDayName($this->getWeekday($var))."\">".$linktext.'</div>'.$eventContent."</td>";
    * after this you will see the days like "Mo, 2. August" instead of only the daynumber */
But there's no such line in calendar.class.php! :sick:
on JEM 2.3.0 stable in latest Joomla (3.9.22) Protostar php7.4.5
The topic has been locked.

The Responsive JEM 3 years 7 months ago #23718

  • albs
  • albs's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Karma: 2
  • Thank you received: 9
Yeah I had a look there... :-(
The topic has been locked.

The Responsive JEM 3 years 7 months ago #23720

  • Egnarts
  • Egnarts's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 272
  • Karma: -3
  • Thank you received: 114
1.
Caused by some changes in the calendar.class.php the line moved some lines below.
You have to change line 667.

After the change of the calendar.class.php, you should go back to the calendar.css and read the last comment. There you have to remove the css statement. I had this to do cause of some styling issues if the calendar.class isn't changed.
/* If you changed the calendar.class.php, uncomment this. */
td.monthday div.daynum::before {
      content: "";
}

2.
-> I will write to todo list.
Take a look at the responsive version of JEM: The Responsive JEM
The topic has been locked.

The Responsive JEM 3 years 7 months ago #23723

  • jojo12
  • jojo12's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 3296
  • Karma: 45
  • Thank you received: 357
which version are you using:
in my version JEM 2.2.0 the calendar.class.php has the number 2.1.7 there is only a line with:
[quote]$out = "<td class=\"".implode(' ', $cssClass)."\"><div class=\"daynum\">".$htmlNewEventLink.$linktext.'</div>'.$eventContent."</td>";[/quote]

when I change this line adequat and uncomment in css, then I only get: e.g.
,23.

EDIT:
You know, I appreciate your ideas and your knowledge very much!
on JEM 2.3.0 stable in latest Joomla (3.9.22) Protostar php7.4.5
Last edit: by jojo12.
The topic has been locked.

The Responsive JEM 3 years 7 months ago #23728

  • Egnarts
  • Egnarts's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 272
  • Karma: -3
  • Thank you received: 114
The result looks like you did not change the required line in calendar.class.php in the correct way.
For more information for me, please upload your calendar.css and calendar.class.php files. I will take a look concretely.
Take a look at the responsive version of JEM: The Responsive JEM
The topic has been locked.
Time to create page: 0.218 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......