I want to make a custom block where the module, survey etc block are all have different design.
I've scrolled through the block-Module.php file and look at the code. Found the $content but when I take a look at the theme.php, it looks like the themesidebox () covers all block design.
I have no idea how to separate them. Need help
Thanks in advance.
astalavistabd Captain
Joined: Dec 19, 2004
Posts: 663
Location: Canada
Posted:
Tue Jan 31, 2006 8:30 am
yes themesidebox () controls(including block.html inside your theme folder) all your blocks.
Can I change the $content to new variable and I recall them back in new block?
Example :
For Home : $content => $homecontent
For News : $content => $newscontent
Is there any way to make my own block? Can some1 gimme the basic code?
Is the block generated by template.php? If yes, then how can I make custom block? I still can get some clue how to do it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum