I`ve taken a look at the linkblog plugin. It is actually more than I needed.
What really got me excited about habari is the way it handles the content
types in the same db table. no need for extra querying (sql not my thing
yet).

I`m writing a plugin to manage my personal site which i want to have a
diferent approach to both folio and project sections but still have them
share common info (eg: clients, images, links to each other).

http://www.pedrokoblitz.com/folio.tar.gz

Instead, I took the projects plugin by Ben H. as a template, made a few
changes to make it function like this:

clients/
clients/ 'slug'
projects/
projects/ 'slug'
folio/

for the folio content type i only copied the part of the code which form the
plural types so that this `controller` should only have a mutliple-type
'view' assigned to it - still need to check out the plugin code for these
template rules - comments are specially appreciated about this matter - so
it will look like this:

http://www.pedrokoblitz.com/v2009/index.php?page=portfolio

this way I can enter 1 item per post and they will always be displayed as
<li> elements inside the jQueryCarousel plugin class using the .multiple
template.

basically i`m sending it to the list in order to know if it qualifies as a
plugin for the trac repository and what should i do to get it there.

I`m anxious to write the template files within the next days, but i would
like to have some feedback on this issues so i don`t have to write it all
over.

Pedro Koblitz
http://pedrokoblitz.com
21 2242 4928
21 8884 2808


2009/5/4 Pedro Koblitz <[email protected]>

> Well, thanx a lot. That's exactly what i was looking for (I guess). If
> anything comes up i'll drop by irc channel.
>
> Pedro Koblitz
> http://pedrokoblitz.com
> 21 2242 4928
> 21 8884 2808
>
>
> 2009/5/4 Arthus Erea <[email protected]>
>
> Hi,
>> If you have IRC, stop by #habari and I'm sure someone will be glad to
>> help.
>>
>> For a good example, take a look at the linkblog plugin:
>> http://svn.habariproject.org/habari-extras/plugins/linkblog/trunk/
>>
>> -Arthus (Morgante Pell)
>>
>> On May 4, 2009, at 3:57 PM, Pedro Koblitz wrote:
>>
>> hi all,
>>
>> I've been hacking wordpress for a few years now and a little tired of it.
>> I started learning programming last year (PHP + jquery, javascript), but I
>> still have difficulty understanding some stuff that is apparently obvious to
>> everyone else.
>>
>> I went trough the wiki and the api but i still dont get how to create a
>> new content type and how to show it in the template. I've searched google
>> and delicious and found a couple of thing but I stll feel like I need to see
>> more working examples. Can you show me some?
>>
>> Pedro Koblitz
>> http://pedrokoblitz.com
>> 21 2242 4928
>> 21 8884 2808
>>
>>
>>
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to