Hi Maciej,<br><br>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 :-).
<br><br><div><span class="gmail_quote"><br>On 24/01/2008, <b class="gmail_sendername">Maciej Perlinski</b> <<a href="mailto:maciej.perlinski@gmail.com">maciej.perlinski@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Alex,<br><br>as you have underlined it its the level of presentation , i suggest<br>you to use views and page-front.tpl.php.<br><br>Modules are rather for the logical layer of drupal functionality<br>(where you change things how they are processed)
<br><br>Mac<br><br>On Jan 24, 2008 1:53 PM, Alex Moreno <<a href="mailto:al3xmor3no@gmail.com">al3xmor3no@gmail.com</a>> wrote:<br>> Hi all,<br>><br>> first of all, thanks a lot everybody for your help in my module dev process
<br>> learning. I´ve find all your answers very very helpfull.<br>><br>> I´d like to share my learnings, maybe, with two or three modules of my own.<br>> For example, i´ve patched drupal to be able of show the first post/node in
<br>> the first row in the frontpage, and the rest in two columns bellow. ¿Should<br>> it be possible to write this short css code in a module?<br>><br>> The code now uses a counter that detects the first node, it format as we
<br>> need and continues with the rest. Is it possible to make this hack in a<br>> module? Which functions should i search for or which one in the api could<br>> help me to make this. Or This is only possible hacking directly the core of
<br>> drupal, as i´ve done?<br>><br>> As you suppose, my sollution sucks because i can´t share anything with the<br>> community in an easy way and every time i upgrade drupal, i have to hack it<br>> again.<br>
><br>> ¿Some ideas or i´m only telling stupidities? Bloody gossips and ideas are<br>> wellcome ;-).<br>><br>><br><br><br><br>--<br>-<br>kindest regards<br>Maciej Perlinski<br><a href="mailto:maciej.perlinski@meant4.com">
maciej.perlinski@meant4.com</a><br><a href="http://www.meant4.com">http://www.meant4.com</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alejandro Moreno López<br>Publicidad en Buscadores y Marketing Online<br><a href="http://www.tdo.es">
http://www.tdo.es</a>