I've create a page-front.tpl.php to specifically change how this front-page should look. This works fine. The default page.tpl.php is the standard and that also works fine. I am also running clean-urls and turned on the Path module (all in Apache 2.0.x and PHP mind you).
The problem is that when I go to http://localhost/mysite .... yes this shows: page-front.tpl.php However, if I go to http://localhost/mysite/default.htm ... then it shows page.tpl.php .... which is NOT what I want.
How can I tell Drupal 5.5, that these are both the same front page so I get the right page template?
I wonder if I should just have a page-nid.tpl.php to solve the issue?
Thanks! Tom
Tom Holmes Jr. wrote:
The problem is that when I go to http://localhost/mysite .... yes this shows: page-front.tpl.php However, if I go to http://localhost/mysite/default.htm ... then it shows page.tpl.php .... which is NOT what I want.
are you sure you don't have a plain html page called default.htm ...?
I though there might be some clever alias involved but on my site I just get page not found .
I am quite sure that I have no page called default.htm on the web-site.
I created a piece of content ... this Page content type was promoted to be the front-page. Let's say this content has node-id is 100. Using the standard Path module and Clean-Urls, I created a path alias for this node-id 100 to default.htm.
Sean Burlington wrote:
Tom Holmes Jr. wrote:
The problem is that when I go to http://localhost/mysite .... yes this shows: page-front.tpl.php However, if I go to http://localhost/mysite/default.htm ... then it shows page.tpl.php .... which is NOT what I want.
are you sure you don't have a plain html page called default.htm ...?
I though there might be some clever alias involved but on my site I just get page not found .
Hi - I like the comment notify module works a lot. However, it sends notices to users even when the new comment is marked as spam. So basically what I am looking for is for someone to edit/hack the module to only run when a comment is approved and live. I had to turn the module off because my users were seriously pissed off.
Anyone interested in this assignment - please mail me off list with timing and price quote.
Thank you, Allen
On Friday, January 4 2008 5:16:17 pm Allen Stern wrote:
Hi - I like the comment notify module works a lot. However, it sends notices to users even when the new comment is marked as spam. So basically what I am looking for is for someone to edit/hack the module to only run when a comment is approved and live. I had to turn the module off because my users were seriously pissed off.
Anyone interested in this assignment - please mail me off list with timing and price quote.
Thank you, Allen
Has anyone contacted you on this? I can't imagine this would take too long to do, but I haven't even looked at the module's code to say for sure.
BTW ... I got it ...
I was updating the sites "Slogan" and Title for under Site Configuration ... and I set the default home page to: http://localhost/mysite/default.htm
That seemed to work for me without any issues. Thanks!
Sean Burlington wrote:
Tom Holmes Jr. wrote:
The problem is that when I go to http://localhost/mysite .... yes this shows: page-front.tpl.php However, if I go to http://localhost/mysite/default.htm ... then it shows page.tpl.php .... which is NOT what I want.
are you sure you don't have a plain html page called default.htm ...?
I though there might be some clever alias involved but on my site I just get page not found .