Templates
Drupal 5 PHP template variables
Hello everyone!
This is my first post to the group, so I apologize in advance if I'm going about this the wrong way, and if so, do let me know how to do better next time.
The issue is I have a template I want a certain page to use, however, I'd like to have more variables than the ones that are pre-defined for the page template. For example, I'd like to have $name (='Harry'), $job_title (='Accounts'), and the $content(='Harry's done awesome work for us ever since...') variables accessible to the page-employees.tpl.php template file.
problem med variable_get i tpl
Jag har skapat ett eget tema och har använt mig av funktionen variable_get() i exv. page-front.tpl.php. Funktionen hämtar text som jag vill ha presenterat på
förstasidan.
Det har fungerat ett tag, men nu har ett skumt fel uppstått, funktionen fungerar inte i mitt tema längre, dock fungerar funktionen om jag testar i Garland.
Den fungerar även på modulnivå, så anropet är rätt och den hittar värdena. Vidare har jag testat med variabeln "site_name", för att säkerställa värdena i db.
I page-front.tpl.php anropas funktionen, men den levererar bara default-värdet.
Drupal Dev. | Work Helping New Website Creating Template Group Views
This is related to an issue I brought up at the last SeaDUG meeting, I have yet to get it to work the way I want it to, and I'm doubting my ability to attend this month.
Programador | Tecnozona
Hola,
Necesito modificar un template de Drupal. Trabajo de una sola vez.
Se trata de tomar uno de los básicos, tipo Zen o Wireframe y transformarlo de acuerdo a la imagen provista por un diseñador.
Bienvenidos los presupuestos razonables.
Mails a ridagold (a) gmail.com.
creating or transfering good looking themes & templates for Drupal sites
My name is Olivier Bellin, and I live in Paris.
I'm an IT technology journalist and former chief editor of Computer Reseller News magazine in France (edited formerly by VNU, which created SVM and SVM Mac sites in Drupal already).
I'm planning on creating myself an IT BtoB news portal using a powerful CMS. After considering Joomla for a while, I found that Drupal is probably the best choice. I've now spent a few weeks on learning how Drupal works a bit better (I'm an user and not a programmer).

