planning a new event plugin

Discussion corner for Developers of Serendipity.
Post Reply
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

planning a new event plugin

Post by kleinerChemiker »

im planning a plugin and have some questions:

here the first:

how do i get my plugin into spartacus?
whats the difference between the langue files in the top dir and the ones in the utf8 dir?
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post by kleinerChemiker »

$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
'php' => '4.1.0'
));
is this a must for a plugin? because i don't realy know, what requirements my plugin will have.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Requirements should be added to your plugin, yes. If you don'T know what you need, simply put the environment of your own serendipity in there (version 1.1.1 for example).

Your plugins hould work with serendipity 0.8, I also enabled that in spartacus for your plugin.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Are there answers to the first post? As I have the same questions..
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Post by kleinerChemiker »

send the plugin to garvin or talk with him for cvs access
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Thanks for the info.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: planning a new event plugin

Post by stm999999999 »

kleinerChemiker wrote: whats the difference between the langue files in the top dir and the ones in the utf8 dir?
In the normal lang-files are the words with umlauts and other special characters in "normal" way like

Code: Select all

@define('PLUGIN_KARMA_BLAHBLAH', 'Abstimmung über die Einträge');
if the blog is working in utf8-mode:

Code: Select all

@define('PLUGIN_KARMA_BLAHBLAH', 'Abstimmung über die Einträge');
Ciao, Stephan
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Ah okay, I understand. Thanks again!
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply