|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Determine Home PageI'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 _______________________________________________ themes mailing list themes@... http://lists.drupal.org/mailman/listinfo/themes |
|
|
Re: Determine Home PageOn 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@... http://lists.drupal.org/mailman/listinfo/themes |
|
|
Re: Determine Home PageHi,
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@...> wrote:
-- Geshan Manandhar http://geshan.blogspot.com Supporting FOSS @ fossnepal.org www.HAMROLYRICS.COM _______________________________________________ themes mailing list themes@... http://lists.drupal.org/mailman/listinfo/themes |
|
|
Re: Determine Home PageAnything 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@... > <mailto:proggaprogga@...>> 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@... <mailto:themes@...> > 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@... > 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 > _______________________________________________ themes mailing list themes@... http://lists.drupal.org/mailman/listinfo/themes |
| Free embeddable forum powered by Nabble | Forum Help |