PDA

View Full Version : Modify Views layout


bhavik_thegame
01-21-2009, 03:16 AM
Hello Guys,

I have created a new view as a Table View showing some content(Images & Image title)

All of this is working properly.
Now I want to modify the designing aspects of the view.
i.e I have some images on this view. All I want to do is to provide a banner in the header, above all the images.

I don't think its possible to access the HTML of a view being created. So where will I put the code to call an image?

Please help me. This is really urgent.

Thanks in Advance...........!!!

BhaviK

sifuhall
01-21-2009, 10:34 AM
Take a look at the contemplate module (at drupal.org) and see if that will help you.

bhavik_thegame
01-22-2009, 02:59 AM
Hey, thanx a lot for your reply.


The contemplate is really a good module. We can change the way a content created can be displayed.

But I have a view already created. Its a view of a photo album created by a Image Gallery.
If I make use of contemplate for displaying the Images then I wont get the look & feel the Image Gallery.

So, I want to change the layout(i.e the HTML of the view being displayed.)

For eg. my photo album show 5 images in a row & for the 6th image a new row is created.
my requirement is to show 3 images on the 3rd row & the 4th on next row.

How can I do this?

Please help me out.

BhaviK

sifuhall
01-23-2009, 10:09 PM
These may be a good starting point:

http://stackoverflow.com/questions/302398/how-to-change-the-html-of-the-drupal-5s-views-module

http://stackoverflow.com/questions/247991/displaying-a-drupal-view-without-a-page-template-around-it