Try to create a new story, expand "publishing options". You will see an option "Sticky at top of lists". This is a quite unclear description, especially if you never participated in an bulletin board or have never used Drupal before.
The suggestion made at [1] is to replace it with an more meaningful equivalent: "Sticky (stays at top of content lists).". Even if you've never used Drupal before you know directly where exactly it will be shown (at the top of the content lists) and it'll stay there until you choose a different option.
Don't hurry, I'll try to fix this problem (should be just a small description to change?) on my own (want to learn something ;-) )
| Comment | File | Size | Author |
|---|---|---|---|
| #49 | 197460_node-pages-inc_sticky_48.patch | 615 bytes | shubhangi1995 |
| #16 | 197460_node-pages-inc_sticky_0.patch | 2.81 KB | senpai |
| #13 | 197460_node-pages-inc_sticky.patch | 3.17 KB | senpai |
| #3 | node.pages_.inc_sticky.patch | 592 bytes | marco.robotangel |
Comments
Comment #1
webchickMarking as a GHOP task so people know not to work on it.
Comment #2
webchickOh nevermind. :) I see what you're doing. Unmarking as a GHOP task. But yeah, if folks could give marco.robotangel a couple days to work on this that'd be swell. :)
Comment #3
marco.robotangel commentedWell, my very first patch here. I'm quite sure I've forgotten something so don't chop me up if it's not complete.
Comment #4
senpai commentedTested and working fine. The patch applies cleanly. Good work! I even like the way you worded it, and there are some around here who know how hard that is to do! ;-) I'm RTBC'ing this, so unless there are any objections to the text, it should probably get committed.
A note for you, though Marco. You should learn how to patch against core files from the root of the drupal directory. There's more info in the http://drupal.org/patch section of the Handbooks.
Comment #5
gábor hojtsyAre there other places where this might appear? The content overview page's filter form might not be the best to apply this change as well, but a bit of a look around would help in achieving consistency.
Comment #6
senpai commentedI didn't even think of that, but upon consideration, it seems like that's the only place I've ever seen it. Marco, mind doing a search through core for that phrase or others like it?
Comment #7
mlncn commentedVery nice patch, Marco, and good catch, Gabor.
A quick grep through core (sorry I did Drupal 5, I realize now, but I didn't have 6 on my computer)
/drupal-core/drupal-5.3 ben$ grep -nHR sticky .comes up with one important spot, other than the content overview page's filter (which should probably be changed also? Not really a space consideration is there?)
That spot is the default settings provided by content_types:
And the admin filter:
Again, ignore line numbers but I bet the files are the same in D6.
Comment #8
Bevan commentedwill need to wait for d7 now with the lang code freeze. tag for newbie
Comment #9
drawk commentedComment #10
kika commentedComment #11
Anonymous (not verified) commentedI am using D5 also and decided to manually change the text from "Sticky at top of lists" to "Featured Items" for my own purposes. I made these change anywhere I found the phrase "Sticky at top of lists" in both ./modules/node/content_types.inc and ./modules/node/node.module. It's works great but only when logged in as site admin. I used Override Node Options to enable content editors to use the Publishing options. But when I login as a content editor it still reads "Sticky at top of lists". How is this possible if I changed all instances in the scripts?
Should I start a new post on this issue?
Comment #12
wretched sinner - saved by grace commentedComment #13
senpai commentedIt's been 1.5 years since Marco worked on this, think I can take over and close it out? :)
Patch Testing Instructions
This patch changes the label text of several things pertaining to making a node 'sticky'. There's five pages that this patch affects:
/admin/build/types/add/admin/content/node/node/1/editadmin/settings/search/admin/Simpletest
Now that I've written out all of these instructions, it's starting to look like a Simpletest might be in order? Holla if you want one, and I'll add it.
Comment #14
senpai commentedAdding tags.
Comment #16
senpai commentedWoops! Apparently, one cannot change the text of
to add a (stays at top of content lists) clause without messing up the Triggers simpletest line of
so we'll just go without that one because I don't want to rewrite triggers' tests tonight. :)
Comment #17
Bevan commentedI think it's unnecessary to write a test that accompanies the changes in this patch, since there are no functional changes introduced by this patch, only changes to texts wrapped in
t(). Further, we need to update the simpletest that failed so that it knows about the new text, not the other way around.Otherwise, this is great! :D
Comment #18
EvanDonovan commentedWhen you change the text for the "make sticky" action, you may also want to change the text for the "make unsticky" action to match.
If this has been approved by the Usability Team, what else needs to happen for it to get in to 7.x?
Comment #19
bdunwood commentedsubscribing
Comment #20
webchickWill have to try this again in D8.
Comment #21
senpai commentedNo time to work this one, so freeing it up.
Comment #22
pillarsdotnet commentedWhy don't we ditch the
stickyfield in favor of a more generalweightfield?This would provide the following advantages:
If anyone agrees, I'll roll a patch.
Comment #23
pillarsdotnet commentedRemoving tags which are no longer applicable.
Comment #24
joachim commentedI'm not sure anyone uses the sticky flag on nodes any more -- like the OP says, it's a throwback to Drupal's bulletin board-style origins.
And I'm not sure nodes should be carrying a weight flag either. If you wanted to weight nodes, that should be done via a FieldAPI weight field, surely?
We could just remove this from core completely, and if you actually want a 'sticky' flag you use flag module.
Comment #25
pillarsdotnet commentedRe-titling then.
Comment #26
Bevan commentedThe problem is the upgrade path. Drupal promises to not lose any data between major versions. Discarding the sticky column/field requires we also discard the data. In order to remove it completely, we could add an upgrade-time option to remove the data completely. And the upgrade path defaults to converting it to a flag or weight field. That makes this non-trivial.
Comment #27
EvanDonovan commentedIf you use the core forum module (or Advanced Forum, which is based on it), then you might use the sticky field still. I don't think it should necessarily be removed. That was not the original intent of this issue - it had a very minimally invasive patch when initially proposed.
If people really don't like the sticky bit on nodes, it could just be removed from the node form the way that the moderate bit was (and possibly added back in by forum.module?)
Comment #28
joachim commentedThose are both very good points -- the perfect is the enemy of the good :)
Let's wind this back down to the original issue, get this simple improvement in, and bikeshed the bigger picture in a new issue later.
Comment #29
EvanDonovan commentedThanks, joachim. I just would hate to see another issue that was close to being resolved drag on for another few months...or years.
So it looks like there are two possible approaches:
1) Revise the text as in the patch for D7 that was approved previously (#197460-16: Replace "Sticky at top of lists" with a more meaningful equivalent)
2) Hide the sticky column from the node form, in light of #197460-24: Replace "Sticky at top of lists" with a more meaningful equivalent, and add it back in via hook_form_alter() for those using forum.module/Advanced Forum.
I would advocate simply for #1 for now. That patch simply needs a re-roll, the tests to be removed, and for the text to be changed on "make unsticky" action as well as "make sticky".
Comment #30
ry5n commentedIt would be a shame if this isn't fixed for D8. I'd like to briefly re-open the discussion of wording here, then get a new patch rolled that works for D8.
The latest patch in this issue changes the text to "Sticky (stays at top of content lists)". In a duplicate issue #1562804: "Sticky on top" is hard to understand, some other options were suggested:
1. "Pin to top of content lists"
2. "Sort at top of content lists"
3. "Always show at top of content lists"
I'm sceptical of the value of the word 'sticky'. It's not used in any UIs that I'm aware of except bulletin boards, which most users will not know. It's simply another jargon word. In terms of new verbs, [1] "pin" is more concrete (think corkboard) and familiar from the Windows taskbar and several other common UIs. [2] Sort is definitely not jargon, but the phrase "sort at top" is ambiguous because sorting usually involves all things in a list, but this is a one-off override. With [3], there is the problem that having this unchecked may somehow imply that the item may be hidden otherwise.
My suggestion is to change this to 'Pin to top of content lists', and remove the term 'sticky'. I'd love to get feedback from anyone who has observations on users working with this feature, or similar concepts in other applications.
EDIT for clarity and trying to be brief.
Comment #31
yoroy commented'Pin to top when shown in lists'
'Always at the top when shown in lists'
I find 'content lists' still quite abstract wording because what is content has such vague boundaries. Maybe my wording projects a bit clearer what the setting does and when it applies?
Comment #32
drupa11y commentedI would also love the possibility to disable this field depending on my needs like explained here:
http://drupal.stackexchange.com/questions/4612/how-to-disable-promote-to...
Comment #33
thedavidmeister commentedThis should just be a standard field from the core Field API, or, just removed completely since you can replicate this functionality trivially for any fieldable entity in D8.
Comment #34
Bevan commentedRemoving it wouldn't allow for an upgrade path from Drupal 7.
Comment #35
tstoecklerRe #34: That's not true. We could certainly add a 'sticky' field on all nodes and update e.g. the /node view accordingly. It'd be a bit of work, but the upgrade path sometimes is. So if we decide we want to remove it, we can and should.
I am in agreement with the removal, BTW. Not changing title back, though, as there doesn't seem to be consensus around tha t(yet).
Comment #36
gábor hojtsyAlso even if its just removed and nothing added back in place, the data can still be placed in a "temporary" table, eg. 'node_sticky_drupal_7' with nid and sticky. Similar plans are there for the node-copy translation module removal which will not have a core upgrade path. See #1952062: Remove legacy translation module in favor of content translation.
Comment #37
thedavidmeister commentedIf we don't allow ourselves to do something like #35 and/or #36, we'll be stuck with things like this forever.
#36 is similar to how content migrate works for cck fields in D6 to D7.
Comment #38
yoroy commentedThis issue keeps swinging back and forth between a simple renaming of the label of an existing feature and removing the feature all together.
The original report is about the not-so-clear wording of the label, so discussing it's removal is not in scope here but needs it's own discussion. See #28 from 2.5 years ago :-)
Comment #39
Bevan commented@tstoeckler, Oh I see. I misunderstood "just removed completely".
Comment #40
meeli commentedYoroy, I sort of disagree. Some UI issues are indicative of much larger problems: in this case, I don't think changing the wording of this feature is going to make the feature any more "usable" because the feature itself is redundant and irrelevant for most usability cases.
I'm in favour of removing this feature - it routinely confuses users in my experience. Maybe the fact that you can't keep your sticky content is not too much of an issue. If we keep this feature around, we just create a future where people think Drupal is an old-fashioned, message-board style CMS and it is far from that.
Comment #41
yoroy commentedThanks, I agree with that assesment Meeli. My comment was about trying to keep this issue limited to the original report, but that is indeed too narrow a discussion. There's no consensus around whether to keep the feature at all.
How do you think we could find out whehter to keep it or not?
Comment #42
greta_drupal commented"Sticky" is not good -- it is a techy term. Use instead "Pin". This is a term that has logic, and users are familiar with it because of Twitter, Pinterest, Windows, etc. usage.
"Pin to top of page". (alt: "Pin to top of list.")
Also, the verbage used on the node options are not consistent with that used on the Content page filter dropdown. They should match identically.
Comment #47
i.bajrai commentedLiterally from a client.
If the query or the view doesn't take "sticky" into account it is a useless feature. +1 for removing completely.
Comment #49
shubhangi1995Hi
@i.bajrai : - The sticky at top of lists feature is still available and is working correctly , please check if your content was published or not as it works on published content.
after going through the whole issue , and following the original concept of changing the text to "Pin to top of content lists" from "Sticky at top of lists" .
Comment #50
shubhangi1995Comment #59
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
After so long this seems more like a feature request.
Tagging for usability review for the text change.
Also could use screenshots of the before and after
Comment #61
dalemoore commentedIt seems like many websites use the idea of "pin" as mentioned previously, I'm +1 on renaming it "Pin to top of lists" or similar.