<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14424</id>
	<title>Nabble - Drupal - Themes</title>
	<updated>2009-11-25T10:34:36Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Drupal---Themes-f14424.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Drupal---Themes-f14424.html" />
	<subtitle type="html">A list for Drupal theme developers/designers.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26518026</id>
	<title>Re: How do i theme blog entries by content type?</title>
	<published>2009-11-25T10:34:36Z</published>
	<updated>2009-11-25T10:34:36Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">Hi Brendan,
&lt;br&gt;&lt;br&gt;1. If you are using pathauto, or url names that are more legible than 
&lt;br&gt;node/47 etc. then you should also get better theme template suggestions. 
&lt;br&gt;Make sure that you are linking to the page by its human-name, not its ID 
&lt;br&gt;number.
&lt;br&gt;&lt;br&gt;Some possible other solutions:
&lt;br&gt;&lt;br&gt;2. User devel to find the $node-&amp;gt;type variable, and populate that in one 
&lt;br&gt;of your div tags id or class name at a high enough level, that you can 
&lt;br&gt;then detect and then theme just that page (or group of pages by type), 
&lt;br&gt;this would be done in your main page.tpl.php [and then you don't even 
&lt;br&gt;need a separate tpl.php files...]
&lt;br&gt;&lt;br&gt;3. Use Views to make a blog view that you like, and then you can theme 
&lt;br&gt;just that View [with however many 'pages' you make of that view as 
&lt;br&gt;daughters]
&lt;br&gt;&lt;br&gt;4. Use Panels with Views, and then theme on the Panels level.
&lt;br&gt;&lt;br&gt;I'm sure there are others I am forgetting [there is always more than 4 
&lt;br&gt;ways to skin a...]
&lt;br&gt;&lt;br&gt;brendan, fresh-off.com wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; *Hello Themers!*
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; */How do I theme a page based on content type?/*
&lt;br&gt;&amp;gt; I’ve got a site with a few different custom pages and separate .tpl.php 
&lt;br&gt;&amp;gt; files for their custom layouts and CSS/XHTML. &amp;nbsp;The “Blog” page is a View 
&lt;br&gt;&amp;gt; with a list of teasers. &amp;nbsp;How do I create a custom .tpl.php file that 
&lt;br&gt;&amp;gt; only targets the “page” (and layout) that the individual/full blog 
&lt;br&gt;&amp;gt; entries are displayed on?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Theme Developer list these as the candidate files: &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;*page-node-#.tpl.php *&amp;lt;* **page-node.tpl.php *&amp;lt;* **page.tpl.php. &amp;nbsp;*
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But I don’t want to use “page.tpl.php” as its too broad in its reach and 
&lt;br&gt;&amp;gt; &amp;nbsp;I may decide to add other pages non-blog pages in the future. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I’ve tried “page-blog.tpl.php” – but it broke my layout. &amp;nbsp;I still have 
&lt;br&gt;&amp;gt; some unresolved CSS/XHTML issues, so I’m wondering if 
&lt;br&gt;&amp;gt; “page-blog.tpl.php” is the correct &amp;nbsp;naming convention, but &amp;nbsp;I just have 
&lt;br&gt;&amp;gt; a few bugs in my code to work out?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /A second (less important) question: /
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Keeping track of all those .tpl.php files is getting confusing! &amp;nbsp;The 
&lt;br&gt;&amp;gt; Views pages are easy (“page-blog.tpl.php” &amp;nbsp;or “page-work.tpl.php” &amp;nbsp;for 
&lt;br&gt;&amp;gt; example), but Theme Developer is telling me that for all pages using the 
&lt;br&gt;&amp;gt; “page” content type, that I have to style them by their ID 
&lt;br&gt;&amp;gt; (“page-node-1.tpl.php” for the “about” page). &amp;nbsp;Is there any way to name 
&lt;br&gt;&amp;gt; a .tpl.php file for a page content type in a more semantic/meaningful way? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Such as “page-contact.tpl.php” instead of “page-node-392.tpl.php”
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; *brendan, fresh-off.com*
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Creative Direction &amp; Consultation: Web | Print | Brand
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://fresh-off.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fresh-off.com&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hello@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518026&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hello@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 206.328.1067
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518026&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518026&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-do-i-theme-blog-entries-by-content-type--tp26517849p26518026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26517849</id>
	<title>How do i theme blog entries by content type?</title>
	<published>2009-11-25T10:21:31Z</published>
	<updated>2009-11-25T10:21:31Z</updated>
	<author>
		<name>brendan, fresh-off.com</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;Hello Themers!&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;i&gt;How do I theme a page based on content type?&lt;/i&gt;&lt;/b&gt; &lt;br&gt;
I&amp;#8217;ve got a site with a few different custom pages and separate .tpl.php
files for their custom layouts and CSS/XHTML.&amp;nbsp; The &amp;#8220;Blog&amp;#8221; page
is a View with a list of teasers.&amp;nbsp; How do I create a custom .tpl.php file
that only targets the &amp;#8220;page&amp;#8221; (and layout) that the individual/full blog
entries are displayed on?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;The Theme Developer list these as the candidate files:&amp;nbsp;
&amp;nbsp;&lt;b&gt;page-node-#.tpl.php&lt;span class=delimiter&gt; &lt;/span&gt;&lt;/b&gt;&lt;span class=delimiter&gt;&amp;lt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;page-node.tpl.php&lt;span class=delimiter&gt; &lt;/span&gt;&lt;/b&gt;&lt;span class=delimiter&gt;&amp;lt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;b&gt;page.tpl.php.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;But I don&amp;#8217;t want to use &amp;#8220;page.tpl.php&amp;#8221; as
its too broad in its reach and &amp;nbsp;I may decide to add other pages non-blog
pages in the future.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;I&amp;#8217;ve tried &amp;#8220;page-blog.tpl.php&amp;#8221; &amp;#8211; but
it broke my layout.&amp;nbsp; I still have some unresolved CSS/XHTML issues, so I&amp;#8217;m
wondering if &amp;#8220;page-blog.tpl.php&amp;#8221; is the correct &amp;nbsp;naming
convention, but &amp;nbsp;I just have a few bugs in my code to work out?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;i&gt;A second (less important) question: &lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Keeping track of all those .tpl.php files is getting
confusing!&amp;nbsp; The Views pages are easy
(&amp;#8220;page-blog.tpl.php&amp;#8221;&amp;nbsp; or &amp;#8220;page-work.tpl.php&amp;#8221;&amp;nbsp;
for example), but Theme Developer is telling me that for all pages using the &amp;#8220;page&amp;#8221;
content type, that I have to style them by their ID
(&amp;#8220;page-node-1.tpl.php&amp;#8221; for the &amp;#8220;about&amp;#8221; page).&amp;nbsp; Is
there any way to name a .tpl.php file for a page content type in a more
semantic/meaningful way?&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Such as &amp;#8220;page-contact.tpl.php&amp;#8221; instead of
&amp;#8220;page-node-392.tpl.php&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Thanks!&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style='color:#404040'&gt;brendan, fresh-off.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#404040'&gt;Creative Direction &amp;amp;
Consultation: Web | Print | Brand&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#404040'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#404040'&gt;&lt;a href=&quot;http://fresh-off.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://fresh-off.com&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#404040'&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517849&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hello@...&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style='color:#404040'&gt;206.328.1067&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-bottom:12.0pt'&gt;&lt;span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26517849&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-do-i-theme-blog-entries-by-content-type--tp26517849p26517849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26437782</id>
	<title>Free Drupal Themes</title>
	<published>2009-11-19T19:09:33Z</published>
	<updated>2009-11-19T19:09:33Z</updated>
	<author>
		<name>Mr Gilbert</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I wanted to share a website I'm building to release free new themes
&lt;br&gt;daily to all the wonderful drupal users out there. My URL is
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://templates.computersteroids.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://templates.computersteroids.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Gilbert
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26437782&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Free-Drupal-Themes-tp26437782p26437782.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26433616</id>
	<title>Re: promote free themes?</title>
	<published>2009-11-19T12:31:36Z</published>
	<updated>2009-11-19T12:31:36Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">drupal.org/forum
&lt;br&gt;?
&lt;br&gt;&lt;br&gt;write to lullabot, drupal.org, and other streamcaster / bloggers / 
&lt;br&gt;ezines of drupal.
&lt;br&gt;&lt;br&gt;send the link to drupal mailing lists [like this one] -- assuming that 
&lt;br&gt;is permissible from a posting-policy perspective (?)
&lt;br&gt;&lt;br&gt;good SEO promotion of your page
&lt;br&gt;&lt;br&gt;maybe contact &amp;quot;theme garden&amp;quot; too?
&lt;br&gt;&lt;br&gt;Holly Ferree wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm sure there is somewhere on craigslist that you could post that info. And
&lt;br&gt;&amp;gt; there should be some forum that you could post it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/19/09 1:25 PM, &amp;quot;Mr Gilbert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrgilb@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; i am wondering if anyone knows how i can promote a free drupal themes
&lt;br&gt;&amp;gt;&amp;gt; website to get the word out
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; thanks
&lt;br&gt;&amp;gt;&amp;gt; gilbert
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433616&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Holly Ferree, Graphic Designer, BFA
&lt;br&gt;&amp;gt; 813.786.0852
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433616&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hferree@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.designbyholly.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.designbyholly.com/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433616&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433616&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/promote-free-themes--tp26431474p26433616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26432648</id>
	<title>Re: promote free themes?</title>
	<published>2009-11-19T10:33:40Z</published>
	<updated>2009-11-19T10:33:40Z</updated>
	<author>
		<name>Holly Ferree</name>
	</author>
	<content type="html">I'm sure there is somewhere on craigslist that you could post that info. And
&lt;br&gt;there should be some forum that you could post it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 11/19/09 1:25 PM, &amp;quot;Mr Gilbert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26432648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mrgilb@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; i am wondering if anyone knows how i can promote a free drupal themes
&lt;br&gt;&amp;gt; website to get the word out
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks
&lt;br&gt;&amp;gt; gilbert
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26432648&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&lt;br&gt;Holly Ferree, Graphic Designer, BFA
&lt;br&gt;813.786.0852
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26432648&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hferree@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://www.designbyholly.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.designbyholly.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26432648&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/promote-free-themes--tp26431474p26432648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26431474</id>
	<title>promote free themes?</title>
	<published>2009-11-19T10:25:40Z</published>
	<updated>2009-11-19T10:25:40Z</updated>
	<author>
		<name>Mr Gilbert</name>
	</author>
	<content type="html">i am wondering if anyone knows how i can promote a free drupal themes
&lt;br&gt;website to get the word out
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;gilbert
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26431474&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/promote-free-themes--tp26431474p26431474.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421167</id>
	<title>Color.module regarding the correct id and classes for preview.css</title>
	<published>2009-11-18T22:49:29Z</published>
	<updated>2009-11-18T22:49:29Z</updated>
	<author>
		<name>Holly Ferree</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;I need some help figuring out the css id or class that are used in the
&lt;br&gt;preview.css (regarding the top header and bottom header areas) when using
&lt;br&gt;the color.mdoule. I have not found any documentation specifying the id's and
&lt;br&gt;classes that can be used when styling areas in the preview.png, and am out
&lt;br&gt;of possible names they could be.
&lt;br&gt;&lt;br&gt;Background:
&lt;br&gt;I decided to learn more and create my own theme that integrates the
&lt;br&gt;color.module. I have everything working and the colors switch to mercury,
&lt;br&gt;ash, etc. without any trouble. :o) (very happy that it works)
&lt;br&gt;&lt;br&gt;But I am having difficulty with the preview.png showing correctly. It wants
&lt;br&gt;to combine the top header color and the bottom header color in a gradient,
&lt;br&gt;that is not used in my theme. And I figure that since the colors display the
&lt;br&gt;properly when a different theme color set is chosen, it would be nice for
&lt;br&gt;the preview.png to show the user an exact preview before they select their
&lt;br&gt;new color set. 
&lt;br&gt;&lt;br&gt;My theme uses the top header (with borwn) and the bottom header (with blue).
&lt;br&gt;There is no gradient used, so I want it to reflect that in the preview.png.
&lt;br&gt;&lt;br&gt;Issue:
&lt;br&gt;Need the know the css tag for displaying the top header and the bottom
&lt;br&gt;header colors.
&lt;br&gt;&lt;br&gt;I have it semi working for the top 16px -- it shows the base color if I use
&lt;br&gt;the css pasted below (but I want the top header color, since that is the
&lt;br&gt;actual color it will be).
&lt;br&gt;&lt;br&gt;The bottom header area that is 48px high wants to display the gradient (top
&lt;br&gt;header and bottom header...all I want is the bottom header color). Does
&lt;br&gt;anyone know the correct css to insert so that it doesn't use the gradient
&lt;br&gt;but uses the bottom header color?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Holly Ferree
&lt;br&gt;&lt;br&gt;----------------------
&lt;br&gt;Preview.css: 
&lt;br&gt;(the top:17px allows the top header color to display perfectly :D. However
&lt;br&gt;the height: 48px displays the gradient which I would like it to display the
&lt;br&gt;bottom header color but I don't know the correct css tag. I've tried
&lt;br&gt;changing #gradient to #bottom, #header, #headerbottom, and #header-bottom,
&lt;br&gt;but no luck for either)
&lt;br&gt;&lt;br&gt;#preview #gradient { &amp;lt;-- what should I put here? #preview #_______?
&lt;br&gt;&amp;nbsp; position: absolute;
&lt;br&gt;&amp;nbsp; left: 0;
&lt;br&gt;&amp;nbsp; right: 0;
&lt;br&gt;&amp;nbsp; top: 17px;
&lt;br&gt;&amp;nbsp; height: 48px;
&lt;br&gt;&amp;nbsp; z-index: 2;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;*******************************
&lt;br&gt;Color.inc:
&lt;br&gt;&lt;br&gt;fill' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'base' =&amp;gt; array(0, 74, 900, 426),
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'top' =&amp;gt; array(0, 0, 900, 17),
&lt;br&gt;&amp;nbsp; &amp;nbsp; 'bottom' =&amp;gt; array(0, 17, 900, 48),
&lt;br&gt;&amp;nbsp; ),
&lt;br&gt;&lt;br&gt;Example of the preview.png layout using Belgian Chocolate theme:
&lt;br&gt;------------------------------------------
&lt;br&gt;Top header, dark brown, #6c420e, height: 17px
&lt;br&gt;------------------------------------------
&lt;br&gt;Bottom Header, red, #971702, height: 48px;
&lt;br&gt;&lt;br&gt;------------------------------------------
&lt;br&gt;THIS AREA IS DISPLAYING PERFECTLY
&lt;br&gt;&lt;br&gt;Content Area
&lt;br&gt;&lt;br&gt;base color, tan #d5b048
&lt;br&gt;height: auto;
&lt;br&gt;&lt;br&gt;Link color: dark brown #6c420e
&lt;br&gt;Text color: dark red, #494949
&lt;br&gt;------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421167&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Color.module-regarding-the-correct-id-and-classes-for-preview.css-tp26421167p26421167.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26345023</id>
	<title>Re: how to have a edit-tab button go to node, instead of view?</title>
	<published>2009-11-13T15:09:10Z</published>
	<updated>2009-11-13T15:09:10Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">oh excellent, thanks!
&lt;br&gt;&lt;br&gt;Peter Anderson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; To display an edit link that links to the edit page for each node, you 
&lt;br&gt;&amp;gt; add the 'Node: Edit link' field to the view.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sebastian wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello, not sure if this is a theming question, or a support question, so 
&lt;br&gt;&amp;gt;&amp;gt; I am asking both lists.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This si hopefully a simple issue., but when I use a view to display a 
&lt;br&gt;&amp;gt;&amp;gt; set of nodes, the edit buttons that appear, all link to the view, and 
&lt;br&gt;&amp;gt;&amp;gt; NOT the node in question.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I obviously would never want my client to edit the view, as they would 
&lt;br&gt;&amp;gt;&amp;gt; have a heart attack, instead i want them to edit the actual content that 
&lt;br&gt;&amp;gt;&amp;gt; they are seeing in the view's output.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; How can I change the this so that the view displays edit buttons for the 
&lt;br&gt;&amp;gt;&amp;gt; nodes, instead of for itself?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks!!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Kindly,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sebastian.
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26345023&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Kind regards,
&lt;br&gt;&amp;gt; Peter Anderson.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://panda.id.au&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://panda.id.au&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26345023&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26345023&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-have-a-edit-tab-button-go-to-node%2C-instead-of-view--tp26342497p26345023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26344897</id>
	<title>Re: how to have a edit-tab button go to node, instead of view?</title>
	<published>2009-11-13T14:45:04Z</published>
	<updated>2009-11-13T14:45:04Z</updated>
	<author>
		<name>Peter Anderson-9</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;font size=&quot;-1&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;To display an edit link that links
to the edit page for each node, you add the 'Node: Edit link' field to
the view.&lt;/font&gt;&lt;/font&gt;&lt;br&gt;
&lt;br&gt;
sebastian wrote:
&lt;blockquote cite=&quot;mid:4AFDB8CA.5080701@gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hello, not sure if this is a theming question, or a support question, so 
I am asking both lists.

This si hopefully a simple issue., but when I use a view to display a 
set of nodes, the edit buttons that appear, all link to the view, and 
NOT the node in question.

I obviously would never want my client to edit the view, as they would 
have a heart attack, instead i want them to edit the actual content that 
they are seeing in the view's output.

How can I change the this so that the view displays edit buttons for the 
nodes, instead of for itself?

Thanks!!

Kindly,

Sebastian.
_______________________________________________
themes mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344897&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;pre class=&quot;moz-signature&quot; cols=&quot;72&quot;&gt;-- 
Kind regards,
Peter Anderson.
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://panda.id.au&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://panda.id.au&lt;/a&gt;
&lt;/pre&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26344897&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-have-a-edit-tab-button-go-to-node%2C-instead-of-view--tp26342497p26344897.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26342497</id>
	<title>how to have a edit-tab button go to node, instead of view?</title>
	<published>2009-11-13T11:51:38Z</published>
	<updated>2009-11-13T11:51:38Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">Hello, not sure if this is a theming question, or a support question, so 
&lt;br&gt;I am asking both lists.
&lt;br&gt;&lt;br&gt;This si hopefully a simple issue., but when I use a view to display a 
&lt;br&gt;set of nodes, the edit buttons that appear, all link to the view, and 
&lt;br&gt;NOT the node in question.
&lt;br&gt;&lt;br&gt;I obviously would never want my client to edit the view, as they would 
&lt;br&gt;have a heart attack, instead i want them to edit the actual content that 
&lt;br&gt;they are seeing in the view's output.
&lt;br&gt;&lt;br&gt;How can I change the this so that the view displays edit buttons for the 
&lt;br&gt;nodes, instead of for itself?
&lt;br&gt;&lt;br&gt;Thanks!!
&lt;br&gt;&lt;br&gt;Kindly,
&lt;br&gt;&lt;br&gt;Sebastian.
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26342497&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-have-a-edit-tab-button-go-to-node%2C-instead-of-view--tp26342497p26342497.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26309240</id>
	<title>Re: how to theme [class/id] a nord_form? SOLVED</title>
	<published>2009-11-11T13:47:37Z</published>
	<updated>2009-11-11T13:47:37Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">Hello comrades,
&lt;br&gt;&lt;br&gt;So I wasn't sure how to reference specific fields when most of the 
&lt;br&gt;&amp;quot;standard&amp;quot; fields only have an id or class with something ultra generic 
&lt;br&gt;like: &amp;quot;collapse-processed&amp;quot; or &amp;quot;filefield&amp;quot; ; which all the other fields 
&lt;br&gt;also say...
&lt;br&gt;&lt;br&gt;So instead I wrote a function which finally achieved what I wanted: I'd 
&lt;br&gt;be curious if this is not the best way to approach this though? as in 
&lt;br&gt;future projects I want to repeat this again as it really does provide 
&lt;br&gt;for a MUCH cleaner interface to just turn completely OFF anything that I 
&lt;br&gt;don't think a user needs 99% of the time. The only thing missing here 
&lt;br&gt;right now, is a user (role) check to toggle whether they are shown or 
&lt;br&gt;not [I still want to see them, for odd occasions, but the 'client' 
&lt;br&gt;doesn't need to]
&lt;br&gt;I use &amp;quot;node_type to actually figure out which node is in question as 
&lt;br&gt;otherwise i can't do very good specific theming! I finally figured out 
&lt;br&gt;today how to traverse the $form Array; which is a big help...
&lt;br&gt;;)
&lt;br&gt;&lt;br&gt;Code follows:
&lt;br&gt;&lt;br&gt;function phptemplate_node_form($form) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output = &amp;quot;\n&amp;lt;div class=\&amp;quot;node-form\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Admin form fields and submit buttons must be rendered first, because
&lt;br&gt;&amp;nbsp; &amp;nbsp;// they need to go to the bottom of the form, and so should not be 
&lt;br&gt;part of
&lt;br&gt;&amp;nbsp; &amp;nbsp;// the catch-all call to drupal_render().
&lt;br&gt;&amp;nbsp; &amp;nbsp;$admin = '';
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;$buttons = drupal_render($form['buttons']);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Everything else gets rendered here, and is displayed before the 
&lt;br&gt;admin form
&lt;br&gt;&amp;nbsp; &amp;nbsp;// field and the submit buttons.
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;standard\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $output .= &amp;quot;&amp;lt;div class='&amp;quot; . $form['type']['#value'] . &amp;quot;'&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; 	$output .= drupal_render($form['title']);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;	$output .= drupal_render($form['field_page_area']);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ( $form['type']['#value'] == &amp;quot;wide_image&amp;quot;) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;		$output .= drupal_render($form['field_wide_image']);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $output .= &amp;quot;&amp;lt;div class='hidden'&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $output .= drupal_render($form);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;if (!empty($admin)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;admin\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= $admin;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= $buttons;
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;return $output;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Christopher M. Jones wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What you could do is create overrides for each form element type, adding 
&lt;br&gt;&amp;gt; an id or class based on the name or some other attribute of the form 
&lt;br&gt;&amp;gt; element. I've done this to style specific form elements in forms. That 
&lt;br&gt;&amp;gt; might be simpler than unsetting properties in the form array, and you 
&lt;br&gt;&amp;gt; could do it all from within your template rather than having to create a 
&lt;br&gt;&amp;gt; whole module. Have a look at the theme functions in the API 
&lt;br&gt;&amp;gt; documentation to see how you can do this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; sebastian wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Thanks Lee, others,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My ideal solution would be if the form elements had id or class names, 
&lt;br&gt;&amp;gt;&amp;gt; that were unique, so that I could simply hide [display:none] the form 
&lt;br&gt;&amp;gt;&amp;gt; elements that I don't feel like the less-tech savvy content admins need 
&lt;br&gt;&amp;gt;&amp;gt; to see.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; My back-up solution was turning them off as a function, as part of the 
&lt;br&gt;&amp;gt;&amp;gt; drupal_render function.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is for the node creation, of several node types; but right now I am 
&lt;br&gt;&amp;gt;&amp;gt; just trying the basic: node-&amp;gt;create-&amp;gt;page type.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Couple of questions:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. is there a way to inject class and/or node ID's to the basic 
&lt;br&gt;&amp;gt;&amp;gt; node_edit form? I would want the title to always have something like 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;id=&amp;quot;node_title&amp;quot; on ALL of my node edit forms; whether it is for adding 
&lt;br&gt;&amp;gt;&amp;gt; a 'page' type, or a new type not yet imagined but latter added. [that 
&lt;br&gt;&amp;gt;&amp;gt; way if I am always hiding the 'publishing options' section, for a 
&lt;br&gt;&amp;gt;&amp;gt; particular user, it would be hidden site-wide on all forms]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2. if it is NOT possible to do the above, then my backup is to use 
&lt;br&gt;&amp;gt;&amp;gt; drupal_render(), as described below. Am I correct that I would just use:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; unset($form['name_of_element']);
&lt;br&gt;&amp;gt;&amp;gt; drupal_render($form);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3. If there is anyway I could take my work [above] and make it into a 
&lt;br&gt;&amp;gt;&amp;gt; module for others to benefit from this change, I would love to 
&lt;br&gt;&amp;gt;&amp;gt; contribute this to the drupal community. As I think I must not be the 
&lt;br&gt;&amp;gt;&amp;gt; only person who wants to style specific elements on the node-creation 
&lt;br&gt;&amp;gt;&amp;gt; page, and right now there is simply no way to target these fields in CSS...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've never contributed before though, and still learning, so not sure if 
&lt;br&gt;&amp;gt;&amp;gt; whatever changes I make will be compatible as a &amp;quot;module&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you so much for your help!!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sebastian.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Lee Rowlands wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; These are inserted by the devel_themer module and should not be relied upon
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Which are the only three I actually need to have displayed for a 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; page and erases all my changes]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The call to drupal_render($form) actually renders the hidden elements such
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; as form id and build id which are needed to determine if the form was
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; submitted by the Form API. If these aren't found, the Form API thinks it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wasn't submitted and hence no submit function is called and no data is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; saved.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You need to examine the $form variable and unset (using the unset function)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; any array members (form elements) you don't want then add a final
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; drupal_render($form) to the end of your output and thiss will add all the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; hidden stuff (and anything else that still yet to be rendered).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm assuming you don't have a module here? Otherwise you could do the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; unsetting in hook_form_alter.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309240&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309240&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309240&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26309240&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26309240.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307718</id>
	<title>Re: how to theme [class/id] a nord_form?</title>
	<published>2009-11-11T12:07:33Z</published>
	<updated>2009-11-11T12:07:33Z</updated>
	<author>
		<name>Christopher M. Jones</name>
	</author>
	<content type="html">What you could do is create overrides for each form element type, adding 
&lt;br&gt;an id or class based on the name or some other attribute of the form 
&lt;br&gt;element. I've done this to style specific form elements in forms. That 
&lt;br&gt;might be simpler than unsetting properties in the form array, and you 
&lt;br&gt;could do it all from within your template rather than having to create a 
&lt;br&gt;whole module. Have a look at the theme functions in the API 
&lt;br&gt;documentation to see how you can do this.
&lt;br&gt;&lt;br&gt;sebastian wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Thanks Lee, others,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My ideal solution would be if the form elements had id or class names, 
&lt;br&gt;&amp;gt; that were unique, so that I could simply hide [display:none] the form 
&lt;br&gt;&amp;gt; elements that I don't feel like the less-tech savvy content admins need 
&lt;br&gt;&amp;gt; to see.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My back-up solution was turning them off as a function, as part of the 
&lt;br&gt;&amp;gt; drupal_render function.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is for the node creation, of several node types; but right now I am 
&lt;br&gt;&amp;gt; just trying the basic: node-&amp;gt;create-&amp;gt;page type.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Couple of questions:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. is there a way to inject class and/or node ID's to the basic 
&lt;br&gt;&amp;gt; node_edit form? I would want the title to always have something like 
&lt;br&gt;&amp;gt; &amp;quot;id=&amp;quot;node_title&amp;quot; on ALL of my node edit forms; whether it is for adding 
&lt;br&gt;&amp;gt; a 'page' type, or a new type not yet imagined but latter added. [that 
&lt;br&gt;&amp;gt; way if I am always hiding the 'publishing options' section, for a 
&lt;br&gt;&amp;gt; particular user, it would be hidden site-wide on all forms]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. if it is NOT possible to do the above, then my backup is to use 
&lt;br&gt;&amp;gt; drupal_render(), as described below. Am I correct that I would just use:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; unset($form['name_of_element']);
&lt;br&gt;&amp;gt; drupal_render($form);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3. If there is anyway I could take my work [above] and make it into a 
&lt;br&gt;&amp;gt; module for others to benefit from this change, I would love to 
&lt;br&gt;&amp;gt; contribute this to the drupal community. As I think I must not be the 
&lt;br&gt;&amp;gt; only person who wants to style specific elements on the node-creation 
&lt;br&gt;&amp;gt; page, and right now there is simply no way to target these fields in CSS...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've never contributed before though, and still learning, so not sure if 
&lt;br&gt;&amp;gt; whatever changes I make will be compatible as a &amp;quot;module&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you so much for your help!!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sebastian.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Lee Rowlands wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&amp;gt;&amp;gt; These are inserted by the devel_themer module and should not be relied upon
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Which are the only three I actually need to have displayed for a 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; page and erases all my changes]
&lt;br&gt;&amp;gt;&amp;gt; The call to drupal_render($form) actually renders the hidden elements such
&lt;br&gt;&amp;gt;&amp;gt; as form id and build id which are needed to determine if the form was
&lt;br&gt;&amp;gt;&amp;gt; submitted by the Form API. If these aren't found, the Form API thinks it
&lt;br&gt;&amp;gt;&amp;gt; wasn't submitted and hence no submit function is called and no data is
&lt;br&gt;&amp;gt;&amp;gt; saved.
&lt;br&gt;&amp;gt;&amp;gt; You need to examine the $form variable and unset (using the unset function)
&lt;br&gt;&amp;gt;&amp;gt; any array members (form elements) you don't want then add a final
&lt;br&gt;&amp;gt;&amp;gt; drupal_render($form) to the end of your output and thiss will add all the
&lt;br&gt;&amp;gt;&amp;gt; hidden stuff (and anything else that still yet to be rendered).
&lt;br&gt;&amp;gt;&amp;gt; I'm assuming you don't have a module here? Otherwise you could do the
&lt;br&gt;&amp;gt;&amp;gt; unsetting in hook_form_alter.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307718&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307718&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26307718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26307441</id>
	<title>Re: how to theme [class/id] a nord_form?</title>
	<published>2009-11-11T11:52:08Z</published>
	<updated>2009-11-11T11:52:08Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">Hi Thanks Lee, others,
&lt;br&gt;&lt;br&gt;My ideal solution would be if the form elements had id or class names, 
&lt;br&gt;that were unique, so that I could simply hide [display:none] the form 
&lt;br&gt;elements that I don't feel like the less-tech savvy content admins need 
&lt;br&gt;to see.
&lt;br&gt;&lt;br&gt;My back-up solution was turning them off as a function, as part of the 
&lt;br&gt;drupal_render function.
&lt;br&gt;&lt;br&gt;This is for the node creation, of several node types; but right now I am 
&lt;br&gt;just trying the basic: node-&amp;gt;create-&amp;gt;page type.
&lt;br&gt;&lt;br&gt;Couple of questions:
&lt;br&gt;&lt;br&gt;1. is there a way to inject class and/or node ID's to the basic 
&lt;br&gt;node_edit form? I would want the title to always have something like 
&lt;br&gt;&amp;quot;id=&amp;quot;node_title&amp;quot; on ALL of my node edit forms; whether it is for adding 
&lt;br&gt;a 'page' type, or a new type not yet imagined but latter added. [that 
&lt;br&gt;way if I am always hiding the 'publishing options' section, for a 
&lt;br&gt;particular user, it would be hidden site-wide on all forms]
&lt;br&gt;&lt;br&gt;2. if it is NOT possible to do the above, then my backup is to use 
&lt;br&gt;drupal_render(), as described below. Am I correct that I would just use:
&lt;br&gt;&lt;br&gt;unset($form['name_of_element']);
&lt;br&gt;drupal_render($form);
&lt;br&gt;&lt;br&gt;?
&lt;br&gt;&lt;br&gt;3. If there is anyway I could take my work [above] and make it into a 
&lt;br&gt;module for others to benefit from this change, I would love to 
&lt;br&gt;contribute this to the drupal community. As I think I must not be the 
&lt;br&gt;only person who wants to style specific elements on the node-creation 
&lt;br&gt;page, and right now there is simply no way to target these fields in CSS...
&lt;br&gt;&lt;br&gt;I've never contributed before though, and still learning, so not sure if 
&lt;br&gt;whatever changes I make will be compatible as a &amp;quot;module&amp;quot;
&lt;br&gt;&lt;br&gt;Thank you so much for your help!!
&lt;br&gt;&lt;br&gt;Sebastian.
&lt;br&gt;&lt;br&gt;Lee Rowlands wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;&amp;gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&amp;gt; These are inserted by the devel_themer module and should not be relied upon
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which are the only three I actually need to have displayed for a 
&lt;br&gt;&amp;gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;&amp;gt;&amp;gt; page and erases all my changes]
&lt;br&gt;&amp;gt; The call to drupal_render($form) actually renders the hidden elements such
&lt;br&gt;&amp;gt; as form id and build id which are needed to determine if the form was
&lt;br&gt;&amp;gt; submitted by the Form API. If these aren't found, the Form API thinks it
&lt;br&gt;&amp;gt; wasn't submitted and hence no submit function is called and no data is
&lt;br&gt;&amp;gt; saved.
&lt;br&gt;&amp;gt; You need to examine the $form variable and unset (using the unset function)
&lt;br&gt;&amp;gt; any array members (form elements) you don't want then add a final
&lt;br&gt;&amp;gt; drupal_render($form) to the end of your output and thiss will add all the
&lt;br&gt;&amp;gt; hidden stuff (and anything else that still yet to be rendered).
&lt;br&gt;&amp;gt; I'm assuming you don't have a module here? Otherwise you could do the
&lt;br&gt;&amp;gt; unsetting in hook_form_alter.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307441&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26307441&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26307441.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26302158</id>
	<title>Re: how to theme [class/id] a nord_form?</title>
	<published>2009-11-11T06:28:29Z</published>
	<updated>2009-11-11T06:28:29Z</updated>
	<author>
		<name>aerosmith-2</name>
	</author>
	<content type="html">I think #thmr_81, thmr_86, #thmr_91, #thmr_98 are generated by devel
&lt;br&gt;module.. its just to help devel module highlight certain elements of
&lt;br&gt;the theme ... disable it or ignore those ids while theming.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Raffi Hovhannesian
&lt;br&gt;&lt;a href=&quot;http://www.psd2drupal.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.psd2drupal.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Nov 11, 2009 at 6:09 AM, Christopher M. Jones
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302158&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cjones@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Those ids are inserted by the devel themer module. Disable the module
&lt;br&gt;&amp;gt; and they go away.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sebastian wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello Drupalites,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am tryign to figure this out.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of
&lt;br&gt;&amp;gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If I try and use CSS to access them [perhaps setting display:non for
&lt;br&gt;&amp;gt;&amp;gt; non-tech savy web admins]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Then this works, UNTIL something else changes on the page, and then the
&lt;br&gt;&amp;gt;&amp;gt; numbers all change... SO, I need to find a way to give these random
&lt;br&gt;&amp;gt;&amp;gt; place holding id's actual ID's that relate to the content inside of them
&lt;br&gt;&amp;gt;&amp;gt; [authored by, published, file upload etc.]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I found the hook:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt;&amp;gt; /*
&lt;br&gt;&amp;gt;&amp;gt; * Theming the node form
&lt;br&gt;&amp;gt;&amp;gt; */
&lt;br&gt;&amp;gt;&amp;gt; function phptemplate_node_form($form) {
&lt;br&gt;&amp;gt;&amp;gt;    $output = &amp;quot;\n&amp;lt;div class=\&amp;quot;node-form\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    // Admin form fields and submit buttons must be rendered first, because
&lt;br&gt;&amp;gt;&amp;gt;    // they need to go to the bottom of the form, and so should not be
&lt;br&gt;&amp;gt;&amp;gt; part of
&lt;br&gt;&amp;gt;&amp;gt;    // the catch-all call to drupal_render().
&lt;br&gt;&amp;gt;&amp;gt;    $admin = '';
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    $buttons = drupal_render($form['buttons']);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    // Everything else gets rendered here, and is displayed before the
&lt;br&gt;&amp;gt;&amp;gt; admin form
&lt;br&gt;&amp;gt;&amp;gt;    // field and the submit buttons.
&lt;br&gt;&amp;gt;&amp;gt;    $output .= &amp;quot;  &amp;lt;div class=\&amp;quot;standard\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;       $output .= drupal_render($form);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    $output .= &amp;quot;  &amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    if (!empty($admin)) {
&lt;br&gt;&amp;gt;&amp;gt;      $output .= &amp;quot;  &amp;lt;div class=\&amp;quot;admin\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;      $output .= $admin;
&lt;br&gt;&amp;gt;&amp;gt;      $output .= &amp;quot;  &amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;    }
&lt;br&gt;&amp;gt;&amp;gt;    $output .= $buttons;
&lt;br&gt;&amp;gt;&amp;gt;    $output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;    return $output;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which are the only three I actually need to have displayed for a
&lt;br&gt;&amp;gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the
&lt;br&gt;&amp;gt;&amp;gt; page and erases all my changes]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also, the function:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; drupal_render()
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Doesn't really give me much control over how to theme the sub-parts of
&lt;br&gt;&amp;gt;&amp;gt; the form...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Can anyone help me to please give real class and/or id names to the
&lt;br&gt;&amp;gt;&amp;gt; elements of the form?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sebastian
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302158&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302158&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26302158&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26302158.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26300505</id>
	<title>Re: how to theme [class/id] a nord_form?</title>
	<published>2009-11-10T19:09:57Z</published>
	<updated>2009-11-10T19:09:57Z</updated>
	<author>
		<name>Christopher M. Jones</name>
	</author>
	<content type="html">Those ids are inserted by the devel themer module. Disable the module 
