You are here

ravisagar's blog

How to give round curve to a rectangular box in side bar?

Many of us while designing has this question in our mind that how to give round curve to a rectangular box in side bar?

Somesuggest a image to put in or side image to put but we can do it with the Help of CSS
its really easy

you just need to go in that box and read the id or class of that box
for example: .sidebar or .sidebar .block h3

Now go into the Css file and implemenent this class or Id
and in that you need to appy

-moz-border-radius: 5px 5px 5px 5px;

//5px 5px 5px 5px these are values that can be changed...//

How to create a comment view in Drupal?

Today we will share how to create a simple block view to display the comments. Though Drupal offers a predefined block for comments but at many times you may need to create your own block with custom fields and filters.

To create a comment views
1.First you need to create a View with all the fields of comment as preferred.

2.The main concepts comes into the filter portion, you can add a filter of comment body

3.Then when you click on add option it shows (is equal to) and a text box that should be done is (not equal to) > empty body(empty text box)...

Timerays.com launches on 23rd July 2010

Timerays another project of Sparxsys Solutions has been made LIVE !!

URL: www.timerays.com

Project Description
This website is basically made for writing articles. In this three types of articles have been shown. These are basically Article Categories. All the articles on the site are divided into one of these three Categories.

1.Imagination
2.Objectivity
3.Imagination

The site is broadly divided into these three sections.

Just like any other Drupal site this site is also very user friendly, author can easily make there accounts and post there articles.

Nirmaanam.com

We Have some good projects among them NIRMAANAM is one of them.This project is based on interior designing concept .Our company worked hard giving all the quality from content to images.
it have many great modules used of drupal..

Table view with rows/columns switched

These 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.

This views snippet allows you to render a tableview with columns and rows switched. Suppose you have the following output:

  1. Title | Price 1 | Price 2
  2. ----------------------------
  3. Node #1 | $10 | $20
  4. Node #2 | $15 | $25

but what you really want is the node titles displayed in the header, and the prices as the rows:

  1. | Node #1 | Node #2
  2. ----------------------------
  3. Price 1 | $10 | $15
  4. 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!

Pages

Subscribe to RSS - ravisagar's blog