D6: template_preprocess. I don't understand.
lentreprenaute - August 3, 2008 - 11:23
Hi,
I've some problems to understand "template_preprocess" :
i use .tpl to customize my theme pages and blocks, i understood that template_preprocess is done to modify $variables which come inside the .tpl files, i'm right?
for example :
my block name is : block-tabbed_block-0.tpl.php
<div id="MYID" class="clear-block block block-<?php print $block->module ?>">
<?php if ($block->subject): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
-<div class="mycontent"><?php print $block->content ?></div>
</div>if i want to interact on "$block->content " can you tell me how to do it. Where i must to put the code (template.php, file), how to find the orignal code source ,...
Thanks for your help.
Florent

Read the Preprocess
Read the Preprocess functions page http://drupal.org/node/223430
It gives a very clear guide.
CK Ng | myFineJob.com
consultation • web design & development • content development • site domain, hosting & maintenance • software design & development
Thank for your reply but i
Thank for your reply but i had alredy read this page, i have some problem to understand ( may be my english).