&lt;br&gt;and they go away.
&lt;br&gt;&lt;br&gt;sebastian wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Drupalites,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am tryign to figure this out.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I try and use CSS to access them [perhaps setting display:non for 
&lt;br&gt;&amp;gt; non-tech savy web admins]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then this works, UNTIL something else changes on the page, and then the 
&lt;br&gt;&amp;gt; numbers all change... SO, I need to find a way to give these random 
&lt;br&gt;&amp;gt; place holding id's actual ID's that relate to the content inside of them 
&lt;br&gt;&amp;gt; [authored by, published, file upload etc.]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I found the hook:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; /*
&lt;br&gt;&amp;gt; * Theming the node form
&lt;br&gt;&amp;gt; */
&lt;br&gt;&amp;gt; function phptemplate_node_form($form) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$output = &amp;quot;\n&amp;lt;div class=\&amp;quot;node-form\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// Admin form fields and submit buttons must be rendered first, because
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// they need to go to the bottom of the form, and so should not be 
&lt;br&gt;&amp;gt; part of
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// the catch-all call to drupal_render().
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$admin = '';
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$buttons = drupal_render($form['buttons']);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// Everything else gets rendered here, and is displayed before the 
&lt;br&gt;&amp;gt; admin form
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// field and the submit buttons.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;standard\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;	$output .= drupal_render($form);
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; 	
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (!empty($admin)) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;admin\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= $admin;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$output .= $buttons;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;$output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;return $output;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which are the only three I actually need to have displayed for a 
&lt;br&gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;&amp;gt; page and erases all my changes]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also, the function:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; drupal_render()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Doesn't really give me much control over how to theme the sub-parts of 
&lt;br&gt;&amp;gt; the form...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can anyone help me to please give real class and/or id names to the 
&lt;br&gt;&amp;gt; elements of the form?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sebastian
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300505&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300505&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26300505.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295391</id>
	<title>Re: how to theme [class/id] a nord_form?</title>
	<published>2009-11-10T19:05:58Z</published>
	<updated>2009-11-10T19:05:58Z</updated>
	<author>
		<name>Lee Rowlands</name>
	</author>
	<content type="html">&amp;gt; When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;&amp;gt; id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;These are inserted by the devel_themer module and should not be relied upon
