This forum is for assistance with theme development.

question on customizing node.tpl.php

I'm trying to align the "Author Name" and the "Content" on the same line which looks like this:

Author Name | Text Text Text Text Text 
Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text 

so i used this code on node.tpl.php.

<?php print $name ?> | <?php print $content ?>

but it appears like this:

Event and Forum Topic Variable Names for Custom Teaser View Layouts

I'm trying to theme my own teaser view layouts for event and forum topic node types. Here is where I learned how to do it: http://drupal.org/node/93311

Can someone point me to where I look to see what the field values are for event and forum topic nodes? That is to say, what are the variable names to use in my theme layout for things like Start Date, End Date, Body, etc...?

Thanks!

-ron

PHP snippets in non PHPTemplate theme?

Hello,

I'm attempting to change the look of my user profile. How would I go about doing some cool things, shown here http://drupal.org/node/35728 in a non PHPTemplate theme (namely, Interlaced)? Any help would be very appreciated.

Thanks!.

How do I do this

I have created a content type - article using cck. One of the fields can be an image/a table/text
When user creates content , I want him to select a template to use and show him only one of these in the edit window.

Is this possible

Can you post a working code for collapsible content into a node ?

Can somebody post a working code for collapsible content into a node ?

I had this one but it doesn't work , the content is displayed outside the fieldset, even if this one is closed.

Use Drupal only as backend system

I’m working for a company called simPC. simPc is a manufacturer of a pc specially made for elderly people (55+). Al our services are mostly build on a webportal (personal settings, subscription settings, forum, faq, gallery, banking). At this time we use a custom made cms system but it is not ideal. It is hard to make changes because everything needs to be hard coded.

Here’s my question. We want to use drupal as our cms, but we want to keep own present structure for the front-end. Is it possible to use drupal only as a backend and not as a front-end (user interface)?

Why the above question!?! Our front-end consists of five main pages (start*1, settings*2, subscription*3, forum*4, help*5). Every page has a different layout, some pages have 2 blocks with only modules and other pages have modules and info blocks.

At this moment I’m already working to weeks on converting the theme to drupal, but I don’t know where to start and if it is even possible to convert it to a drupal theme. The menu at the top is already converted but for the other content I’m clueless.

I already looked in tons of tutorials / forums but al the themes that are created are all straight forward with a header, sidebar(s), content and footer. I hoop someone can help me because I’m literally eating my self up.

Here you can download a zip with pictures of these five main pages. So you know how our current layout with modules looks like. The layout and modules are in Dutch but I’ve added some notes to define the current blocks.

Pages

Subscribe with RSS Subscribe to RSS - Theme development