Skip to main content
Sujith N's user avatar
Sujith N's user avatar
Sujith N's user avatar
Sujith N
  • Member for 10 years, 3 months
  • Last seen more than 6 years ago
Loading…
awarded
comment
Set option value in a select field
@Queenvictoria would probably be right. You can simply replace $pages[] with $pages[$p->title], inside for loop. You can also skip its next step involving array_unique.
awarded
comment
how to show 2 content fields when page load in drupal 7?
Sorry, it's a bit complex for me. But, all you have to do is increment items count and rebuild the form as does here api.drupal.org/api/drupal/modules!field!field.form.inc/funct‌​ion/…
comment
How to list all articles on default search page?
Yeah, @molot is right. It's good to use Views and Search API together.
revised
Raw menu data in block.tpl.php
added 2 characters in body
Loading…
answered
Loading…
comment
Change the output of block view - better than using mymodule_block_view_alter
Hi, you should be able to change your field value in hook_views_pre_render. $view->results has it all. This may be helpful knackforge.com/blog/sivaji/…
comment
revised
Loading…
Loading…
awarded
awarded
awarded
revised
Loading…
Loading…
awarded