This forum is for assistance with theme development.

I'm trying (failing) to add a class to form elements

Hi all,
I am trying to add a class to (all) input types text and textarea. I have the following function:
I have been trying to use the theme_form_alter() function but I can't get it to add the class to the actual elements, only the wrapper elements.

new theme

hello guys !
iam new to drupal all the time i use another cms so now i start with drupal 2 question!

1)i download 1 theme and inside the zip file is : documentation -html - psd files !i can find how install that theme , witch file i must put in sites?

2)drupal in theme have something like quick start or no?

thanks alote

displaying view in a block

hi
I am trying to display a view in a block and I should say that I am totally beginner.
I've seen many video tutorials about Drupal Theme development and I've googled about it but still have problem!

I have a view of a content type which has 2 fields:
1. a name link_name
2. url link_url

I want to display this view in the following format

<a href="link_url">link_name</a>

there is also a block called "peyvand"

Mobile version of website

I started building the website from the desktop version and now I want it to be appropriate for mobile devices..
From my experience using several powerful web development tools I have learned that it is best never to build a website as just one structure that morphs into different versions according to the user device. So what I intend to do is have a URL say www.site.com that would have the desktop version (for several desktop specifications) and then m.site.com for the mobile version that carters to all mobile devices.

Events Display Feature that is flexible and scalable

I am trying to include a feature that displays events in a way that is shown in one horizontal portion of the website I am working on

The type of events that I speak of are such things as match/game fixtures,location of the event, summary of events that took place etc. I want to be able to add several info about the event as I wish.. I am building a sports website that has to provide this type of info to its audience and I have limited time to deliver...

/undefined

Hi guys, I checked

my site's recent log messages (admin/reports/dblog) lately and I found a strange problem.

According to the log, the error type is "page not found", the message is "undefined" and the user is "admin". When I saw the details, the LOCATION is my domain name, slash, undefined and REFERRER is my domain name. If my domain is abc.com, then the information for LOCATION is like http://www.abc.com/undefined and REFERRER "http://www.abc.com".

Pages

Subscribe with RSS Subscribe to RSS - Theme development