&lt;br&gt;&lt;br&gt;&amp;gt; But if I replace $output .= drupal_render($form); with
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $output .= drupal_render($form['title']);
&lt;br&gt;&amp;gt; $output .= drupal_render($form['body_field']);
&lt;br&gt;&amp;gt; $output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which are the only three I actually need to have displayed for a 
&lt;br&gt;&amp;gt; non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;&amp;gt; page and erases all my changes]
&lt;br&gt;The call to drupal_render($form) actually renders the hidden elements such
&lt;br&gt;as form id and build id which are needed to determine if the form was
&lt;br&gt;submitted by the Form API. If these aren't found, the Form API thinks it
&lt;br&gt;wasn't submitted and hence no submit function is called and no data is
&lt;br&gt;saved.
&lt;br&gt;You need to examine the $form variable and unset (using the unset function)
&lt;br&gt;any array members (form elements) you don't want then add a final
&lt;br&gt;drupal_render($form) to the end of your output and thiss will add all the
&lt;br&gt;hidden stuff (and anything else that still yet to be rendered).
&lt;br&gt;I'm assuming you don't have a module here? Otherwise you could do the
&lt;br&gt;unsetting in hook_form_alter.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295391&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26295391.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295250</id>
	<title>how to theme [class/id] a nord_form?</title>
	<published>2009-11-10T18:51:11Z</published>
	<updated>2009-11-10T18:51:11Z</updated>
	<author>
		<name>sebastian-93</name>
	</author>
	<content type="html">Hello Drupalites,
