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 ;-) )

[1] http://groups.drupal.org/node/7043

Comments

webchick’s picture

Title: Replace "Sticky at top of lists" with an more meaningful equivalent » GHOP #48 (1): Replace "Sticky at top of lists" with an more meaningful equivalent

Marking as a GHOP task so people know not to work on it.

webchick’s picture

Title: GHOP #48 (1): Replace "Sticky at top of lists" with an more meaningful equivalent » Replace "Sticky at top of lists" with an more meaningful equivalent

Oh 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. :)

marco.robotangel’s picture

Status: Active » Needs review
StatusFileSize
new592 bytes

Well, my very first patch here. I'm quite sure I've forgotten something so don't chop me up if it's not complete.

senpai’s picture

Status: Needs review » Reviewed & tested by the community

Tested 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.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Needs review

Are 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.

senpai’s picture

I 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?

mlncn’s picture

Status: Needs review » Needs work

Very 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:

./modules/node/content_types.inc:162: 'sticky' => t('Sticky at top of lists'),./modules/node/node.module:1296:

And the admin filter:

'sticky' => array(
./modules/node/node.module:1297: 'label' => t('Make sticky'),
./modules/node/node.module:1298: 'callback' => 'node_operations_sticky',
./modules/node/node.module:1300: 'unsticky' => array(
./modules/node/node.module:1302: 'callback' => 'node_operations_unsticky',

Again, ignore line numbers but I bet the files are the same in D6.

Bevan’s picture

Version: 6.x-dev » 7.x-dev

will need to wait for d7 now with the lang code freeze. tag for newbie

drawk’s picture

Component: node system » usability
kika’s picture

Component: usability » user interface text
Issue tags: +GHOP
Anonymous’s picture

I 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?

wretched sinner - saved by grace’s picture

senpai’s picture

Title: Replace "Sticky at top of lists" with an more meaningful equivalent » Replace "Sticky at top of lists" with a more meaningful equivalent
Assigned: Unassigned » senpai
Status: Needs work » Needs review
StatusFileSize
new3.17 KB

It'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:

URL #1: /admin/build/types/add
Look in the Workflow Settings fieldset for Default Options and check the text for "Sticky (stays at top of content lists)".
URL #2: /admin/content/node
Look in the Update Options dropdown menu for a "Make sticky (stays at top of content lists)"
URL #3: /node/1/edit
Look for the changed text, "Sticky (stays at top of content lists)", under the Publishing Options [vertical tab].
URL #4: admin/settings/search
Near the bottom of the page, look for the "Sticky (stays at top of content lists)" beneath the Content Ranking factor.
URL #5: /admin/
blahblah.

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.

senpai’s picture

Issue tags: +Newbie, +beginner

Adding tags.

Status: Needs review » Needs work

The last submitted patch failed testing.

senpai’s picture

Status: Needs work » Needs review
StatusFileSize
new2.81 KB

Woops! Apparently, one cannot change the text of

function node_action_info() {
  'node_make_sticky_action' => array(
    'type' => 'node',
    'description' => t('Make post sticky'),

to add a (stays at top of content lists) clause without messing up the Triggers simpletest line of

// Test 3: The action should be able to be unassigned from a trigger.
  $this->assertRaw(t('Action %action has been unassigned.', array('%action' => ucfirst($info['name']))), t('Check to make sure the @action action can be unassigned from the trigger.', array('@action' => $info['name'])));

so we'll just go without that one because I don't want to rewrite triggers' tests tonight. :)

Bevan’s picture

Status: Needs review » Needs work
Issue tags: +Usability, +Usability Team Approved

I 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

EvanDonovan’s picture

When 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?

bdunwood’s picture

subscribing

webchick’s picture

Version: 7.x-dev » 8.x-dev

Will have to try this again in D8.

senpai’s picture

Assigned: senpai » Unassigned

No time to work this one, so freeing it up.

pillarsdotnet’s picture

Title: Replace "Sticky at top of lists" with a more meaningful equivalent » Replace "Sticky at top of lists" with a more meaningful and general-purpose "Weight" field.

Why don't we ditch the sticky field in favor of a more general weight field?

This would provide the following advantages:

  • The meaning of the term is more natural and consistent with Drupal usage elsewhere.
  • It allows more choices than just "sticky" and "non-sticky".
  • It doesn't use any more storage nor require any more overhead.

If anyone agrees, I'll roll a patch.

pillarsdotnet’s picture

Removing tags which are no longer applicable.

joachim’s picture

I'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.

pillarsdotnet’s picture

Title: Replace "Sticky at top of lists" with a more meaningful and general-purpose "Weight" field. » Remove "sticky" column from node table.

Re-titling then.

Bevan’s picture

The 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.

EvanDonovan’s picture

If 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?)

joachim’s picture

Title: Remove "sticky" column from node table. » Replace "Sticky at top of lists" with a more meaningful equivalent

Those 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.

EvanDonovan’s picture

Thanks, 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".

ry5n’s picture

It 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.

yoroy’s picture

'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?

drupa11y’s picture

I 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...

thedavidmeister’s picture

Title: Replace "Sticky at top of lists" with a more meaningful equivalent » Replace "Sticky at top of lists" with a field or just remove it

This 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.

Bevan’s picture

Title: Replace "Sticky at top of lists" with a field or just remove it » Replace "Sticky at top of lists" with a more meaningful equivalent

Removing it wouldn't allow for an upgrade path from Drupal 7.

tstoeckler’s picture

Re #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).

gábor hojtsy’s picture

Also 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.

thedavidmeister’s picture

If 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.

yoroy’s picture

This 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 :-)

Bevan’s picture

@tstoeckler, Oh I see. I misunderstood "just removed completely".

meeli’s picture

Issue summary: View changes

Yoroy, 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.

yoroy’s picture

Thanks, 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?

greta_drupal’s picture

"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.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

i.bajrai’s picture

Hmmm...

Only tried this on one Notice that I wanted promoted to the top of the list, and it appeared that although I made it "sticky" - under Publishing - it did not seem to promote the item up the list. Is this a simple fix?

Literally from a client.

If the query or the view doesn't take "sticky" into account it is a useless feature. +1 for removing completely.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

shubhangi1995’s picture

StatusFileSize
new615 bytes

Hi

@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" .

shubhangi1995’s picture

Status: Needs work » Needs review

The last submitted patch, 3: node.pages_.inc_sticky.patch, failed testing. View results

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

smustgrave’s picture

Version: 9.5.x-dev » 10.1.x-dev
Category: Task » Feature request
Status: Needs review » Needs work
Issue tags: +Needs Review Queue Initiative, +Needs usability review

This 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

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

dalemoore’s picture

It 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.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.