Well, i dont really need it but it would be nice if a user could see a link at the bottom of the Latest Classified Ads block. The link would point to the URL: ed_classified

On another note, remove the "Category" text next to each Taxonomy Term. It's repetitive at this time.

Thanks.

Comments

mcurry’s picture

Title: Add link @ the bottom of Latest Clissifieds to ed_classified » Add link @ the bottom of Latest Clissifieds to ed_classified; remove "Category:" prefix from category listing
mcurry’s picture

Status: Active » Postponed

RE the "Category:" text removal - I've committed this fix to the DRUPAL-5 and DRUPAL-4-7 branches. Get the next dev build or wait for the next release.

RE [more] link in the latest ads block: I don't include a 'more' link because the module doesn't provide a listing of ads by date (recent ads). The URL /ed-classified just shows the categories with the last ad created in each category... not very useful, I think. I'll look into enhancing this in later releases, but for now: One can easily create a view using the Views module that will provide the feature you are looking for, and use the views-based block. You can import the following into the Views module (do not include the .... tags) and use this block instead of the standard latest classified ads block.

  $view = new stdClass();
  $view->name = 'ed_classified_lastest';
  $view->description = 'Latest classified ads';
  $view->access = array (
);
  $view->view_args_php = '';
  $view->page = TRUE;
  $view->page_title = 'Latest Classified Ads';
  $view->page_header = '';
  $view->page_header_format = '1';
  $view->page_footer = '';
  $view->page_footer_format = '1';
  $view->page_empty = '';
  $view->page_empty_format = '1';
  $view->page_type = 'node';
  $view->url = 'ed-classified/latest';
  $view->use_pager = TRUE;
  $view->nodes_per_page = '10';
  $view->block = TRUE;
  $view->block_title = 'Latest Classified Ads';
  $view->block_header = '';
  $view->block_header_format = '1';
  $view->block_footer = '';
  $view->block_footer_format = '1';
  $view->block_empty = '';
  $view->block_empty_format = '1';
  $view->block_type = 'list';
  $view->nodes_per_block = '3';
  $view->block_more = TRUE;
  $view->block_use_page_header = FALSE;
  $view->block_use_page_footer = FALSE;
  $view->block_use_page_empty = FALSE;
  $view->sort = array (
    array (
      'tablename' => 'node',
      'field' => 'created',
      'sortorder' => 'DESC',
      'options' => 'normal',
    ),
  );
  $view->argument = array (
  );
  $view->field = array (
    array (
      'tablename' => 'node',
      'field' => 'title',
      'label' => '',
      'handler' => 'views_handler_field_nodelink_with_mark',
      'options' => 'link',
    ),
    array (
      'tablename' => 'node',
      'field' => 'created',
      'label' => '',
      'handler' => 'views_handler_field_date_custom',
      'options' => 'M j Y',
    ),
  );
  $view->filter = array (
    array (
      'tablename' => 'node',
      'field' => 'status',
      'operator' => '=',
      'options' => '',
      'value' => '1',
    ),
    array (
      'tablename' => 'node',
      'field' => 'type',
      'operator' => 'OR',
      'options' => '',
      'value' => array (
  0 => 'ed_classified',
),
    ),
  );
  $view->exposed_filter = array (
  );
  $view->requires = array(node);
  $views[$view->name] = $view;
fgm’s picture

Status: Postponed » Active

Bumping version: features will only be considered for the latest and next versions (was 5.x-1.5-5)

fgm’s picture

Version: 5.x-1.5-5 » 6.x-3.x-dev
fgm’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Since Drupal 6 was EOL-ed in 02/2016, no additional fixes will be added ; so marking won't fix.