&lt;br&gt;&lt;br&gt;I am tryign to figure this out.
&lt;br&gt;&lt;br&gt;When I have a nord_form, either for creation or editing, I get a lot of 
&lt;br&gt;id's like: #thmr_81, thmr_86, #thmr_91, #thmr_98
&lt;br&gt;&lt;br&gt;If I try and use CSS to access them [perhaps setting display:non for 
&lt;br&gt;non-tech savy web admins]
&lt;br&gt;&lt;br&gt;Then this works, UNTIL something else changes on the page, and then the 
&lt;br&gt;numbers all change... SO, I need to find a way to give these random 
&lt;br&gt;place holding id's actual ID's that relate to the content inside of them 
&lt;br&gt;[authored by, published, file upload etc.]
&lt;br&gt;&lt;br&gt;I found the hook:
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;/*
&lt;br&gt;* Theming the node form
&lt;br&gt;*/
&lt;br&gt;function phptemplate_node_form($form) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output = &amp;quot;\n&amp;lt;div class=\&amp;quot;node-form\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Admin form fields and submit buttons must be rendered first, because
&lt;br&gt;&amp;nbsp; &amp;nbsp;// they need to go to the bottom of the form, and so should not be 
&lt;br&gt;part of
&lt;br&gt;&amp;nbsp; &amp;nbsp;// the catch-all call to drupal_render().
&lt;br&gt;&amp;nbsp; &amp;nbsp;$admin = '';
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;$buttons = drupal_render($form['buttons']);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Everything else gets rendered here, and is displayed before the 
&lt;br&gt;admin form
&lt;br&gt;&amp;nbsp; &amp;nbsp;// field and the submit buttons.
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;standard\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;	$output .= drupal_render($form);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;if (!empty($admin)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;div class=\&amp;quot;admin\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= $admin;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$output .= &amp;quot; &amp;nbsp;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= $buttons;
&lt;br&gt;&amp;nbsp; &amp;nbsp;$output .= &amp;quot;&amp;lt;/div&amp;gt;\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;return $output;
&lt;br&gt;}
&lt;br&gt;?&amp;gt;
&lt;br&gt;&lt;br&gt;But if I replace $output .= drupal_render($form); with
&lt;br&gt;&lt;br&gt;$output .= drupal_render($form['title']);
&lt;br&gt;$output .= drupal_render($form['body_field']);
&lt;br&gt;$output .= drupal_render($form['custom_select_field']);
&lt;br&gt;&lt;br&gt;Which are the only three I actually need to have displayed for a 
&lt;br&gt;non-admin, then the page will NOT save, [no errors, it just reloads the 
&lt;br&gt;page and erases all my changes]
&lt;br&gt;&lt;br&gt;Also, the function:
&lt;br&gt;&lt;br&gt;drupal_render()
&lt;br&gt;&lt;br&gt;Doesn't really give me much control over how to theme the sub-parts of 
&lt;br&gt;the form...
&lt;br&gt;&lt;br&gt;Can anyone help me to please give real class and/or id names to the 
&lt;br&gt;elements of the form?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Sebastian
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295250&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-theme--class-id--a-nord_form--tp26295250p26295250.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275836</id>
	<title>Re: add color choices to theme and insert a css</title>
	<published>2009-11-09T15:36:30Z</published>
	<updated>2009-11-09T15:36:30Z</updated>
	<author>
		<name>Tracey Hummel-2</name>
	</author>
	<content type="html">I got this to work using this in my template.php file:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;$banners = theme_get_setting('banners');
