Hi again :-) This is Garland theme.
I need to create a sidebar block which contains 4 images, Amazon.com, iTunes Store, CDBaby, and FakeScience, which links to their pages of my CDs directly with target="_blank".
After many trial and error, I created a page which contains all 4 images with HTML to jump, then used View to the node title. It shows up to the block where I want, but there are a few problems. 1) For the life of me, I can't figure out how to remove "Read more". 2) This block screws up the layout so horizontal scrollbar appears no matter how narrow I make its content _only when_ I place it to the right sidebar, while left sidebar is OK but that's not where I want.
Or am I doing this all wrong? Appreciate any help.
Hello,
From this paragraph -- "I need to create a sidebar block which contains 4 images, Amazon.com, iTunes Store, CDBaby, and FakeScience, which links to their pages of my CDs directly with target="_blank". " -- it seems that you know exactly the content you need in the block. Why not go to http://yoursite.com/?q=admin/build/block/add and handcode the block? This way, you could include exactly the divs and classes you need, and customize the look even further with some css mojo --
Cheers,
Bill
A-NO-NE Music wrote:
Hi again :-) This is Garland theme.
I need to create a sidebar block which contains 4 images, Amazon.com, iTunes Store, CDBaby, and FakeScience, which links to their pages of my CDs directly with target="_blank".
After many trial and error, I created a page which contains all 4 images with HTML to jump, then used View to the node title. It shows up to the block where I want, but there are a few problems.
- For the life of me, I can't figure out how to remove "Read more".
- This block screws up the layout so horizontal scrollbar appears no
matter how narrow I make its content _only when_ I place it to the right sidebar, while left sidebar is OK but that's not where I want.
Or am I doing this all wrong? Appreciate any help.
Bill Fitzgerald / 2007/05/26 / 02:05 AM wrote:
-- it seems that you know exactly the content you need in the block. Why not go to http://yoursite.com/?q=admin/build/block/add and handcode the block?
D'oh! I can't believe how stoopid I was. It worked as advertised. Thank you so much for pointing this out. Why did I not see this. Sigh..
This is the path. It is not a question of stupidity, but of our lack of adequate user-friendly documentation, of the "take you by the hand" variety that is so important for people just starting out. A Mercer book for 5.1, so to speak.
Well, to compensate we have nice people like Bill pointing the way on this list and... the handbooks! (Hit the handbooks button at the top of drupal.org).
Who would have thought that at http://drupal.org/node/21866 there is an article embedded there about Custom Blocks, which doesn't actually come out and say what you need here exactly, but ... " Each custom block has a title, a description, and a body. The content within the body can be as long as you wish." It omits the detail about which filter to apply (full, filtered html, etc, even php), but...
The thing is, you have to read and re-read the handbooks, in sequential search mode, until you get the hand of how it is organized. Because there is a wealth of info there. They are not so badly organized, it is just that there is an overwhelming amount of info, since Drupal is a lot like a hot-rod kit!
saludos,
Victor Kane http://awebfactory.com.ar
On 5/27/07, A-NO-NE Music madflute@anonemusic.com wrote:
Bill Fitzgerald / 2007/05/26 / 02:05 AM wrote:
-- it seems that you know exactly the content you need in the block. Why not go to http://yoursite.com/?q=admin/build/block/add and handcode the block?
D'oh! I can't believe how stoopid I was. It worked as advertised. Thank you so much for pointing this out. Why did I not see this. Sigh..
--
- Hiro
Hiroaki Honshuku, A-NO-NE Music, Boston, MA http://a-no-ne.com http://anonemusic.com
-- [ Drupal support list | http://lists.drupal.org/ ]