Hello,
My issue is for a website I made for a friend of mine. You can visit it here: http://www.GoodDog-US.com
My problem is I cannot get the sexybookmark block to display on the frontpage, which uses the "frontpage" view.
I have tried the following to no avail:
- Setting "Show on only the listed pages." to:
<front>, and "frontpage"
- Setting "Show if the following PHP code returns TRUE (PHP-mode, experts only)." to:
<?php
if (drupal_is_front_page()) {
return TRUE;
}
?>
- and finally selecting "Show on every page except the listed pages." and leaving it blank
Nothing has worked.
In admin/Sexybookmarks I selected some nodes for SM to display in, and those work when the node is visited directly, but not when the nodes are viewed through a view (like the frontpage).
Any help would be appreciated, I am a noob!
Thanks, Dave
Comments
Comment #1
alfre.d commentedYou need change the follow code in sexybookmaks.module file:
for:
if you need too show the block in pages with url distinct of node/(number), (i.e. /legal or /gmapslocation), change for the next code:
Comment #2
decipheredThe blocks in the 6.x-2.x branch are no longer restricted to Nodes. Recommend upgrading.