&lt;br&gt;&amp;nbsp; &amp;nbsp; switch($banners) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case (&amp;quot;white-gray&amp;quot;):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/white-gray.css', 'theme', 
&lt;br&gt;&amp;nbsp; 'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case (&amp;quot;blue-gray&amp;quot;):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/blue-gray.css', 'theme', &amp;nbsp;'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/red-blue.css', 'theme', 'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;And this in my theme-settings.php file:
&lt;br&gt;&lt;br&gt;&amp;lt;?php
&lt;br&gt;function graphicDesign_settings(&amp;$saved_settings) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$defaults = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'banners' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'red-blue',
&lt;br&gt;&amp;nbsp; &amp;nbsp;);
&lt;br&gt;$settings = array_merge($defaults, $saved_settings);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;$form['banners'] = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#type' &amp;nbsp; &amp;nbsp;=&amp;gt; 'select',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#options' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'red-blue' =&amp;gt; 'Red/Blue',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'blue-gray' =&amp;gt; 'Blue/Gray',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'white-gray' =&amp;gt; 'White/Dark Gray'),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#default_value' =&amp;gt; $settings['banners'],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#title' &amp;nbsp; =&amp;gt; t('Choose a Banner Color Combination'),
&lt;br&gt;&amp;nbsp; &amp;nbsp; );
&lt;br&gt;return $form;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Quoting Brent Hardinge &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275836&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brent@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Tracey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It seems that in order to get the css into the system, you need to use
&lt;br&gt;&amp;gt; drupal_add_css outside of the preprocess function because it is the
&lt;br&gt;&amp;gt; template_preprocess_page function that is used to add the css to the
&lt;br&gt;&amp;gt; $variables['styles'] function.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So what I would recommend doing is adding the following at near the
&lt;br&gt;&amp;gt; top of your template.css file:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; drupal_add_css(path_to_theme() . '/' .theme_get_setting('banners')
&lt;br&gt;&amp;gt; .'.css', 'theme', 'all');
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That should replace your switch function and print the appropriate css
&lt;br&gt;&amp;gt; file based on the settings.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Brent
&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt; Design / Interaction / Strategy
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://brenthardinge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://brenthardinge.net&lt;/a&gt;&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 9, 2009 at 10:00 AM, Tracey Hummel
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275836&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thummel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; My trying a add page preprocess that will allow site administrators 
&lt;br&gt;&amp;gt;&amp;gt; to be able
&lt;br&gt;&amp;gt;&amp;gt; to configure a theme and choose different banners/color 
&lt;br&gt;&amp;gt;&amp;gt; combinations. Based on
&lt;br&gt;&amp;gt;&amp;gt; what they select, a different css file would be added that would modify the
&lt;br&gt;&amp;gt;&amp;gt; banners graphics/colors.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I added three choices to the theme's configuration page by adding 
&lt;br&gt;&amp;gt;&amp;gt; this to the
&lt;br&gt;&amp;gt;&amp;gt; theme-settings.php file:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; function graphicDesign_settings(&amp;$saved_settings) {
&lt;br&gt;&amp;gt;&amp;gt;   $defaults = array(
&lt;br&gt;&amp;gt;&amp;gt;     'banners'              =&amp;gt; 'red-blue',
&lt;br&gt;&amp;gt;&amp;gt;   );
&lt;br&gt;&amp;gt;&amp;gt; $settings = array_merge($defaults, $saved_settings);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   $form['banners'] = array(
&lt;br&gt;&amp;gt;&amp;gt;     '#type'    =&amp;gt; 'select',
&lt;br&gt;&amp;gt;&amp;gt;     '#options' =&amp;gt; array(
&lt;br&gt;&amp;gt;&amp;gt;                'red-blue' =&amp;gt; 'Red/Blue',
&lt;br&gt;&amp;gt;&amp;gt;                'blue-gray' =&amp;gt; 'Blue/Gray',
&lt;br&gt;&amp;gt;&amp;gt;                'white-gray' =&amp;gt; 'White/Dark Gray'),
&lt;br&gt;&amp;gt;&amp;gt;     '#default_value' =&amp;gt; $settings['banners'],
&lt;br&gt;&amp;gt;&amp;gt;     '#title'   =&amp;gt; t('Choose a Banner Color Combination'),
&lt;br&gt;&amp;gt;&amp;gt;    );
&lt;br&gt;&amp;gt;&amp;gt; return $form;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In the template.php file, I'm trying to use the variable passed to add a css
&lt;br&gt;&amp;gt;&amp;gt; file based on what they select.  In the template.php file:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; function graphicDesign_preprocess_page(&amp;$vars) {
&lt;br&gt;&amp;gt;&amp;gt;   $banners = theme_get_setting('banners');
&lt;br&gt;&amp;gt;&amp;gt;   drupal_set_message(print_r($banners,true));
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   switch($banners) {
&lt;br&gt;&amp;gt;&amp;gt;     case (&amp;quot;white-gray&amp;quot;):
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/white-gray.css', 'theme', 'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;     case (&amp;quot;blue-gray&amp;quot;):
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/blue-gray.css', 'theme',  'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;     default:
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/red-blue.css', 'theme', 'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;   }
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The css is not being added.  Is anyone doing something similar and would be
&lt;br&gt;&amp;gt;&amp;gt; willing to help me?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Tracey
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Tracey Hummel
&lt;br&gt;&amp;gt;&amp;gt; Web Developer
&lt;br&gt;&amp;gt;&amp;gt; University Information Technology Services
&lt;br&gt;&amp;gt;&amp;gt; Learning Technologies Services
&lt;br&gt;&amp;gt;&amp;gt; University of Arizona
&lt;br&gt;&amp;gt;&amp;gt; (520) 626-5139
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275836&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tracey@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275836&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275836&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-color-choices-to-theme-and-insert-a-css-tp26270901p26275836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275820</id>
	<title>Re: add color choices to theme and insert a css</title>
	<published>2009-11-09T14:50:49Z</published>
	<updated>2009-11-09T14:50:49Z</updated>
	<author>
		<name>Tracey Hummel-2</name>
	</author>
	<content type="html">Brent,
&lt;br&gt;&lt;br&gt;Thank you for your reply. &amp;nbsp;If I added this line to my template's css 
&lt;br&gt;file, would
&lt;br&gt;the css file need to change to a php file? &amp;nbsp;Or would the line go in my page
&lt;br&gt;template file?
&lt;br&gt;&lt;br&gt;drupal_add_css(path_to_theme() . '/' .theme_get_setting('banners').'.css',
&lt;br&gt;'theme', 'all');
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Tracey
&lt;br&gt;&lt;br&gt;&lt;br&gt;Quoting Brent Hardinge &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275820&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;brent@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It seems that in order to get the css into the system, you need to use
&lt;br&gt;&amp;gt; drupal_add_css outside of the preprocess function because it is the
&lt;br&gt;&amp;gt; template_preprocess_page function that is used to add the css to the
&lt;br&gt;&amp;gt; $variables['styles'] function.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So what I would recommend doing is adding the following at near the
&lt;br&gt;&amp;gt; top of your template.css file:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; drupal_add_css(path_to_theme() . '/' .theme_get_setting('banners')
&lt;br&gt;&amp;gt; .'.css', 'theme', 'all');
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That should replace your switch function and print the appropriate css
&lt;br&gt;&amp;gt; file based on the settings.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Brent
&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt; Design / Interaction / Strategy
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://brenthardinge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://brenthardinge.net&lt;/a&gt;&lt;br&gt;&amp;gt; ---------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 9, 2009 at 10:00 AM, Tracey Hummel
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275820&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thummel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; My trying a add page preprocess that will allow site administrators 
&lt;br&gt;&amp;gt;&amp;gt; to be able
&lt;br&gt;&amp;gt;&amp;gt; to configure a theme and choose different banners/color 
&lt;br&gt;&amp;gt;&amp;gt; combinations. Based on
&lt;br&gt;&amp;gt;&amp;gt; what they select, a different css file would be added that would modify the
&lt;br&gt;&amp;gt;&amp;gt; banners graphics/colors.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I added three choices to the theme's configuration page by adding 
&lt;br&gt;&amp;gt;&amp;gt; this to the
&lt;br&gt;&amp;gt;&amp;gt; theme-settings.php file:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; function graphicDesign_settings(&amp;$saved_settings) {
&lt;br&gt;&amp;gt;&amp;gt;   $defaults = array(
&lt;br&gt;&amp;gt;&amp;gt;     'banners'              =&amp;gt; 'red-blue',
&lt;br&gt;&amp;gt;&amp;gt;   );
&lt;br&gt;&amp;gt;&amp;gt; $settings = array_merge($defaults, $saved_settings);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   $form['banners'] = array(
&lt;br&gt;&amp;gt;&amp;gt;     '#type'    =&amp;gt; 'select',
&lt;br&gt;&amp;gt;&amp;gt;     '#options' =&amp;gt; array(
&lt;br&gt;&amp;gt;&amp;gt;                'red-blue' =&amp;gt; 'Red/Blue',
&lt;br&gt;&amp;gt;&amp;gt;                'blue-gray' =&amp;gt; 'Blue/Gray',
&lt;br&gt;&amp;gt;&amp;gt;                'white-gray' =&amp;gt; 'White/Dark Gray'),
&lt;br&gt;&amp;gt;&amp;gt;     '#default_value' =&amp;gt; $settings['banners'],
&lt;br&gt;&amp;gt;&amp;gt;     '#title'   =&amp;gt; t('Choose a Banner Color Combination'),
&lt;br&gt;&amp;gt;&amp;gt;    );
&lt;br&gt;&amp;gt;&amp;gt; return $form;
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In the template.php file, I'm trying to use the variable passed to add a css
&lt;br&gt;&amp;gt;&amp;gt; file based on what they select.  In the template.php file:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; function graphicDesign_preprocess_page(&amp;$vars) {
&lt;br&gt;&amp;gt;&amp;gt;   $banners = theme_get_setting('banners');
&lt;br&gt;&amp;gt;&amp;gt;   drupal_set_message(print_r($banners,true));
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   switch($banners) {
&lt;br&gt;&amp;gt;&amp;gt;     case (&amp;quot;white-gray&amp;quot;):
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/white-gray.css', 'theme', 'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;     case (&amp;quot;blue-gray&amp;quot;):
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/blue-gray.css', 'theme',  'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;     default:
&lt;br&gt;&amp;gt;&amp;gt;       drupal_add_css(path_to_theme() . '/red-blue.css', 'theme', 'all');
&lt;br&gt;&amp;gt;&amp;gt;       break;
&lt;br&gt;&amp;gt;&amp;gt;   }
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The css is not being added.  Is anyone doing something similar and would be
&lt;br&gt;&amp;gt;&amp;gt; willing to help me?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Tracey
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Tracey Hummel
&lt;br&gt;&amp;gt;&amp;gt; Web Developer
&lt;br&gt;&amp;gt;&amp;gt; University Information Technology Services
&lt;br&gt;&amp;gt;&amp;gt; Learning Technologies Services
&lt;br&gt;&amp;gt;&amp;gt; University of Arizona
&lt;br&gt;&amp;gt;&amp;gt; (520) 626-5139
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275820&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tracey@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275820&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275820&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-color-choices-to-theme-and-insert-a-css-tp26270901p26275820.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26270901</id>
	<title>add color choices to theme and insert a css</title>
	<published>2009-11-09T10:00:16Z</published>
	<updated>2009-11-09T10:00:16Z</updated>
	<author>
		<name>Tracey Hummel-2</name>
	</author>
	<content type="html">My trying a add page preprocess that will allow site administrators to be able
&lt;br&gt;to configure a theme and choose different banners/color combinations. Based on
&lt;br&gt;what they select, a different css file would be added that would modify the
&lt;br&gt;banners graphics/colors.
&lt;br&gt;&lt;br&gt;I added three choices to the theme's configuration page by adding this to the
&lt;br&gt;theme-settings.php file:
&lt;br&gt;&lt;br&gt;&lt;br&gt;function graphicDesign_settings(&amp;$saved_settings) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$defaults = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'banners' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; 'red-blue',
&lt;br&gt;&amp;nbsp; &amp;nbsp;);
&lt;br&gt;$settings = array_merge($defaults, $saved_settings);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;$form['banners'] = array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#type' &amp;nbsp; &amp;nbsp;=&amp;gt; 'select',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#options' =&amp;gt; array(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'red-blue' =&amp;gt; 'Red/Blue',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'blue-gray' =&amp;gt; 'Blue/Gray',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'white-gray' =&amp;gt; 'White/Dark Gray'),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#default_value' =&amp;gt; $settings['banners'],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'#title' &amp;nbsp; =&amp;gt; t('Choose a Banner Color Combination'),
&lt;br&gt;&amp;nbsp; &amp;nbsp; );
&lt;br&gt;return $form;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;In the template.php file, I'm trying to use the variable passed to add a css
&lt;br&gt;file based on what they select. &amp;nbsp;In the template.php file:
&lt;br&gt;&lt;br&gt;function graphicDesign_preprocess_page(&amp;$vars) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$banners = theme_get_setting('banners');
&lt;br&gt;&amp;nbsp; &amp;nbsp;drupal_set_message(print_r($banners,true));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;switch($banners) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;case (&amp;quot;white-gray&amp;quot;):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/white-gray.css', 'theme', 'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;case (&amp;quot;blue-gray&amp;quot;):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/blue-gray.css', 'theme', &amp;nbsp;'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;default:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;drupal_add_css(path_to_theme() . '/red-blue.css', 'theme', 'all');
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The css is not being added. &amp;nbsp;Is anyone doing something similar and would be
&lt;br&gt;willing to help me?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Tracey
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Tracey Hummel
&lt;br&gt;Web Developer
&lt;br&gt;University Information Technology Services
&lt;br&gt;Learning Technologies Services
&lt;br&gt;University of Arizona
&lt;br&gt;(520) 626-5139
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tracey@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26270901&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/add-color-choices-to-theme-and-insert-a-css-tp26270901p26270901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26112076</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-29T05:27:37Z</published>
	<updated>2009-10-29T05:27:37Z</updated>
	<author>
		<name>Adrian Simmons</name>
	</author>
	<content type="html">2009/10/24 Tony Crockford &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26112076&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tonyc@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; I'm also trying to get my head round how Drupal would choose different
&lt;br&gt;&amp;gt; page layouts
&lt;br&gt;This is probably what you're going to find hardest Tony. Which tpl
&lt;br&gt;files address which bits of the page, when to use a block or a region
&lt;br&gt;or a custom node.tpl and so on. Once you grasp it it's fairly
&lt;br&gt;straightforward I guess, but coming at it new it's confusing - theme
&lt;br&gt;developer module will be your friend (part of devel module).
&lt;br&gt;&lt;br&gt;&amp;gt; - e.g. If I have one for articles one column) and one for
&lt;br&gt;&amp;gt; a form (two column) is that just down to body class?
&lt;br&gt;Well most themes generate body class based on theme features, so for
&lt;br&gt;instance whether a sidebar is output (that often depends on whether
&lt;br&gt;there's anything to go in it).
&lt;br&gt;&lt;br&gt;Then there are regions, defined in the .info file and usually printed
&lt;br&gt;in page.tpl...
&lt;br&gt;&lt;br&gt;&amp;gt; How do you match content in Drupal with different page layouts?
&lt;br&gt;It comes down to what the layout is, and what content drives the
&lt;br&gt;layout - you might do well to take some advice on a particular design
&lt;br&gt;and how best to do it. If you don't want to do that publicly then pop
&lt;br&gt;on irc.freenode.net channel #drupaluk and pm me or get in touch via my
&lt;br&gt;contact page, site link below.
&lt;br&gt;-- 
&lt;br&gt;Adrian Simmons | &lt;a href=&quot;http://perlucida.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://perlucida.com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26112076&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26112076.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26110893</id>
	<title>Re: passing variables to a tlp.php file</title>
	<published>2009-10-29T03:57:54Z</published>
	<updated>2009-10-29T03:57:54Z</updated>
	<author>
		<name>Israel Shmueli</name>
	</author>
	<content type="html">&lt;div dir=&quot;rtl&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;Hi Matt,&lt;br&gt;&lt;br&gt;I believe Nick Lewis answered your question in this fabulous post:&lt;br&gt;&lt;a href=&quot;http://www.nicklewis.org/drupal-hackers-cookbook/theming/hook_theme-and-template-files&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.nicklewis.org/drupal-hackers-cookbook/theming/hook_theme-and-template-files&lt;/a&gt; &lt;br&gt;
&lt;br&gt;Israel&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div dir=&quot;ltr&quot;&gt;2009/10/28 Matt Funk &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matze999@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div dir=&quot;ltr&quot;&gt;&lt;div style=&quot;font-family: &amp;#39;Arial&amp;#39;; font-size: 12pt; font-weight: 400; font-style: normal;&quot;&gt;Hi,&lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;this is probably a basic question for most, but i am stuck on this.&lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;I have a custom module enabled which has a function:&lt;br&gt;
theme_mymod_myfcn($myarg) {&lt;br&gt;
  ...&lt;br&gt;
}&lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;I am trying to override this fcn via the file:&lt;br&gt;
mymod_myfcn.tpl.php&lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;However, whenever i try to print $myarg in the tpl.php file it appears to be empty. Why?&lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;Is there a way to access the $myarg variable in the tpl.php file. &lt;br&gt;
&lt;p style=&quot;margin: 0px; text-indent: 0px;&quot;&gt;&lt;br&gt;&lt;/p&gt;thanks&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;
matt&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________&lt;br&gt;
themes mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26110893&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/passing-variables-to-a-tlp.php-file-tp26097588p26110893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26105812</id>
	<title>Re: how toi theme a box and how to theme a file ?</title>
	<published>2009-10-28T20:14:06Z</published>
	<updated>2009-10-28T20:14:06Z</updated>
	<author>
		<name>larry@garfieldtech.com</name>
	</author>
	<content type="html">On Wednesday 28 October 2009 5:35:35 am Michel Morelli wrote:
&lt;br&gt;&amp;gt; Hi all. I have a template file called &amp;quot;foo.tpl.php&amp;quot;, and I have $vars.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How can i theme &amp;quot;foo.tpl.php&amp;quot; with $vars ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have thinked that I need to use &amp;quot;theme&amp;quot; function(), but how ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And for a box ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; M.
&lt;br&gt;&lt;br&gt;You're actually putting the cart before the horse, it looks like.
&lt;br&gt;&lt;br&gt;Somewhere in code, you'll need to format some data. &amp;nbsp;OK, you want to use a 
&lt;br&gt;template. &amp;nbsp;So you first add a hook_theme[1] entry to define your theme key 
&lt;br&gt;(foo), and you specify that it uses a template file (foo.tpl.php by default). &amp;nbsp;
&lt;br&gt;Then you call:
&lt;br&gt;&lt;br&gt;$output = theme('foo', $somevar, $anothervar, $somethingelse);
&lt;br&gt;&lt;br&gt;in your module code where you want to turn $somevar, $anothervar, and 
&lt;br&gt;$somethingelse into rendered HTML.
&lt;br&gt;&lt;br&gt;With the theme hook setup correctly, that will result in foo.tpl.php getting 
&lt;br&gt;called with $somevar, $anothervar, and $somethingelse, along with various 
&lt;br&gt;other globally added variables. &amp;nbsp;You can also use a template_preprocess_foo() 
&lt;br&gt;function of your own to filter and mutate $somevar, $anothervar, and 
&lt;br&gt;$somethingelse as needed or add more variables at that point. &amp;nbsp;see the theming 
&lt;br&gt;guide[2] for more information.
&lt;br&gt;&lt;br&gt;You should start thinking from the point in code where you need to have 
&lt;br&gt;something rendered, not from the template and then finding a place to put it. &amp;nbsp;
&lt;br&gt;It will conceptually make more sense that way when you implement it.
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://api.drupal.org/api/function/hook_theme/6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://api.drupal.org/api/function/hook_theme/6&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://drupal.org/theme-guide/6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://drupal.org/theme-guide/6&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Larry Garfield
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26105812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;larry@...&lt;/a&gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26105812&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-toi-theme-a-box-and-how-to-theme-a-file---tp26092449p26105812.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26097588</id>
	<title>passing variables to a tlp.php file</title>
	<published>2009-10-28T09:14:51Z</published>
	<updated>2009-10-28T09:14:51Z</updated>
	<author>
		<name>Matt Funk-2</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:12pt; font-weight:400; font-style:normal;&quot;&gt;Hi,&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;this is probably a basic question for most, but i am stuck on this.&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;I have a custom module enabled which has a function:&lt;br&gt;
theme_mymod_myfcn($myarg) {&lt;br&gt;
  ...&lt;br&gt;
}&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;I am trying to override this fcn via the file:&lt;br&gt;
mymod_myfcn.tpl.php&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;However, whenever i try to print $myarg in the tpl.php file it appears to be empty. Why?&lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;Is there a way to access the $myarg variable in the tpl.php file. &lt;br&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;&quot;&gt;&lt;br&gt;&lt;/p&gt;thanks&lt;br&gt;
matt&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26097588&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/passing-variables-to-a-tlp.php-file-tp26097588p26097588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26093011</id>
	<title>Re: zen custom theme and link to node</title>
	<published>2009-10-28T04:25:33Z</published>
	<updated>2009-10-28T04:25:33Z</updated>
	<author>
		<name>barb-13</name>
	</author>
	<content type="html">hi mark and rohan!
&lt;br&gt;thx so much for both of your advice! it is fixed now!
&lt;br&gt;barb
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; yes, I added
&lt;br&gt;&amp;gt; position:relative;
&lt;br&gt;&amp;gt; top:-20px;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; to #navbar and i could click the link so either resize or move it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; R.A.Smith
&lt;br&gt;&amp;gt; Manager/Technical Lead
&lt;br&gt;&amp;gt; Exterbox - &amp;quot;Thinking outside of the box&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.exterbox.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.exterbox.com&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26093011&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rohan@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 1-876-449-7506
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Oct 28, 2009 at 5:22 AM, Mark Shropshire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26093011&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdshrops@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Barb,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The title definitely has a link. I wonder if reducing the size of the
&lt;br&gt;&amp;gt;&amp;gt; #navbar (primary nav) box from 72px to much smaller will help. Looks
&lt;br&gt;&amp;gt;&amp;gt; like that box is moving over top of the title. You may want to make it
&lt;br&gt;&amp;gt;&amp;gt; 5px or something just to test if the link then appears. Then you could
&lt;br&gt;&amp;gt;&amp;gt; tweak the height from there.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Mark
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26093011&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/zen-custom-theme-and-link-to-node-tp26092197p26093011.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26092449</id>
	<title>how toi theme a box and how to theme a file ?</title>
	<published>2009-10-28T03:35:35Z</published>
	<updated>2009-10-28T03:35:35Z</updated>
	<author>
		<name>Michel Morelli</name>
	</author>
	<content type="html">Hi all. I have a template file called &amp;quot;foo.tpl.php&amp;quot;, and I have $vars.
&lt;br&gt;&lt;br&gt;How can i theme &amp;quot;foo.tpl.php&amp;quot; with $vars ?
&lt;br&gt;&lt;br&gt;I have thinked that I need to use &amp;quot;theme&amp;quot; function(), but how ?
&lt;br&gt;&lt;br&gt;And for a box ?
&lt;br&gt;&lt;br&gt;M.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michel 'ZioBudda' Morelli &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michel@...&lt;/a&gt;
&lt;br&gt;Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
&lt;br&gt;Telefono: 0200619074
&lt;br&gt;Telefono Cell: +39-3939890025 -- &amp;nbsp;Fax: +39-0291390660
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.ziobudda.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ziobudda.net&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ICQ: 58351764 &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://www.ziobuddalabs.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ziobuddalabs.it&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Skype: zio_budda
&lt;br&gt;&lt;a href=&quot;http://www.ziodrupal.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ziodrupal.net&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;			MSN: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092449&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michel@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JABBER: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092449&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michel@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092449&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-toi-theme-a-box-and-how-to-theme-a-file---tp26092449p26092449.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26092423</id>
	<title>Re: zen custom theme and link to node</title>
	<published>2009-10-28T03:34:46Z</published>
	<updated>2009-10-28T03:34:46Z</updated>
	<author>
		<name>Rohan Smith-2</name>
	</author>
	<content type="html">yes, I added &lt;br&gt;&lt;div class=&quot;cssProp editGroup focusRow &quot;&gt;&lt;span class=&quot;cssPropName editable &quot;&gt;position&lt;/span&gt;&lt;span class=&quot;cssColon &quot;&gt;:&lt;/span&gt;&lt;span class=&quot;cssPropValue editable &quot;&gt;relative&lt;/span&gt;&lt;span class=&quot;cssSemi &quot;&gt;;&lt;/span&gt;&lt;/div&gt;

&lt;div class=&quot;cssProp editGroup focusRow &quot;&gt;&lt;span class=&quot;cssPropName editable &quot;&gt;top&lt;/span&gt;&lt;span class=&quot;cssColon &quot;&gt;:&lt;/span&gt;&lt;span class=&quot;cssPropValue editable &quot;&gt;-20px&lt;/span&gt;&lt;span class=&quot;cssSemi &quot;&gt;;&lt;br&gt;&lt;br&gt;to #navbar and i could click the link so either resize or move it.&lt;br&gt;

&lt;/span&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;R.A.Smith&lt;br&gt;Manager/Technical Lead&lt;br&gt;Exterbox - &amp;quot;Thinking outside of the box&amp;quot;&lt;br&gt;&lt;a href=&quot;http://www.exterbox.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.exterbox.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092423&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rohan@...&lt;/a&gt;&lt;br&gt;

1-876-449-7506&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Oct 28, 2009 at 5:22 AM, Mark Shropshire &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092423&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdshrops@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Barb,&lt;br&gt;
&lt;br&gt;
The title definitely has a link. I wonder if reducing the size of the&lt;br&gt;
#navbar (primary nav) box from 72px to much smaller will help. Looks&lt;br&gt;
like that box is moving over top of the title. You may want to make it&lt;br&gt;
5px or something just to test if the link then appears. Then you could&lt;br&gt;
tweak the height from there.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Mark&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
On Oct 28, 2009, at 6:04 AM, barb wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; Hello!&lt;br&gt;
&amp;gt; i have troubles with zen custom theme and the link to the first node&lt;br&gt;
&amp;gt; on&lt;br&gt;
&amp;gt; the frontpage. i don&amp;#39;t know why it is reacting like this, but on the&lt;br&gt;
&amp;gt; frontpage the first article on the very top cannot be accessed by&lt;br&gt;
&amp;gt; clicking on the title. it seems that the title has shot above the&lt;br&gt;
&amp;gt; frame.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; does someone know what i did wrong? also the breadcrumbs don&amp;#39;t work as&lt;br&gt;
&amp;gt; links as they should. it seems that i have a whole area in the theme,&lt;br&gt;
&amp;gt; that reacts kind of &amp;#39;numb&amp;#39;.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; this is the page: &lt;a href=&quot;http://col-me.info/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://col-me.info/&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; does anyone know what i did wrong?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; thanx&lt;br&gt;
&amp;gt; barb&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; themes mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092423&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
themes mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092423&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092423&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/zen-custom-theme-and-link-to-node-tp26092197p26092423.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26092372</id>
	<title>Re: zen custom theme and link to node</title>
	<published>2009-10-28T03:22:22Z</published>
	<updated>2009-10-28T03:22:22Z</updated>
	<author>
		<name>Mark Shropshire-2</name>
	</author>
	<content type="html">Barb,
&lt;br&gt;&lt;br&gt;The title definitely has a link. I wonder if reducing the size of the &amp;nbsp;
&lt;br&gt;#navbar (primary nav) box from 72px to much smaller will help. Looks &amp;nbsp;
&lt;br&gt;like that box is moving over top of the title. You may want to make it &amp;nbsp;
&lt;br&gt;5px or something just to test if the link then appears. Then you could &amp;nbsp;
&lt;br&gt;tweak the height from there.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;On Oct 28, 2009, at 6:04 AM, barb wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello!
&lt;br&gt;&amp;gt; i have troubles with zen custom theme and the link to the first node &amp;nbsp;
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; the frontpage. i don't know why it is reacting like this, but on the
&lt;br&gt;&amp;gt; frontpage the first article on the very top cannot be accessed by
&lt;br&gt;&amp;gt; clicking on the title. it seems that the title has shot above the &amp;nbsp;
&lt;br&gt;&amp;gt; frame.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; does someone know what i did wrong? also the breadcrumbs don't work as
&lt;br&gt;&amp;gt; links as they should. it seems that i have a whole area in the theme,
&lt;br&gt;&amp;gt; that reacts kind of 'numb'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this is the page: &lt;a href=&quot;http://col-me.info/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://col-me.info/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; does anyone know what i did wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanx
&lt;br&gt;&amp;gt; barb
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092372&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/zen-custom-theme-and-link-to-node-tp26092197p26092372.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26092197</id>
	<title>zen custom theme and link to node</title>
	<published>2009-10-28T03:04:22Z</published>
	<updated>2009-10-28T03:04:22Z</updated>
	<author>
		<name>barb-13</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;i have troubles with zen custom theme and the link to the first node on
&lt;br&gt;the frontpage. i don't know why it is reacting like this, but on the
&lt;br&gt;frontpage the first article on the very top cannot be accessed by
&lt;br&gt;clicking on the title. it seems that the title has shot above the frame.
&lt;br&gt;&lt;br&gt;does someone know what i did wrong? also the breadcrumbs don't work as
&lt;br&gt;links as they should. it seems that i have a whole area in the theme,
&lt;br&gt;that reacts kind of 'numb'.
&lt;br&gt;&lt;br&gt;this is the page: &lt;a href=&quot;http://col-me.info/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://col-me.info/&lt;/a&gt;&lt;br&gt;&lt;br&gt;does anyone know what i did wrong?
&lt;br&gt;&lt;br&gt;thanx
&lt;br&gt;barb
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26092197&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/zen-custom-theme-and-link-to-node-tp26092197p26092197.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26054243</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-25T20:26:10Z</published>
	<updated>2009-10-25T20:26:10Z</updated>
	<author>
		<name>larry@garfieldtech.com</name>
	</author>
	<content type="html">On Sunday 25 October 2009 5:14:06 am Mark Shropshire wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks to the original poster for bringing up this issue. It has been
&lt;br&gt;&amp;gt; great to see some different approaches for theming in Drupal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Zirafa,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I definitely agree with your last statement that there is no real
&lt;br&gt;&amp;gt; &amp;quot;right&amp;quot; way for theming. I think there are best practices and we have
&lt;br&gt;&amp;gt; seen a few of those in this email thread. I have to admit that I have
&lt;br&gt;&amp;gt; actually done the same thing with downloading foundation and renaming
&lt;br&gt;&amp;gt; the theme folder.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Mark
&lt;/div&gt;&lt;br&gt;There is no one right way, but there certainly are wrong ways. :-) &amp;nbsp;Large gobs 
&lt;br&gt;of PHP logic in your template files is a Wrong Way(tm), regardless of whether 
&lt;br&gt;you're using a base-theme approach or a from-scratch approach. &amp;nbsp;(That's what 
&lt;br&gt;preprocess functions are for.) &amp;nbsp;And if you put SQL in a template file I will 
&lt;br&gt;hit you. :-)
&lt;br&gt;&lt;br&gt;Also remember that the HTML Drupal spits out to you by default is already very 
&lt;br&gt;extensive and complete, and more importantly is dynamic. &amp;nbsp;As your site 
&lt;br&gt;evolves, the structure of the HTML will change, too. &amp;nbsp;Not page.tpl.php, 
&lt;br&gt;necessarily, but what CCK fields you have will change over time, what Views you 
&lt;br&gt;have will change over time, blocks will get added and shift around, etc.
&lt;br&gt;&lt;br&gt;I highly recommend the &amp;quot;sustainable theming&amp;quot; blog series by Colleen 
&lt;br&gt;Carroll[1]. &amp;nbsp;It discusses the practical benefits of &amp;quot;trusting Drupal&amp;quot; and going 
&lt;br&gt;&amp;quot;with the grain&amp;quot; of the CMS in your theming just as you should in your code. &amp;nbsp;
&lt;br&gt;There are cases where you don't need or or shouldn't, but in the long run 
&lt;br&gt;you'll save yourself time by leveraging what Drupal already gives you as much 
&lt;br&gt;as possible.
&lt;br&gt;&lt;br&gt;[1] 
&lt;br&gt;&lt;a href=&quot;http://www.palantir.net/blog/colleen-carroll&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.palantir.net/blog/colleen-carroll&lt;/a&gt;&lt;br&gt;&lt;br&gt;Specifically (I need to yell at our site admin to shorten URLs...):
&lt;br&gt;&lt;a href=&quot;http://www.palantir.net/blog/sustainable-markup-how-be-a-themer-drupal&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.palantir.net/blog/sustainable-markup-how-be-a-themer-drupal&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.palantir.net/blog/graycor-drupal-theming-works&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.palantir.net/blog/graycor-drupal-theming-works&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.palantir.net/blog/drupal-theming-getting-your-hands-dirty-and-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.palantir.net/blog/drupal-theming-getting-your-hands-dirty-and-&lt;/a&gt;&lt;br&gt;building-house
&lt;br&gt;&lt;a href=&quot;http://www.palantir.net/blog/drupal-theming-applying-sustainable-method-views&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.palantir.net/blog/drupal-theming-applying-sustainable-method-views&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Larry Garfield
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26054243&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;larry@...&lt;/a&gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26054243&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26054243.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26047729</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-25T06:13:13Z</published>
	<updated>2009-10-25T06:13:13Z</updated>
	<author>
		<name>Tony Crockford</name>
	</author>
	<content type="html">&lt;br&gt;On 25 Oct 2009, at 10:14, Mark Shropshire wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks to the original poster for bringing up this issue. It has been
