I'm a newbie to Drupal Theme development, and I'm starting with BlueMarine because we want a table based theme. We're porting a static HTML web-site to Drupal, and it's all table-based. I'm gonna have to use that Import-HTML module to get the main content into Drupal. So this static web-site has it's own primary links in the header, and it's not consistent. One one home-page I have 6 items, on most of the other pages it is 3 items, and a few have 4 items. So, I am just wondering how I can determine which page is the home page ... then I can do some PHP to determine how to output that header menu. BTW, I did order the Drupal 5 Themes book, I own the Packt Drupal book, and the Pro Drupal Development book. I am also on the Drupal site and looking at the documentation of how to create a theme. So, I am doing as much research as possible. Thanks! Tom
On Thu, Dec 20, 2007 at 10:46:17AM -0500, Tom Holmes Jr. wrote:
So this static web-site has it's own primary links in the header, and it's not consistent. One one home-page I have 6 items, on most of the other pages it is 3 items, and a few have 4 items.
Having individual template pages like page-node-N.tpl.php where N > 0 might help. But there might be a better solution which I don't know :-(
So, I am just wondering how I can determine which page is the home page ...
isset($is_front) { ... }
Hi, I'd suggest you "theming like a pro" screencast at drupaldojo.com. I don't have the direct link now but see drupaldojo.com it'll be of great help for you. GEshan On Dec 20, 2007 10:55 PM, Progga <proggaprogga@gmail.com> wrote:
On Thu, Dec 20, 2007 at 10:46:17AM -0500, Tom Holmes Jr. wrote:
So this static web-site has it's own primary links in the header, and it's not consistent. One one home-page I have 6 items, on most of the other pages it is 3 items, and a few have 4 items.
Having individual template pages like page-node-N.tpl.php where N > 0 might help. But there might be a better solution which I don't know :-(
So, I am just wondering how I can determine which page is the home page ...
isset($is_front) { ... }
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
-- Geshan Manandhar http://geshan.blogspot.com Supporting FOSS @ fossnepal.org www.HAMROLYRICS.COM
Anything would be of help ... at least I'm getting the right resources. Thanks very much! :-) Geshan Manandhar wrote:
Hi, I'd suggest you "theming like a pro" screencast at drupaldojo.com <http://drupaldojo.com>. I don't have the direct link now but see drupaldojo.com <http://drupaldojo.com> it'll be of great help for you.
GEshan
On Dec 20, 2007 10:55 PM, Progga <proggaprogga@gmail.com <mailto:proggaprogga@gmail.com>> wrote:
On Thu, Dec 20, 2007 at 10:46:17AM -0500, Tom Holmes Jr. wrote:
> So this static web-site has it's own primary links in the header, and > it's not consistent. > One one home-page I have 6 items, on most of the other pages it is 3 > items, and a few have 4 items.
Having individual template pages like page-node-N.tpl.php where N > 0 might help. But there might be a better solution which I don't know :-(
> So, I am just wondering how I can determine which page is the home page ...
isset($is_front) { ... }
_______________________________________________ themes mailing list themes@drupal.org <mailto:themes@drupal.org> http://lists.drupal.org/mailman/listinfo/themes
-- Geshan Manandhar http://geshan.blogspot.com Supporting FOSS @ fossnepal.org <http://fossnepal.org> www.HAMROLYRICS.COM <http://www.HAMROLYRICS.COM> ------------------------------------------------------------------------
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.5/1190 - Release Date: 12/19/2007 7:37 PM
participants (3)
-
Geshan Manandhar -
Progga -
Tom Holmes Jr.