Blankhello. I changed the node that is shown in the index page of my website to node/1 which is a custom php page that I'd like to use for my home page. that worked just fine, except for a very annoying fact, which is even if I promote some stories/pages to the main page they simply never show. the website in question is mystop.net thank you. Mohammed Al-Shar' Adaptive technology specialist email: mohammed@mystop.net mobile: 00962(79)6632186 website: http://www.mystop.net
Blank It looks like you should be customizing the "Front" page module. ----- Original Message ----- From: Mohammed al-shar' To: drupal-support@drupal.org Sent: Sunday, September 04, 2005 9:56 AM Subject: [drupal-support] story in the index page
hello. I changed the node that is shown in the index page of my website to node/1 which is a custom php page that I'd like to use for my home page. that worked just fine, except for a very annoying fact, which is even if I promote some stories/pages to the main page they simply never show. the website in question is mystop.net thank you. Mohammed Al-Shar' Adaptive technology specialist email: mohammed@mystop.net mobile: 00962(79)6632186 website: http://www.mystop.net
------------------------------------------------------------------------------
-- [ Drupal support list | http://lists.drupal.org/ ]
------------------------------------------------------------------------------
No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 02/09/2005
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 02/09/2005
"Promote to front" off course only works if youleave the front page /node.
Op zondag 04 september 2005 15:56, schreef Mohammed al-shar':
Blankhello. I changed the node that is shown in the index page of my website to node/1 which is a custom php page that I'd like to use for my home page. that worked just fine, except for a very annoying fact, which is even if I promote some stories/pages to the main page they simply never show. the website in question is mystop.net thank you. Mohammed Al-Shar' Adaptive technology specialist email: mohammed@mystop.net mobile: 00962(79)6632186 website: http://www.mystop.net
Regards, Bèr
Hi,
On Sun, 2005-09-04 at 22:42 +0200, Bèr Kessels wrote:
"Promote to front" off course only works if youleave the front page /node.
I maybe wrong as I haven't checked, if you go to the /node these should still show. I am 99% sure that the promote to front is not dependant on /node being the front page.
Gordon.
Op zondag 04 september 2005 15:56, schreef Mohammed al-shar':
Blankhello. I changed the node that is shown in the index page of my website to node/1 which is a custom php page that I'd like to use for my home page. that worked just fine, except for a very annoying fact, which is even if I promote some stories/pages to the main page they simply never show. the website in question is mystop.net thank you. Mohammed Al-Shar' Adaptive technology specialist email: mohammed@mystop.net mobile: 00962(79)6632186 website: http://www.mystop.net
Regards, Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]
Gordon Heydon wrote:
Hi,
On Sun, 2005-09-04 at 22:42 +0200, Bèr Kessels wrote:
"Promote to front" off course only works if youleave the front page /node.
I maybe wrong as I haven't checked, if you go to the /node these should still show. I am 99% sure that the promote to front is not dependant on /node being the front page.
You are wrong. In order for the promote to front page stuff to work, your front page must be /node.
Hi,
On Sun, 2005-09-04 at 15:07 -0700, Earl Miles wrote:
Gordon Heydon wrote:
Hi,
On Sun, 2005-09-04 at 22:42 +0200, Bèr Kessels wrote:
"Promote to front" off course only works if youleave the front page /node.
I maybe wrong as I haven't checked, if you go to the /node these should still show. I am 99% sure that the promote to front is not dependant on /node being the front page.
You are wrong. In order for the promote to front page stuff to work, your front page must be /node.
Actually I am pretty sure I am not. I have checked the code and no matter what the front page setting is set to if you go to /node you will get all the items that have been flagged to be promoted to the front page.
I haven't tested it but I have checked the code and there is no check for the front page setting in node_page_default().
If you really I will test it tonight.
Gordon.
Hi,
On Mon, 2005-09-05 at 10:22 +0200, Bèr Kessels wrote:
Op maandag 05 september 2005 02:27, schreef Gordon Heydon:
If you really I will test it tonight.
Please do so, for I am nearly 100% sure you are wrong.
As I thought it does work.
what I did was.
Created a node and set the "default front page" to point to it. in my case node/1 I also set the "promote to front page" to false.
I then created another node with "promote to front page" set to true.
Now if I go to the front page I get the first node. eg. http://example.com/
and if I go to the node url eg. http://example.com/node I get the preview of the second node.
It does work. Gordon.
Gordon, I read the code, tried it on HEAD and in 4.6 and you are not correct, AFAIK. Are you *sure* it is not a custom theme of yours, nor a patch or a tweak?
I set node/3 as default front page. And I have a list of nodes promoted to frontpage. But on http://www.barlaeus.nl/brl2/ it only shows the node/3, not any other "promoted" nodes. Which is what the person asking for support wants.
on /node the list of promoted nodes -off course- still shows up, but certainly not on 'root', being http://www.barlaeus.nl/brl2/
Bèr
Op maandag 05 september 2005 11:27, schreef Gordon Heydon:
Hi,
On Mon, 2005-09-05 at 10:22 +0200, Bèr Kessels wrote:
Op maandag 05 september 2005 02:27, schreef Gordon Heydon:
If you really I will test it tonight.
Please do so, for I am nearly 100% sure you are wrong.
As I thought it does work.
what I did was.
Created a node and set the "default front page" to point to it. in my case node/1 I also set the "promote to front page" to false.
I then created another node with "promote to front page" set to true.
Now if I go to the front page I get the first node. eg. http://example.com/
and if I go to the node url eg. http://example.com/node I get the preview of the second node.
It does work. Gordon.
Regards, Bèr
Hi,
Well that is where the problem is. The "Promote to Front Page" doesn't put it onto the front page if the front page is not /node.
what you are talking about doing is really just the /node as the front page and the node with the "sticky at top of lists" flagged.
Or the other option is to add the following to the front page of the theme.
<?php echo node_page_default(); ?>
Really the "Promote to Front Page" should really be renamed as it is not always promoting nodes to the front page.
Gordon.
On Mon, 2005-09-05 at 12:19 +0200, Bèr Kessels wrote:
Gordon, I read the code, tried it on HEAD and in 4.6 and you are not correct, AFAIK. Are you *sure* it is not a custom theme of yours, nor a patch or a tweak?
I set node/3 as default front page. And I have a list of nodes promoted to frontpage. But on http://www.barlaeus.nl/brl2/ it only shows the node/3, not any other "promoted" nodes. Which is what the person asking for support wants.
on /node the list of promoted nodes -off course- still shows up, but certainly not on 'root', being http://www.barlaeus.nl/brl2/
Bèr
Op maandag 05 september 2005 11:27, schreef Gordon Heydon:
Hi,
On Mon, 2005-09-05 at 10:22 +0200, Bèr Kessels wrote:
Op maandag 05 september 2005 02:27, schreef Gordon Heydon:
If you really I will test it tonight.
Please do so, for I am nearly 100% sure you are wrong.
As I thought it does work.
what I did was.
Created a node and set the "default front page" to point to it. in my case node/1 I also set the "promote to front page" to false.
I then created another node with "promote to front page" set to true.
Now if I go to the front page I get the first node. eg. http://example.com/
and if I go to the node url eg. http://example.com/node I get the preview of the second node.
It does work. Gordon.
Regards, Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]
On Mon, 2005-09-05 at 10:22 +0200, Bèr Kessels wrote:
Op maandag 05 september 2005 02:27, schreef Gordon Heydon:
If you really I will test it tonight.
Please do so, for I am nearly 100% sure you are wrong.
As I thought it does work.
As I read through the posts in this thread, I couldn't help but laugh at how obviously (in retrospect) you two (Ber and Gordon) were misunderstanding each other. Of course you both thought the other was wrong - the problem was not the correctness of your arguments, it was a communication problem!
The question from Mohammed was not "stories don't show when I go to /node", it was "stories don't show when I go to the front page (which is not /node)". Ber, you interpreted this as I did (the former option). Gordon, you seemed to interpret it the other way (the latter).
There are a few ways to get the nodes showing on the front page. You could change your theme, as Gordon suggested. Another option (easier, but perhaps not as good a solution) would be to set your front page back to the default '/node', and to make your 'front page story' promoted to the front page, as well as 'sticky'. This way, it will appear at the top, before any other nodes. Alternatively, you could put the text in the site's mission, and display that on the front page '/node' using the built-in theme settings.
Jeremy Epstein www.greenash.net.au
I took a very quick look at Mohammed's site. He seems to want a custom front page and this is why I suggested he try the "Front Page" module.
( Jeremy, please check your email. I used the contact form on your site) ----- Original Message ----- From: "Jeremy Epstein" jazepstein@gmail.com To: drupal-support@drupal.org Sent: Monday, September 05, 2005 8:55 AM Subject: Re: [drupal-support] story in the index page
On Mon, 2005-09-05 at 10:22 +0200, Bèr Kessels wrote:
Op maandag 05 september 2005 02:27, schreef Gordon Heydon:
If you really I will test it tonight.
Please do so, for I am nearly 100% sure you are wrong.
As I thought it does work.
As I read through the posts in this thread, I couldn't help but laugh at how obviously (in retrospect) you two (Ber and Gordon) were misunderstanding each other. Of course you both thought the other was wrong - the problem was not the correctness of your arguments, it was a communication problem!
The question from Mohammed was not "stories don't show when I go to /node", it was "stories don't show when I go to the front page (which is not /node)". Ber, you interpreted this as I did (the former option). Gordon, you seemed to interpret it the other way (the latter).
There are a few ways to get the nodes showing on the front page. You could change your theme, as Gordon suggested. Another option (easier, but perhaps not as good a solution) would be to set your front page back to the default '/node', and to make your 'front page story' promoted to the front page, as well as 'sticky'. This way, it will appear at the top, before any other nodes. Alternatively, you could put the text in the site's mission, and display that on the front page '/node' using the built-in theme settings.
Jeremy Epstein www.greenash.net.au