[support] How to display blocks in frontpage/blog page

Richard Cahilig r.cahilig at gmail.com
Sun Apr 25 22:17:49 UTC 2010


Hi,

How do I display specific blocks in frontpage and blog page and to do it in
reverse also. I tried putting these codes
<code>
To display in front page:
<?php if (drupal_is_front_page()) : ?>
</code>

<code>
To display in reverse:
<?php if (!drupal_is_front_page()) : ?>
</code>
in the "Page specific visibility settings"--->"  Show if the following PHP
code returns TRUE (PHP-mode, experts only). " but it doesn't work.
Your help is highly appreciated. Thank you very much.

Regards,

Richard R. Cahilig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100425/e4782582/attachment.html 


More information about the support mailing list