Hello,

I am having trouble in putting a block view on a page that i have created. when i put the block view on the front page, the block is visible, (with the nice css that i created) so thats working fine, but as soon as i put this onto a custom page, it does not show up.

Steps I have taken:

-Created a region in danland.info

regions[gov_news_headline] = Gov news headline

-I did the css in local.css [which is div#gov_wars_headline]

-Created the view for it. I named it gov_news_headline

-Copied page.tpl and renamed it page-domestic-news.tpl

-Opened page-domestic-news.tpl

-Removed the div id="content" , with all the php coding inside it, with div id="main":

if ($gov_news_headline):
the div id is included: div id="gov_news_headline" class="region"

then:

print $gov_news_headline

endif;

-In drupal went to Administer > Site building > Blocks
located gov_news_headline: Block
-Clicked on configure
-In the Page specific visibility settings, checkboxed Show on only the listed pages
and entered domestic-news

So now, when i test it and click on this page there is nothing on the page.
when i go back to the configuration of the block and now enter the page instead of domestic-news, the block view shows up on the front page and ONLY the front page.

Why is this? I would really, really appreicate help on this, as i am trying to change my live website template to danland.

Thank you

Ridwan

Comments

CMSuser’s picture

Status: Active » Closed (fixed)

This has now been resolved.