views
How to theme your views slideshow - Add transparent text above images!!
Submitted by ravisagar on Sat, 12/25/2010 - 05:58Here is amazing CSS trick to display links and text over the image slideshow with transparent background. This is really simple to do. Just see this video from mustardseed and implement it for your websites. Really cool!
- ravisagar's blog
- Add new comment
- 1890 reads
Table view with rows/columns switched
Submitted by ravisagar on Fri, 04/03/2009 - 04:35These days I am working on my other site www.ggsipu.info to build the database of all the colleges affiliated to GGSIPU. I created a Custom Content Type to have various fields like college address, phone, fax, email, rating, etc. During the counselling time the students wants to compare various colleges based on various parameters like infrastructure, campus and other things. Now I wanted to create a view where a table is shown with the names of the colleges in the header and these parameters on rows.
Title | Price 1 | Price 2
----------------------------
Node #1 | $10 | $20
Node #2 | $15 | $25
but what you really want is the node titles displayed in the header, and the prices as the rows:
| Node #1 | Node #2
----------------------------
Price 1 | $10 | $15
Price 2 | $20 | $25
I created a view table, but obviously it showed the college names in the rows as it is the dynamic part. I searched around a lot on drupal and google and found this amazing piece of code that transpose the rows/columns.
You just need to replace YOURTHEME with the name of the theme and VIEWNAME with the view name and that's it!
- ravisagar's blog
- Add new comment
- Read more
- 1695 reads




