Former Member
inherit
guest@proboards.com
215472
0
Nov 24, 2024 23:35:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 9, 2017 9:10:00 GMT -8
I (for example) want to remove the bookmark part in the Actions dropdown. How do I do this, because there isn't a clear way to modify it in the templates tab.
|
|
Kami
Forum Cat
Posts: 40,200
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,200
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 9, 2017 11:24:42 GMT -8
The contents of the action drop down are not governed by templates (just whether or not it appears as a whole) so you would need a script to take away options.
|
|
Former Member
inherit
guest@proboards.com
215472
0
Nov 24, 2024 23:35:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 10, 2017 6:31:26 GMT -8
And is there like an example script for doing that?
|
|
Kami
Forum Cat
Posts: 40,200
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,200
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 10, 2017 11:43:21 GMT -8
No. Why don't you pop on over to the Plugin Request Board and see if they can help you out? The folks there deal with javascript (:
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 10, 2017 14:29:42 GMT -8
Adding a CSS rule such as the following to the bottom of your stylesheet should do it:
.actions .bookmark, .actions .unbookmark { display: none!important; /* important needed to override inline style */ }
Other common classes that appear in that actions menu:
.mark_as_new .mark_future .mark_as_read .mark_as_read_day .mark_as_read_week .mark_as_read_month .mark_as_read_forever .labels /*label sub-menu */ .label-add /* add new label */ .label-remove /* remove existing label */ .label /* all labels */ .label-x /* where x is the numeric value of the label */ .sharing /* sharing sub-menu */ .facebook-share .twitter-share .gplus-share .tumblr-share .linkedin-share .pinterest-share .myspace-share .view /* view sub-menu */ .view_prev .view_next .modFunctions /* moderation sub-menu */ .sticky .unsticky .lock .unlock .move_thread .move_thread .move_post_all .move_post_selected .delete_thread .bump .enable_falling .disable_falling
|
|
Kami
Forum Cat
Posts: 40,200
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,200
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 10, 2017 14:36:14 GMT -8
Chris did you just inspect each option or is there documentation somewhere that i missed? O_o
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on May 10, 2017 15:03:37 GMT -8
I was familiar with the list of option classes from previous projects Kami but I did give a look on the elements tab when constructing that list to ensure I was giving the right class since as you can see there exists inconsistencies with the older ones using underscore and the newer ones using hyphens to separate words
|
|
Kami
Forum Cat
Posts: 40,200
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,200
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on May 10, 2017 15:10:12 GMT -8
I was familiar with the list of option classes from previous projects Kami but I did give a look on the elements tab when constructing that list to ensure I was giving the right class since as you can see there exists inconsistencies with the older ones using underscore and the newer ones using hyphens to separate words Thank you!
|
|
Former Member
inherit
guest@proboards.com
215472
0
Nov 24, 2024 23:35:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 11, 2017 5:19:01 GMT -8
Okay thanks.
|
|