|
Apr
27 |
|
comment |
Replacing field result with hook_views_pre_execute when replacing SQL query maybe. i am only using this for node display with json output. so i don't have a pager there. but i think, it should be possible to get this working with a pager with a more advanced sql statement. |
|
Apr
19 |
|
comment |
programmatically add an existing entity reference autocomplete field in custom form i am using the entity reference module and since there wasn't a replay for a couple days, i've implemented this in a different way. didn't managed to get it to work within the form. thanks anyway for your help
|
|
Apr
15 |
|
asked | programmatically add an existing entity reference autocomplete field in custom form |
|
Mar
19 |
|
asked | Relation: add button to create node related to current node |
|
Mar
5 |
|
answered | Disable jquery.ui.theme.css only for front end? |
|
Feb
25 |
|
asked | Is it safe to use $view->argument in views hooks? |
|
Feb
25 |
|
awarded | Editor |
|
Feb
25 |
|
revised |
Replacing field result with hook_views_pre_execute when replacing SQL query added 678 characters in body |
|
Feb
25 |
|
comment |
Replacing field result with hook_views_pre_execute when replacing SQL query Thanks allot for your reply. I need those links to be displayed within a view. I am using views_datasource to get the results displayed with json output. Do you know how to replace SQL of a view? |
|
Feb
25 |
|
asked | Replacing field result with hook_views_pre_execute when replacing SQL query |
|
Feb
20 |
|
comment |
How to set template of boolean field if value is 0 in node display Ya, i could use that. I've already decided to put it into a view block and load the images from there. |
|
Feb
19 |
|
comment |
How to set template of boolean field if value is 0 in node display its a boolean field with a checkbox without any additional code. the only thing i've changed are the values. the fields name is field_in_slideshow and the name of the file is field--field-in-slideshow--projects.tpl.php. the content of this file ist <?php foreach ($items as $delta => $item): ?><div class"in_slideshow"><?php print render($item); ?></div><?php endforeach; ?>.
|
|
Feb
18 |
|
asked | How to set template of boolean field if value is 0 in node display |
|
Jan
24 |
|
awarded | Student |
|
Jan
23 |
|
comment |
How to add checkbox to existing administration page got it working like you did it in your example but the array should be called $form['bandwidth_optimization']['my_module'] instead. Otherwise you would override the existing one.
|
|
Jan
23 |
|
comment |
How to add checkbox to existing administration page thanks, just got it with hook_form_alter as suggested in the first commet within my question. I still wonder if hook_form_FORM_ID_alter would be "the better way" to do it since you're the second one suggesting it.
|
|
Jan
23 |
|
comment |
How to add checkbox to existing administration page Thanks i've figured it out. Used hook_form_alter and $form['bandwidth_optimization']['my_module']
|
|
Jan
23 |
|
asked | How to add checkbox to existing administration page |
|
Dec
15 |
|
awarded | Teacher |
|
Nov
9 |
|
comment |
Filter for landscape format images in views thanks for your reply. this would be a solution i am not really happy with. someone would need to go through all the existing content and select this field. it is possible to select a filter for given widths or heights in views. i just thought i've missed the part where you can have the filter working for both fields, since the values are already stored in the database if you upload an image. |