I have a view with one exposed filter ( Display sticky content - Do not display sticky content ) .
The thing is the markup is the same for both types of content. How can i print out a class for the sticky content so i can target it with CSS ? Im guessing this is achievable with twig. Can someone point me in the right direction?
I'd like to set a button using a href="javascript:void((function() ..., so users in my website can drag it to his Bookmarks Toolbar and use js function to connect my website like pinboard.
I set $build = array( '#markup' => 'a href="javascript:void((function() ...)) to output it in php, but I can only get a href="void((function() ... in final page. 'javascript' was filtered automatically, and #allowed_tags is useless for it.
How I can get a href="javascript:void((function() ... in final page? XX.html.twig is not what I want.
How can I will expert in Drupal? I want to start a website and decided to use drupal but I have no idea about drupal so why I can get an appropriate idea.
How do i enable Publishing Options (blue text) on an existing Comment type?
With Content Types, this is enabled by default, but it seems to be missing with Comment types.