Welcome, Guest
Username: Password: Remember me

TOPIC:

The Responsive JEM 4 years 5 months ago #23716

  • albs
  • albs's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 62
  • 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 4 years 5 months ago #23717

  • jojo12
  • jojo12's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 3443
  • Thank you received: 386
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.3 stable in latest Joomla (3.10.2) Protostar php7.4.15
Personally I use t4_stark template with t4_system plugin framework with bootstrap 5 and fontawesome)
(I prefer free "Signal" or paid "Threema" instead of "Whatsapp".)
The topic has been locked.

The Responsive JEM 4 years 5 months ago #23718

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

The Responsive JEM 4 years 5 months ago #23720

  • Egnarts
  • Egnarts's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 279
  • Thank you received: 118
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.
Rosen sind rot, gelb ist die Biene, ich kann nicht dichten, Waschmaschine.
The topic has been locked.

The Responsive JEM 4 years 5 months ago #23723

  • jojo12
  • jojo12's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 3443
  • Thank you received: 386
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.3 stable in latest Joomla (3.10.2) Protostar php7.4.15
Personally I use t4_stark template with t4_system plugin framework with bootstrap 5 and fontawesome)
(I prefer free "Signal" or paid "Threema" instead of "Whatsapp".)
Last edit: by jojo12.
The topic has been locked.

The Responsive JEM 4 years 5 months ago #23728

  • Egnarts
  • Egnarts's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 279
  • Thank you received: 118
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.
Rosen sind rot, gelb ist die Biene, ich kann nicht dichten, Waschmaschine.
The topic has been locked.
Time to create page: 0.477 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......