Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:38 am EST
Geeklog Forums
Geeklog 2.0: plugins updates
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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.
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.
16
10
Quote
Status: offline
ivy
Forum User
Full Member
Registered: 11/25/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
function theme_config_*themename*()
Configuration's Doctype is ignored.
Geeklog Japan https://www.geeklog.jp
11
13
Quote
All times are EST. The time is now 09:38 am.
- 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