[support] How to display blocks in frontpage/blog page
Brian Choc
bchoc at t4tcolorado.org
Sun Apr 25 22:56:00 UTC 2010
Based on what I understand you're trying to do, you do not need to use PHP
to accomplish this.
Set "Show on only the listed pages." and the type "<front>" and "/blog/*"
(or whatever the path is) on two lines in the box.
Then do the same thing with "Show on every page except the listed pages."
set.
Brian
On Sun, Apr 25, 2010 at 4:17 PM, Richard Cahilig <r.cahilig at gmail.com>wrote:
> 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
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100425/8ac1d6ea/attachment.html
More information about the support
mailing list