&lt;br&gt;&amp;gt; great to see some different approaches for theming in Drupal.
&lt;br&gt;&lt;br&gt;It has been very useful, thanks to everyone who put forward responses, &amp;nbsp;
&lt;br&gt;I'm now happier that there's no *right* way, and that there are &amp;nbsp;
&lt;br&gt;several good ways, so I can take a much more pragmatic approach.
&lt;br&gt;&lt;br&gt;I shall do my first couple of themes as Zen Sub-Themes as they are for &amp;nbsp;
&lt;br&gt;someone that prefers that approach, but I think it would be safe to &amp;nbsp;
&lt;br&gt;say that, like all things worth doing, there are no shortcuts to &amp;nbsp;
&lt;br&gt;perfection.
&lt;br&gt;&lt;br&gt;I shall try all the suggested approaches and hopefully will reach a &amp;nbsp;
&lt;br&gt;'works for me' compromise, in the same way that I have a library of &amp;nbsp;
&lt;br&gt;starter code for a PSD to XHTML project that is ever evolving and took &amp;nbsp;
&lt;br&gt;a while to get comfortable with.
&lt;br&gt;&lt;br&gt;Thanks for all the input. I hope if I have any more questions, they &amp;nbsp;
&lt;br&gt;also create useful discussion!
&lt;br&gt;&lt;br&gt;:)
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26047729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26047729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26046568</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-25T03:14:06Z</published>
	<updated>2009-10-25T03:14:06Z</updated>
	<author>
		<name>Mark Shropshire-2</name>
	</author>
	<content type="html">Thanks to the original poster for bringing up this issue. It has been &amp;nbsp;
