I'm having a slight problem with my views in block format.
I'm using administer>views to creat lists of the five latest news items for each subdivision of the site.
And I've included them in the right sidebar using administer>blocks

Or rather...
The guy who built this site before me did this. Though one of his blocks doesn't work and Drupal isn't quite transparent enough for me to figure out why.

If I try the "Configure" option on the blocks that work they have "User specific visibility settings" and "Page specific visibility settings" non of which are the problem here. But the offending block also give me the option to change "Block specific settings". It is also the only block out of this set that has the "Delete" option in the Block management page.

When comparing the diffrent views at administer>views they look alike. So I don't seem to have missed out anything there.

My conclusion is that there is a snippet somewhere that should be pasted into "Block specific settings" but how can I find that when the other blocks lack that exact area?

Please help.

Comments

syawillim’s picture

The block with the delete option is a cutom block, it was created by guy that set up the site for you it is not being output from views.

When you select configure for this block there should be some code in the 'block body' field.

If all the appropriate views are there check to see that they are all set to display as blocks.

www.aussiecarpool.com
share the cost of commuting

www.justapickle.com
blogging community for the socially conscious

www.slickfish.com.au
professional, affordable web site design, production and maintenance for small business

Harald Åberg’s picture

Ok, I see. Thank you for clearing that up.
I can probably just remove that one then.
But how do I get the view to output a block?
I've got a view made for the subsection I want (the one that the customized block also belongs to) but evidently it doesn't output a block then since it's diffrent from the other blocks.

syawillim’s picture

On th edit page for the view there is a 'Provide Block' check box when you expand out the block section.

www.aussiecarpool.com
share the cost of commuting

www.justapickle.com
blogging community for the socially conscious

www.slickfish.com.au
professional, affordable web site design, production and maintenance for small business

Harald Åberg’s picture

I managed to get it to work, finally. Thank you for your help.

tmai’s picture

Hello,

I am a Dupal newbie and I see that you are an expert and I think you could help me.

I am developing a multisite http://example.com, http://book.example.com, http://travel.example.com... I want to display a block of 5 most read books from books.example.com to display in frontpage of example.com, visitor can see the block in the example.com and books.example.com if he goes there and the content of the block in both site should be the same.
But I still do not know how to do it. Perhap write some php code to the configure body of the block, but what code? or have I use ajax, if so how?

I also try domain access module , I share the table blocks, boxes and enable the specific module but the admin/buiding/blocks will mess up with so many blocks with same name. It it very appreciate if you or any other expert can help me in this matter. Thank you.

M.Thuan