Welcome to Geeklog Wednesday, December 01 2021 @ 11:21 pm EST

Geeklog Forums

Geeklog 2.0: plugins updates


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
What are the recommendations for updating the plugin for Geeklog 2.0?
What developers should care?

Thanks,

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1440
The main thing that has changed is blocks and topics.

If your plugin references these then most likely it will need to be modified to work in Geeklog 2.0.0.

Most plugins if they needed a block before Geeklog 2.0.0 they would just create one in the blocks table. This is not ideal since things can change. Take a look at dynamic blocks in the wiki and for an example the Calendar plugin was converted to use a dynamic block for the Events block.

In regards to Topics the Staticpage plugin is a good example. It is assigned a topic if it is a center block. The Staticpage plugin included with 2.0.0 has been updated to use the new topic control which other plugins can use as well by calling the following funcitons. Articles and Blocks use the same Topic control as well.

TOPIC_getDataTopicSelectionControl
TOPIC_saveTopicSelectionControl
TOPIC_getTopicSelectionControl
TOPIC_checkTopicSelectionControl

The new topic stuff hasn't been well documented yet. I hope to get to is soon after the final version of Geeklog 2.0.0 is released.

Tom


One of the Geeklog Core Developers.
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 314
Location:Tokyo Japan
Geeklog 2.0 theme set Doctype in functions.php.
function theme_config_*themename*()

Configuration's Doctype is ignored.
Geeklog Japan https://www.geeklog.jp
 Quote

All times are EST. The time is now 11:21 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content