Plugins. A tutorial for dummies?

Erweiterungen
ricardocurto
Posts: 10
Joined: Tue 25. May 2021, 09:03
Location: Las Palmas de Gran Canaria - Canary Islands, Spain
Contact:

Plugins. A tutorial for dummies?

Post by ricardocurto »

Hi! Is there anyone willing to make a tutorial for dummies about how to fix up and making work CMSimple plugins?.

I mean, I have downloaded and installed, following the same plugins help, some of them in my online server with CMSimple. And now what? How could I use those plugins and have them working fine?.

Lets talk about EVENT CALENDAR for instance... How can I see a calendar in a CMSimple page? I insert the code line shown as one example in the Event Calendar help, but I only get to see the same code line in the view and in the edit mode, but no calendar at all. And same with other plugins that I have downloaded.

Can anyone help me to do it in the easiest way? Im just a beginner, and much as a dummy, so please be nice with me.

Best regards,

Ricardo.
Best wishes,
Ricardo Curto.

And the warmest regards, from my little paradise!
Gran Canaria Island - Canary Islands.
Spain.
Gert
Posts: 2211
Joined: Sun 18. Nov 2012, 14:18

Re: Plugins. A tutorial for dummies?

Post by Gert »

Hello,

https://www.cmsimple.org/doku/en/?Plugi ... ugin_Calls

At first try to set {{{plugin:eventCal();}}} on the page, where the calendar should appear. If this works, we will make the next step (the event pages) ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ricardocurto
Posts: 10
Joined: Tue 25. May 2021, 09:03
Location: Las Palmas de Gran Canaria - Canary Islands, Spain
Contact:

Re: Plugins. A tutorial for dummies?

Post by ricardocurto »

Well, there you are...
Attached web URL of Calendr in my of my web proyect. I eliminated the first two brackets of the command line, as I have read on the link of the plugin manual.
Edit mode, and in font code mode. Theese are the result. No calendar seen, anyway, in Admin View mode.

https://realhermandadlaspalmas.es/?Agenda%2FCalendario
Best wishes,
Ricardo Curto.

And the warmest regards, from my little paradise!
Gran Canaria Island - Canary Islands.
Spain.
Gert
Posts: 2211
Joined: Sun 18. Nov 2012, 14:18

Re: Plugins. A tutorial for dummies?

Post by Gert »

ricardocurto wrote: Thu 21. Nov 2024, 17:39 I eliminated the first two brackets of the command line, as I have read on the link of the plugin manual.
And you have written them new? As described in the plugin manual?

The result must be:

Code: Select all

{{{plugin:eventCal();}}}
Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ricardocurto
Posts: 10
Joined: Tue 25. May 2021, 09:03
Location: Las Palmas de Gran Canaria - Canary Islands, Spain
Contact:

Re: Plugins. A tutorial for dummies?

Post by ricardocurto »

Sorry, done, and still Calendar does not appear in view mode, but the command line as you can see here:

https://realhermandadlaspalmas.es/?Agen ... rio&normal

­ {{CALL TO:plugin:eventCal(); FAILED}}

what am I doing so much wrong?

Best regards,

Ricardo
Best wishes,
Ricardo Curto.

And the warmest regards, from my little paradise!
Gran Canaria Island - Canary Islands.
Spain.
Gert
Posts: 2211
Joined: Sun 18. Nov 2012, 14:18

Re: Plugins. A tutorial for dummies?

Post by Gert »

Hi Ricardo,

check in sourcecode view of the editor, if there are some formats in the sourcecode. So it should be:

Code: Select all

<p>{{{plugin:eventCal();}}}</p>
or
<div>{{{plugin:eventCal();}}}</div>
{{CALL TO:plugin:eventCal(); FAILED}} normally occurs, if the function eventCal() is not available, so I fear, the plugin is not correctly installed,

Gert

PS: The function eventCal() is a part of the file ./plugins/eventcal/index.php, try to upload it new.

Which php version is running?
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Gert
Posts: 2211
Joined: Sun 18. Nov 2012, 14:18

Re: Plugins. A tutorial for dummies?

Post by Gert »

Hello,

the plugin seems not to work in your installation, and I do not know why :?

Please try with a function of CMSimple itself:

{{{plugin:printlink();}}}

or:

{{{function:printlink();}}}

In sourcecode view:

Code: Select all

<div>{{{plugin:printlink();}}}</div> 

or: 

<div>{{{function:printlink();}}}</div>
It should create a link to the printview. If that works, the problem is caused by the plugin installation of EventCal,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ricardocurto
Posts: 10
Joined: Tue 25. May 2021, 09:03
Location: Las Palmas de Gran Canaria - Canary Islands, Spain
Contact:

Re: Plugins. A tutorial for dummies?

Post by ricardocurto »

¡It Works!!
¡¡Latelly I almost cry seeing it working!!! I had to re-download plugin from here, and re-upload it to the web site /plugins folder and change permissions in said files.

Finally I gott to see the Calendar in the page!.

Now How I insert events in there? (Please for dummies!!)

Im using PHP v. 8.2 By the way...

Awaiting for your kind news, and thankfull for your help.
Best wishes,
Ricardo Curto.

And the warmest regards, from my little paradise!
Gran Canaria Island - Canary Islands.
Spain.
Gert
Posts: 2211
Joined: Sun 18. Nov 2012, 14:18

Re: Plugins. A tutorial for dummies?

Post by Gert »

ricardocurto wrote: Fri 22. Nov 2024, 14:03 Now How I insert events in there? (Please for dummies!!)
Insert following plugin call on any page(s):

{{{plugin:eventCalDate(':20241120');}}}

... and look what happens in the calendar.

After that you should understand the help file "4.1 CMSimple Seite im Kalender anzeigen" ;)

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
ricardocurto
Posts: 10
Joined: Tue 25. May 2021, 09:03
Location: Las Palmas de Gran Canaria - Canary Islands, Spain
Contact:

Re: Plugins. A tutorial for dummies?

Post by ricardocurto »

Wow! It woks!!

Thanks very much for your patience...
One last question:
In the Calendar, there is an "English" way of written date, after the year and month date in the head of calendar.
It says (in my case "Viernes 22nd Noviembre 2024" (Friday 22nd November 2024". In Spanish correct form would be: "Viernes 22 de Noviembre de 2024". ¿How could I change it? I was looking in the code files, but noway! Could not find where to change it to show that change. Could you helpm me in this last work?. Thank you very much
https://realhermandadlaspalmas.es/?Agenda%2FCalendario
Best wishes,
Ricardo Curto.

And the warmest regards, from my little paradise!
Gran Canaria Island - Canary Islands.
Spain.
Post Reply