&lt;br&gt;great to see some different approaches for theming in Drupal.
&lt;br&gt;&lt;br&gt;Zirafa,
&lt;br&gt;&lt;br&gt;I definitely agree with your last statement that there is no real &amp;nbsp;
&lt;br&gt;&amp;quot;right&amp;quot; way for theming. I think there are best practices and we have &amp;nbsp;
&lt;br&gt;seen a few of those in this email thread. I have to admit that I have &amp;nbsp;
&lt;br&gt;actually done the same thing with downloading foundation and renaming &amp;nbsp;
&lt;br&gt;the theme folder.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;On Oct 24, 2009, at 6:25 PM, Farsheed wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I generally like Squiggy's approach in creating static html and then &amp;nbsp;
&lt;br&gt;&amp;gt; inserting Drupal after the fact. &amp;nbsp;My approach is slightly different &amp;nbsp;
&lt;br&gt;&amp;gt; though:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1) take the Framework theme, rename it as a new theme (making sure &amp;nbsp;
&lt;br&gt;&amp;gt; to rename .info files and template.php function names)
&lt;br&gt;&amp;gt; 2) comment out or remove all the content related drupal variables in &amp;nbsp;
&lt;br&gt;&amp;gt; page.tpl.php (sometimes i'll replace it with static dummy text)
&lt;br&gt;&amp;gt; 3) this leaves me with a skeleton html tpl.php file but still loads &amp;nbsp;
&lt;br&gt;&amp;gt; in JS and CSS dynamically through Drupal
&lt;br&gt;&amp;gt; 4) I'll build out the theme using style.css (again commenting or &amp;nbsp;
&lt;br&gt;&amp;gt; deleting when it is distracting)
&lt;br&gt;&amp;gt; 5) Then I'll replace the variables from #2 and continue styling &amp;nbsp;
&lt;br&gt;&amp;gt; those regions individually
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I like Framework for this because it has a well structured CSS file &amp;nbsp;
&lt;br&gt;&amp;gt; and very basic tpl.php files, and minimum cruft to read through/ 
&lt;br&gt;&amp;gt; delete. Readability is important for me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I also prefer to not use subthemes because it seems less confusing, &amp;nbsp;
&lt;br&gt;&amp;gt; easier, and faster to just rename a downloaded theme as a new theme.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I like to leave the dynamic JS/CSS load because I want to know what &amp;nbsp;
&lt;br&gt;&amp;gt; kind of CSS or JS is coming down the pipeline from other modules &amp;nbsp;
&lt;br&gt;&amp;gt; that might potentially cause css class name or style conflicts with &amp;nbsp;
&lt;br&gt;&amp;gt; my own style.css. Nothing is more frustrating to me than thinking &amp;nbsp;
&lt;br&gt;&amp;gt; I'm done but then having a module conflicting with it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I rely heavily on Webdeveloper &amp; Firebug for Firefox, and Devel &amp;nbsp;
&lt;br&gt;&amp;gt; module for printing out variable content dsm($node) and clearing all &amp;nbsp;
&lt;br&gt;&amp;gt; caches quickly which is critical for theming advanced stuff in &amp;nbsp;
&lt;br&gt;&amp;gt; Drupal. Theme developer I'll use occasionally when battling strange &amp;nbsp;
&lt;br&gt;&amp;gt; bugs but it tends to slow down page loads, which reduces my &amp;nbsp;
&lt;br&gt;&amp;gt; productivity.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The important thing I think is to adapt Drupal to your workflow and &amp;nbsp;
&lt;br&gt;&amp;gt; not the other way around. It's helpful to play around with existing &amp;nbsp;
&lt;br&gt;&amp;gt; themes to learn how they work but despite what anyone says there is &amp;nbsp;
&lt;br&gt;&amp;gt; no real &amp;quot;right&amp;quot; or standard way of doing it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26046568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26046568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26043664</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-24T15:25:43Z</published>
	<updated>2009-10-24T15:25:43Z</updated>
	<author>
		<name>farsheed</name>
	</author>
	<content type="html">I generally like Squiggy's approach in creating static html and then inserting Drupal after the fact. &amp;nbsp;My approach is slightly different though: 
