[development] writing a module to count the nodes and format them

Alejandro Moreno alejandro.moreno at tdo.es
Fri Jan 25 08:41:32 UTC 2008


Hi Maciej,

you're absolute true speaking about the logical and view layers. I´ts
trivial, but not my drupal knoledge at this time. I´ve found the panels
module and i think that it can be used on the way i was trying. Thanks a lot
for your time and excuse my english :-).


On 24/01/2008, Maciej Perlinski <maciej.perlinski at gmail.com> wrote:
>
> Hello Alex,
>
> as you have underlined it its the level of presentation , i suggest
> you to use views and page-front.tpl.php.
>
> Modules are rather for the logical layer of drupal functionality
> (where you change things how they are processed)
>
> Mac
>
> On Jan 24, 2008 1:53 PM, Alex Moreno <al3xmor3no at gmail.com> wrote:
> > Hi all,
> >
> > first of all, thanks a lot everybody for your help in my module dev
> process
> > learning. I´ve find all your answers very very helpfull.
> >
> > I´d like to share my learnings, maybe, with two or three modules of my
> own.
> > For example, i´ve patched drupal to be able of show the first post/node
> in
> > the first row in the frontpage, and the rest in two columns bellow.
> ¿Should
> > it be possible to write this short css code in a module?
> >
> > The code now uses a counter that detects the first node, it format as we
> > need and continues with the rest. Is it possible to make this hack in a
> > module? Which functions should i search for or which one in the api
> could
> > help me to make this. Or This is only possible hacking directly the core
> of
> > drupal, as i´ve done?
> >
> > As you suppose, my sollution sucks because i can´t share anything with
> the
> > community in an easy way and every time i upgrade drupal, i have to hack
> it
> > again.
> >
> > ¿Some ideas or i´m only telling stupidities? Bloody gossips and ideas
> are
> > wellcome ;-).
> >
> >
>
>
>
> --
> -
> kindest regards
> Maciej Perlinski
> maciej.perlinski at meant4.com
> http://www.meant4.com
>



-- 
Alejandro Moreno López
Publicidad en Buscadores y Marketing Online
http://www.tdo.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080125/65df04f4/attachment.htm 


More information about the development mailing list