Welcome to Geeklog Sunday, October 22 2017 @ 05:08 pm EDT


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
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

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1232
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.

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 290
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

All times are EDT. The time is now 05:08 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