Pics on the sidebar ?

Posts: 6
Joined: 04/24/2008

Hello everybody,
I need to know if it is possible, with any module, to show pictures or products in the sidebares (left or right) under the menu or under the shopping cart ??
Thanks
dominik

Posts: 32
Joined: 01/25/2008

Welcome to Ubercart!

Try adding the Marketing Contribution. http://www.ubercart.org/contrib/3952

Also check out the Drupal Views module, creating block views of specific products using the table or list view should do what you are looking for.

PM me if you want me to look at the specific site.

Posts: 6
Joined: 04/24/2008

Thank you for your answer.
I will try the 2 moduls and will PM you if it is necessary.
The view module is not easy to configure.... )-:

Posts: 256
Joined: 10/16/2007

Is this what you are wanting to do? See PNG.

There are a number of ways to make this work. But I like to use blocks, use full HTML and place the image in the block. Like to store these images in the root folder in Drupal. Just make a folder in that directory called images or whatever you like. Use standard the standard 'img' html tags, etc.

Works nice and does not require the use of other modules.

Jim

AttachmentSize
sidebar.png9.8 KB
Posts: 6
Joined: 04/24/2008

That's it thanks !!!
will try it..... but I have to say that my html is not good that's why I searched for a modul...
but I think that should be feasible for me (:

Posts: 256
Joined: 10/16/2007

Here is a png with the html code. This is setup so that when you click on the image it will take you to the Pine Cone site. Or you could link to a node on your site.

The height and width are from your image size. My sidebars are 200 px wide so a little less is better. And the alt tag is nice for screen readers.

And made sure that your input format for this block is set to full html.

Jim

AttachmentSize
block_code.png12.87 KB
Posts: 256
Joined: 10/16/2007

Here is a Drupal module that could work. Take a look at it and see if it will fit your needs.

http://drupal.org/project/ad

You may want to check and see what sort of comments others have made about it.

Jim

Posts: 6
Joined: 04/24/2008

It works... with blocks and html.
Thanks for your your support (-:
dominik

Posts: 6
Joined: 04/24/2008

Is it also possible to show random products in a block.
Each refresh of the page should show a new product......
Thanx

Posts: 256
Joined: 10/16/2007

Keep in mind that there may be a module or a PHP code snippet that could work for your needs. See what Drupal.org may have in that regard.

Jim

Posts: 256
Joined: 10/16/2007
Posts: 6
Joined: 04/24/2008

THx Alaska
I found a solution with views.... and it works (-:

http://www.ubercart.org/contrib/95

dominik

Posts: 256
Joined: 10/16/2007

Yes, there are a lot of possibilities between what Drupal and Uber offers. Glad that you found a solution that works in your application.