Closed (fixed)
Project:
Web Links
Version:
6.x-2.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2009 at 03:57 UTC
Updated:
10 Nov 2010 at 20:10 UTC
For some reason new links are not appearing on my site's front page even with the 'Promoted to front page' box clicked. Any ideas? I am using the normal www.example.com/node front page, I cleared all caches, etc....
Eric
Comments
Comment #1
aitala commentedOk, I found it - all the weblinks nodes had sticky set to -100 in the 'nodes' table. Any idea why? Even on newly created weblink nodes.
Comment #2
nancydruWe use "sticky-encoded" weighting now (similar to the Weight module), so -100 means non-weighted, non-sticky. I have never had any problem with this not showing up on the home page, although I rarely want new links there.
Comment #3
aitala commentedWell, I went into the DB with phpMyAdmin and reset all the weblinks nodes to sticky=0 and they appeared on the main front page. I would agree that, in general, folks might not want links to show up on the front page, but if they do, manually updating the DB is not the way to go... Hehe..
But in general, none of my nodes has a 'sticky' other than zero. So its seems odd to me that -100 is the 'default'...
Edit: In looking at weblinks.weight.inc, I am really not sure this is a good idea.. Since weight only goes from -10 to 10, I don't get adding or subtracting 100. Now if you multiplied the weight by 10, then did the add/subtraction...
Thanks,
Dr E
Comment #4
nancydruIf you look at the Weight module, with which we wish to be compatible, the weight range is -90 to 90.
Perhaps everything is working for me because I also have the Weight module installed. I will try to set up a test case on a site that does not have Weight.
Comment #5
nancydruI set up a site that has nothing but Web Links installed and the promoted links properly show on the home page. I just added this check to the test file too.
Comment #6
aitala commentedDid you add any non-weblinks nodes? Most of mine are non-weblinks, so if they get pushed to the bottom, no one will see them. For example, see - http://www.f1m.com/main/node?page=80 and look at the node publishing dates.
Any chance of making the addition/subtraction a selectable (on/off) option for the weblinks node type?
Eric
Comment #7
nancydruYes, there are other nodes there. I did just now test with "sticky" and see that there is a sorting problem there. I will have to try to see why. This technique is working everywhere else that I have seen.
As for a weighting option, you would need to open a new feature request. Weighting has been in this module forever, although we did change the method not too long ago.
Comment #8
aitala commentedHm... I actually do not have any sticky nodes, but I am running the Admin Messages module which can make nodes sticky, I think. I will remove that and see what happens...
Eric
Comment #9
nancydruMost of my sites have a "Welcome" story node that is sticky and promoted.
Comment #10
macloch commentedI have this issue also after upgrading weblinks - all weblinks are displayed "after" all other content types on front and other pages.
Comment #11
nancydruComment #12
TRS_Chris commentedI am also having this problem after updating. All web links appear at the end of all other front page content (in my case, appearing on page 4) regardless of when they were posted and whether or not I promote them to the front page.
Comment #13
nancydruYes, I understand. Plus, unfortunately, this also means that if you make them sticky, they show before everything else. If you use the Weight module, you would not see this as everyone would play by the same rules.
I am trying to find a good way to fix this without having to put our own weighting back in. IMHO, the best thing is to remove all weighting from this module, as that is more standard Drupal.
Comment #14
kenny hektik commentedI too was having this same issue, but after reading NancyDru's post (#4), I installed the weight module and applied it to all of my nodes and now everything is working as it should be. So thanks NancyDru for mentioning that.
Comment #15
nancydruYes, if all node types use Weight, it would be fixed. However, if they do not, it could still occur. Without a hack to node.module, I'm having trouble trying to figure out how to fix it. (In D7, with query tagging, it might be possible to intercept it with a query rewrite.)
Comment #16
hvalentim commentedAny progress on this?
Still experience the same: links do not show up on front page, although promoted.
Comment #17
nancydruSee #14 and #15 above. Also, if you are still on 6.x-2.0, then update to the newest version and see if this problem still exists.
Comment #18
jvinci commentedFYI: I had the same problem while using version 6.x-2.3. I installed and configured the Weight Module and now my front page posts are properly ordered.
Thanks,
JV
Comment #19
nancydru