Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
1
vote
How to get unpublished date of a node?
One way to do it non programmatically is through the Rules module which basically is a collection of events, conditions and actions.
For example:
# Event: add event: Node: After unpublishing live co …
1
vote
0
answers
112
views
How to generate a serial number based on a selected field value?
I have a content type in which there is an entity reference. All content of it is set to unpublished by default and upon creation a rule is run to assign an organic group based on the selected referen …
1
vote
How to count entity references from same field in different entity types?
Firstly, create a users view of the format: table with aggregation options with the following fields:
- Company ref.
- Team ref.
- User name.
Then go into the table's settings and add a group and comp …
2
votes
2
answers
2k
views
How to make the Charts module use the Highcharts legend option "useHTML" (required for RTL)?
I tried using the Charts module with Highcharts as my charting library (engine). And this for a block view in a multilingual site that flips between LTR and RTL.
I found out that the legends and tool …
1
vote
How to make the Charts module use the Highcharts legend option "useHTML" (required for RTL)?
Thanks to the help of Pierre.Vriens, here are the lines of code I used in a custom module to adjust Highcharts for display on localized RTL pages:
function hook_chart_alter(&$chart, $chart_id) {
$c …
1
vote
2
answers
93
views
How to use ungrouped date fields as data for Charts Views?
I'm using Charts version 7.x-2.x-dev. …
0
votes
How to use ungrouped date fields as data for Charts Views?
I found a partial workaround for this by using hook_views_pre_render.
function hook_views_pre_render(&$view) {
if($view->name == 'stuff'){
$results = &$view->result;
foreach ($results …
4
votes
Accepted
How to show data of user that flagged a content(2 flag types)?
Add a filter for the whole view that checks username in both fields as not null, and set the operator to 'And'.
In your view under 'Filter Criteria' do the following:
Add user name with the first …