Scheduler Module

Is there a scheduler module that works with the Workflow module? I was told that the workflow module and the scheduler module are both node managers and it is not a good thing to have two node managers. They do not work well together.

New Drupal book : Drupal 7 Themes

drupal 7 themes

The third installment in Packt's Drupal Theming series is now available. In celebration, Packt is offering a 20% discount on the title -- just enter the discount code Drupal7Themes20 (case sensitive), to the shopping cart. As with all of Packt’s Drupal books, Packt will be donating a percentage of its sales to the Drupal Foundation.

Paging API + concepts

There are a few concepts that I need to better understand to better grasp, for this function, paging though these concepts will help for all my future Drupaling. :)

I am trying use the ->entend(DefaultPager); function and am not QUITE understanding how to use it.

Here is my code:

$query = db_select($products_table, 'a');
$query->join('acpac_xml_products', 'b', 'b.itemno = a.itemno'); //JOIN node with users
$query->fields('a',array('itemno','baseprice','salesprice','pricelist'))//SELECT the fields from node
->fields('b',array('sales','prodtype','category','qtyonhand'))//SELECT the fields from user
->extend('PagerDefault')
->range(0,100);//LIMIT to 100 records


foreach($products as $product){
$rows[] = array($product->itemno,$res->dec,$res->date);
}

$output = theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'my-module-table')));
$output .= theme('pager');

$output .= pager_find_page($element = 0);
$output .= theme_pager($tags = array(), $limit = 10, $element = 0, $parameters = array(), $quantity = 9);
$output .= theme_pager_first('first');
$output .= theme_pager_last('last');

print $output;

Notes:
- The output works in so much as 100 rows with data are displaying.
- Notice the 4 appended $output .= vars were added by me. The rest of the code is an example from Drupal.

How much should I charge for a Drupal website?

Hi, I have an issue to solve... I am a Drupal newbie and a Computer science student (but I am pretty good with HTML, CSS, a basic level of PHP) and I am in charge of creating a web site for a night club. The site should be relatively simple:
-several pages (about us, events, photogallery, video). The web site should allow some PR guy add events, photos, videos after everything is set up and functional.
-mailchimp (mailing list button), follow us buttons, contact us form.

Trying to change page title on user profile page with custom fields that were added

Hi,

I am trying to replace the title of the user profile page, which is the username, with other fields that were added later. Trying to show the full name as the title of the page.

I am trying to replace the following code:

<?php 
          
          print $title; ?>
       
        </h1>
      <?php endif; ?>

in the page.tpl.php page code block

D7 - Unable to login for any accounts on fresh install

I have a fresh D7 install and users (and admin) are unable to login. At the login prompt, the screen refreshes with no error message or indicator of failure, but the user is not logged in.

Since I'm logged in as admin as a result of the install, I can see the log and see "Session opened for test.", but the user is not logged in.

I have tried on multiple computers and set the $base_url with no luck.

I installed this on turnkey lamp, changed the ownership of the directories using:
chown -Rv www-data:www-data /var/www

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x