&lt;br&gt;&lt;br&gt;1) take the Framework theme, rename it as a new theme (making sure to rename .info files and template.php function names)
&lt;br&gt;2) comment out or remove all the content related drupal variables in page.tpl.php (sometimes i'll replace it with static dummy text)
&lt;br&gt;3) this leaves me with a skeleton html tpl.php file but still loads in JS and CSS dynamically through Drupal
&lt;br&gt;4) I'll build out the theme using style.css (again commenting or deleting when it is distracting) 
&lt;br&gt;5) Then I'll replace the variables from #2 and continue styling those regions individually
&lt;br&gt;&lt;br&gt;I like Framework for this because it has a well structured CSS file and very basic tpl.php files, and minimum cruft to read through/delete. Readability is important for me.
&lt;br&gt;&lt;br&gt;I also prefer to not use subthemes because it seems less confusing, easier, and faster to just rename a downloaded theme as a new theme.
&lt;br&gt;&lt;br&gt;I like to leave the dynamic JS/CSS load because I want to know what kind of CSS or JS is coming down the pipeline from other modules that might potentially cause css class name or style conflicts with my own style.css. Nothing is more frustrating to me than thinking I'm done but then having a module conflicting with it.
&lt;br&gt;&lt;br&gt;I rely heavily on Webdeveloper &amp; Firebug for Firefox, and Devel module for printing out variable content dsm($node) and clearing all caches quickly which is critical for theming advanced stuff in Drupal. Theme developer I'll use occasionally when battling strange bugs but it tends to slow down page loads, which reduces my productivity.
&lt;br&gt;&lt;br&gt;The important thing I think is to adapt Drupal to your workflow and not the other way around. It's helpful to play around with existing themes to learn how they work but despite what anyone says there is no real &amp;quot;right&amp;quot; or standard way of doing it.
&lt;br&gt;&lt;br&gt;zirafa
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--- On Sat, 10/24/09, Mark Shropshire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdshrops@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Mark Shropshire &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mdshrops@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [themes] Workflow Question
&lt;br&gt;&amp;gt; To: &amp;quot;A list for theme developers&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Saturday, October 24, 2009, 3:21 PM
&lt;br&gt;&amp;gt; Laura,
&lt;br&gt;&amp;gt; Sub-themes outside of the the theme folder is
&lt;br&gt;&amp;gt; very important. It has really helped me when I update the
&lt;br&gt;&amp;gt; base contrib themes since the sub-themes no longer have to
&lt;br&gt;&amp;gt; be a subfolder within the base theme as in Drupal
&lt;br&gt;&amp;gt; 5.
&lt;br&gt;&amp;gt; Thanks for bringing this up!
&lt;br&gt;&amp;gt; Mark
&lt;br&gt;&amp;gt; On Oct 24, 2009, at 12:34 PM, Laura
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Something others have not said, but is
&lt;br&gt;&amp;gt; extremely important: Do not  
&lt;br&gt;&amp;gt; modify a theme you download. Make your theme a sub-theme of
&lt;br&gt;&amp;gt; the base  
&lt;br&gt;&amp;gt; theme you select, and then just override what you want.
&lt;br&gt;&amp;gt; More info on  
&lt;br&gt;&amp;gt; that is here: &lt;a href=&quot;http://drupal.org/node/225125&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://drupal.org/node/225125&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26043664&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26043664.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26042175</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-24T12:21:24Z</published>
	<updated>2009-10-24T12:21:24Z</updated>
	<author>
		<name>Mark Shropshire-2</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;Laura,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Sub-themes outside of the the theme folder is very important. It has really helped me when I update the base contrib themes since the sub-themes no longer have to be a subfolder within the base theme as in Drupal 5.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks for bringing this up!&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Mark&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;On Oct 24, 2009, at 12:34 PM, Laura wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Something others have not said, but is extremely important: Do not &amp;nbsp;&lt;br&gt;modify a theme you download. Make your theme a sub-theme of the base &amp;nbsp;&lt;br&gt;theme you select, and then just override what you want. More info on &amp;nbsp;&lt;br&gt;that is here: &lt;a href=&quot;http://drupal.org/node/225125&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://drupal.org/node/225125&lt;/a&gt;&lt;br&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#006312&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#144FAE&quot;&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;_______________________________________________&lt;br&gt;themes mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042175&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;&lt;br&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042175&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26042175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26042134</id>
	<title>Re: Workflow Question</title>
	<published>2009-10-24T12:15:40Z</published>
	<updated>2009-10-24T12:15:40Z</updated>
	<author>
		<name>Taylor Edwards</name>
	</author>
	<content type="html">agreed. can't find a single review about themegenie online, and the box 
&lt;br&gt;on the front of the website is rather poorly photoshopped together.
&lt;br&gt;&lt;br&gt;Steve Ringwood wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; themegenie &amp;nbsp;appears to be vapor &amp;nbsp;ware, most &amp;nbsp;(all) of the links are 
&lt;br&gt;&amp;gt; broken.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if you use Dreamweaver try dreamweaver extension for drupal themeing.
&lt;br&gt;&amp;gt;&amp;gt; look here
&lt;br&gt;&amp;gt;&amp;gt; www.themegenie.net
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 10/24/09, Vincent // basicmagic.net &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;vincent@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; if i were you, i would consider
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 1- downloading the tao and singular themes from developmentseed.org instead
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 2- customizing singular to make your first theme, by adapting the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; existing templates and css to your visual design
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 3- as you gain more experience... use tao/singular as a model for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; creating your own theme from html/css
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 4- or, you can do the same with bluemarine instead of tao/singular
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; (dump out the tables in bluemarine when you do it-
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; and change them to divs in the page templates and css...)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 5- i don't use garland and i don't prefer zen, but people are free to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; do what they want now aren't they... that's what its all about
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; 6- kickin' new thing i am looking at is adapting one of my themes to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; css dry for drupal
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; drupal is the best theming platform in the world
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; i have been on it for the past 5+ years, love it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; phptemplate is the bomb...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; that's good i think!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; -vincent, in buffalo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://basicmagic.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://basicmagic.net&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; On 10/24/09, Tony Crockford &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tonyc@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I'm new to Drupal Theming, but have solid experience in PSD to HTML/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;CSS &amp;nbsp;template creation, in other words I can build the HTML and CSS
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;for a visual, efficiently and quickly.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;So my question is is it easier to adapt the Zen theme to a visual
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;design, or is it easier to convert a set of HTML and CSS to a Drupal
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;theme?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;or am I asking the wrong question?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;What do you do?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;TIA
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;_______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;themes mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; themes mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- With Many Thanks and Regards sherif mayika www.sherifmayika.com 
&lt;br&gt;&amp;gt;&amp;gt; Aladin Studios Market Road, Trippunittura, Kochi 091 9447149449 091 
&lt;br&gt;&amp;gt;&amp;gt; 9388149449 _______________________________________________ themes 
&lt;br&gt;&amp;gt;&amp;gt; mailing list &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; themes mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;_______________________________________________
&lt;br&gt;themes mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26042134&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;themes@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.drupal.org/mailman/listinfo/themes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.drupal.org/mailman/listinfo/themes&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Workflow-Question-tp26039304p26042134.html" />
</entry>

</feed>
