Hi All ,
I want to create a frontpage view that will display all the nodes in my site. What I do now is as simple as this:
Navigate to views module.
Activate the frontpage view.
Select page view.
My doubt is now how and where do I specify that this front page should display me all the modes in the site ?
Thanks, I can be more c...
I am using Views to display a gallery. Right now I have set up the View so it onlys shows 50 elements, but I want it to display a "Next" button that takes you to the next batch of elements. Preferably using AJAX / without reloading, but its not necessary.
How can I do this? I have looked at all the options and searched for a module that...
I really only need the mlid and title text for the first level below a certain menu item. Here's what I'm doing at the moment. (It works, but I suspect there may be a more drupal-y way.):
/**
* Get all the children menu items below 'Style Guide' and put them in this format:
* $menu_items[mlid] = 'menu-title'
* @return array
*/
funct...
I am running a site xyz.org in Drupal. Now I want to install some other modules such as PHPBB forum and Coppermine gallery. When I install these, and try to access the link xyz.org/gallery, it gives me drupal "Page not found" error. What settings I need to change in order to let drupal know that /gallery is not a drupal node?
...
Hello Guys,
I have some problem in drupal registration page.
I want to change whole user registration page. in registration module i want to add new field type. Bcz i want that user can choose the date from date-time picker. I have ready date-time picker which i have implement, but i don't know where to put that code.
I want to...
I've got the following:
function view_sorter_views_pre_view(&$view) { // don't need $items
if ($view->name == 'MOST_RECENT') {
$insert = array();
$insert[order] = 'DESC'; //SORT ORDER
$insert[id] = 'title';
$insert[table] = 'node';
$insert[field] = 'title';
$insert[override] = array(...
I created a nice extension for Drupal based on the webform module. Now, I need to implement different functionality that is also based on the webform module. What is the best way to do this?
...
Hello,
I have been working on this drupal form API script for past week and half. to give an insight into my problem.. the form below merely lists a host of database records which contain 5 individual scoring ranks. (mind, action, relationship, language and IT).
this code is apart of my own custom module where all values are listed fro...
What I need to accomplish is this:
If an anonymous user visits the site, show regular site content.
If a user logs in to the site, then user-related content appears in place of the regular content.
I would like to accomplish this using the Views module.
I have looked at the Premium module, but it seems to be abandoned. I would like ...
I'm trying to create a node (B type) & assign it to a A type node's CCK nodereference field using node_save() method.
$node_type_A = node_load($some_nid);
$node_type_A->field_type_B_node_ref[]['nid'] = $node_type_B_nid;
$node_type_A = node_submit($node_type_A);
node_save($node_type_A);
As the result, a new B type node will be create...
I have a site built in Drupal 6 that requires a number of blocks that are only visible to certain roles or on specific pages. Normally, I would use the block configuration settings to control page and role visibility. However I recently ran across the context module that effectively splits the site into "sections" or "groups" of related ...
In a Drupal multilingual site, for custom modules, (not nodes) what is approach to assure
that user navigates to same page in new language?
example: en/mypage to de/mypage
edit:
menu hook looks like this:
// add menu item
$items['my_module_name'] = array(
'title' => t('My Page Title'),
'menu_name' =>...
Hello
I have a drupal installation in the root directly of my domain with clean urls enabled.
I also have a sub directory with wordpress installed. /blog/
I also have a sub directory with php scripts in it /utilities/
When I type in "http://www.domain.com/blog/a-post/" I get a 404 error from Drupal telling me that the page does not...
I've written some modal box functionality that loads HTML into the DOM as snippets. This includes AHAH-enabled forms.
I've got as far as pulling out the AHAH settings, and can re-initialize:
jQuery.extend( Drupal.settings, response.setting );
I can also re-initialize:
Drupal.attachBehaviors( container );
I've even ensured that aha...
We want to use only one vocabulary to organize the entire site. The vocabulary will have a hierarchy and We're hoping that the terms for a specific branch of the vocabulary tree can be tag-able.
For example, suppose that in our Vocabulary we have a term called "Blog Tags", is it possible to make "Blog Tags" the parent term and have a...
Got an established libsyn rss feed, got a new drupal website for the podcast. Libsyn provides a player but not correct aesthetic. I can upload and play mp3 files with audio module and mp3player module, and like the mp3 player's output, a simple flash player, but I don't want to be manually moving the podcast audio files (mp3) over every ...
I'm creating about 150 nodes programmatically and running into 'out of memory' errors when doing it all in a single request. (I have a menu callback that generates the nodes and calls node_save() on them.)
Example:
for($i=0; $i<150; $i++) {
$node = new stdClass();
$node->title="Foo $i";
$node->field_myfield[0]['value'] = ...
I have a Drupal module, that I want to present in a clean page - with no headers, menus, footer ect. I think all I need is a version of page.tpl.php that contains HTML page headers and <?php print $content ?> How can I point my module to such a page?
...
hi,
I'm adding some pictures to my Drupal files folder.
I was wondering if Drupal remove the files not connected to any node as scheduling routine, from the files folder.
In other terms, I was wondering if I can place files into the "files" folder or if these can be deleted by the system
thanks
...
hi,
I'm using "Search" exposed filter in Views (DRupal):
It works great, however I would like to ignore a specific node, if it is possible, and always display it, regardless the filter options.
how can I do that ? Is possible to specify the Search filter for only a specific content type ?
thanks
...