Topic Closed
Flynn
38 Posts

Stupid question: I have installed the Simple Event Calendar plugin. But how do I put it on a page of my choice? Respectively, how can a plugin generally be integrated?

It's done.

Cheers!

Edited: 3 years ago#10656

Flynn
38 Posts

No, not quite yet. At least not as I imagined it would be. Remaining with the example of the calendar: How can I integrate the calendar (or any other plugin) on an already existing page?

Cheers!

Edited: 3 years ago#10659

juergen
1.5K Posts
56.1K Downloads
16 Plugins
design, web development & visual effects

There are several ways how plugins may generate or interact with content

  • Special Pages - whole plugin-generated pages (off-topic for this question). Example: SimpleBlog's blog page
  • Gadgets - plugin generated areas. Normally Gadgets are not context sensitive and are used as Layout aeas (template-hardcoded and/or manageable via Layout Editor), but they can also be included into pages' content as 'File Include' sections. Themes have different amounts of 'slots' [1] where Layout areas can be inserted. Bootswatch themes only have the 'After Content' [2] area, which is automatically generated by Typesetter. Example: SimpleBlog's Categories and Archive Gadgets.
  • Sections - plugin-based content sections, mostly used as part of page content but may also be used as Layout areas. Can only be edited WYSIWYG. Example: StickyNote
  • DOM manipulation done by a plugin's JavaScript(s). I don't know an example plugin that does solely that.
  • Filtering content, e.g. by using SectionToContent, Html_Output or or various other hooks

[1] Such slots can be defined in template.php using gpOutput::Get('Extra', 'Area-Name') for 'Extra Content', predefined settings.php-based Areas gpOutput::GetArea('Area-Id', 'Content'), or menus via gpOutput::Get('Menu');

[2] Plugins may also add content directly to this area via the GetContent_After hook.

Edited: 3 years ago#10663

juergen
1.5K Posts
56.1K Downloads
16 Plugins
design, web development & visual effects

How can I integrate the calendar (or any other plugin) on an already existing page?

The calendar is a Gadget (and the plugin also provides 2 Special Pages).
You can add the Gadget as 'File Include' section to the content of (single) pages or to an existing Layout area slot via Layout Editor.

3 years ago#10664

Flynn
38 Posts
It's these subtleties.... unfortunately, the documentation doesn't reveal much when it comes to embedding plugins. In general: Has it been thought about creating a more detailed documentation for Typesetter, a user manual? In any case, Jürgen, thanks for your quick and competent help!
3 years ago#10670

juergen
1.5K Posts
56.1K Downloads
16 Plugins
design, web development & visual effects

Has it been thought about creating a more detailed documentation for Typesetter

Oh yes, it has been thought a thousand times.

Ok, seriosly.  I have started such thing about 1 year ago but it's still only a fraction of what it should be. Still needs some 100 hours at minimum before I can make it public.

Edited: 3 years ago#10674

Flynn
38 Posts
Well, Typesetter turns out to be "simple & complex", I can imagine that the documentation takes a lot of time and knowledge. I hope the documentation is not a one-man project?
3 years ago#10675

juergen
1.5K Posts
56.1K Downloads
16 Plugins
design, web development & visual effects

Well, Typesetter turns out to be "simple & complex"

Yep, basic usage is meant to be as easy as possible but there's quite a few stuff under the hood.

 

3 years ago#10676

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in Tórshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register