customizing views output
l2u - June 12, 2008 - 16:49
Hello
I have a simple Content Type which has 2 fields (title and description) which I made using CCKs.
I use views to output the data of those fields and would like to customize the output of views module, but I dont know how.
The fields are printed this way:
[title]
[description]
and views allow me to put a link on each field to link to its node. What I would like to do instead of this is to put one link on both fields so it would output it like that:
<a href="linktonode">
[title]
[description]
</a>instead of:
<a href="linktonode">[title]</a>
<a href="linktonode">[description]</a>I've been looking at theming views but I cannot seem to find the option to customize this. How is that possible to do?
Many thanks in advance!

What do you hope to gain?
What do you hope to gain?
I want to have the boxed
I want to have a boxed menu like on the picture bellow (with css):
http://www4.slikomat.com/08/0612/nnm-menu.jpg
which is impossible to have with the code that views output in my case (as far as I know)..
I should have one link tag which starts after li tag and ends before the end of li tag.
im unsure if this is the
im unsure if this is the same in d6 as in d5, but in d5 the views module comes with a plugin called 'Views Theme Wizard' (you’ll need to enable in the admin modules page). Once enabled you will see a new 'Theme wizard' tab on the views admin page. You can use this to help you set up a 'views-YOUR-VIEW-NAME.tpl.php' template file where in which you'll have access to the object created by the view. Using this object you can then modify the layout of the view as you need to .
hope this helps.
I already took a look at
I already took a look at that but it doesnt seem like it offers link to node option.
Anyone?
Anyone?