This forum is for assistance with theme development.

Webform Replacement token empty

Hi,

I have added an cck field "field_connectionkey" a simple text field, then I added it to my content->page, if I add a new page I can fill out that value and save.

Now, I wanna send my webform on that page to my email account with the replacement token [node:field_connectionkey] (listed by available tokens) but this field is then empty. Any idea why? If I ccheck $node->field_connectinkey in my page.tpl.php all is ok.

Thanks

theme_preprocess_page

Hello, the question is how to get conten in body tag with function theme_preprocess_page like a string and change some symbols

$page['content'] in wthis subject change all symbols for example '-' to '_';

str_replace can do it, but $page['content'] isn't string variable((

What should i do to solve this problem?

Theming a node

Hi I am new to drupal and I am having some difficulties theming nodes of specific content types.

What is the difference between using node--[content-type].tpl.php and page--[content-type].tpl.php?

Also some of the articles I have read use one hyphen e.g. node-[content-type].tpl.php. Which is correct?

Themeing environment

I am brand new to themeing and am sure there is an easier way to do it than what I am doing.

My development site is on a shared server, which I can remote access. I have been creating my sub-theme in a folder on my local desktop and then uploading it periodically to the Drupal folder which is housed on the mentioned server. There are two obvious drawbacks to this.

1. I can't see my changes until I upload the new theme. Meaning I spend a lot of time backtracking when I realized something didn't go as I planned.

How can I theme the Views Exposed Filter?

Hi,

I create a view in drupal 7 display a collection of books and taxonomy for book types .. then I call book type taxonomy in my view and it displayed good .. But because book types taxonomy menu have about 10 items and maybe increased at any time, I want to display 3 items of book types and when click More link display a list of the others, I can't do it in css only, and I can't add a div to group the other part of the list .. so how can I do that?

thank you

Content not showing up in Views (Fields & Relationships)

Hello,

I am new to Drupal community and I am trying a redo my portfolio using Drupal. I am trying to create multiple blocks in a same page using Views, but there are some contents (NIDs) are not showing up in Fields and Relationships sections. How do I modify/edit the contents so I can select them in the field section? Are there any tutorial or past topics regarding this issue ? Any help would be appreciated.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development