Tagged Questions
0
votes
1answer
11 views
How to pass parameters to frontpage?
I have created a frontpage with views. Also I have added the content field called Volume. The frontpage is arranged with 10 views and it shows the Volume by descending order, so the latest volume ...
0
votes
1answer
21 views
How can I exclude admin(uid=1) for “Views Argument PHP Validator code” which limit a view to a User’s uid value?
I have a page view with a menu tab and URL looks like my-site.com/user/%/my-view
I use return $argument == $GLOBALS['user']->uid; for default argument.
And then I would like to limit the argument ...
0
votes
1answer
33 views
Access custom theme settings from within views
I have a few custom theme settings which so on my themes settings page.. this all works fine and as expected.
I now need to create a view that gets that custom theme setting. I can't find anything on ...
0
votes
1answer
22 views
Get field names of view from within module
After using views_get_view($view_name) how do I get the names of the fields? The list of field names (arranged correctly) is going to be pushed onto an array following which will be all the results. ...
0
votes
1answer
50 views
Unknown error: Function eregi_replace()
i am using pressflow 6.25
there is a flie views-view-field--events--block--field-date-value.tpl.php in template theme directory
in line 5
$create_date = explode(' ...
3
votes
1answer
40 views
What is the best way/api to load a node by node content type and a field value?
Aside from plain SQL, is there any Drupal api to retrive node(s) by passing a node CCK type and a field value?
For example, I would like to get the node which is an Assignment CCK type, by matching ...
0
votes
0answers
70 views
Nivo Slider JQFX show title
I'd like to show the article title with Nivo Slider on drupal 7, but I can't make it show the title, i'm using views and jqfx.
0
votes
1answer
60 views
How to modify a view's empty text to show a different message depending the user viewing it
I have created a view displaying a user's blog entries. In view's empty text i have put the simple php code showing below
You have not created any blog entries.
You can create a
Now i want to ...
0
votes
1answer
82 views
No PHP validation criteria in Views
In order to specify a PHP validation criteria for a View - do I need some additional module? In previous installation of Drupal I had this position in select box. Now there is everyone of them apart ...
0
votes
1answer
510 views
How to get exposed filter dropdown option selected value in drupal hook
I'm trying to get exposed filter selected value in hook_form_alter().
myModule_form_alter(&$form, $form_state, $form_id) {
if ($form['#id'] == 'views-exposed-form-view-id-display-id'){
...
1
vote
0answers
7 views
Passing dates or date ranges into a view as arguments
Drupal 7, Views and date modules installed.
I have a view on a content type with a date field (timestamp, but i can change it if necessary)
When i use it in filter criteria, i have no problem to use ...
3
votes
2answers
35 views
Create default view from mymodule
i am trying to develop a module in drupal 6.I want to create a default view from my module. And i created one with users as base table. Now i want to create a new tale and add fields also .
How can i ...