When user clicks Ads on his user profile tabs and when he has no ads created there are only table titles 'Contents Expires' and it looks inappropriate. With help of CSS I can arrange them or hide at all, but then the tab is empty.

Would it be possible to add just text saying 'No ads' or something like that when user has no ads created?

Comments

fgm’s picture

Good suggestion. No idea when I will have any time for that, though, so feel free to suggest a patch.

matas.k’s picture

Yes, would be nice quick patch/fix to this. I am designer/themer and I cannot finish a project because of this. I was looking to PHP code of classified.module and maybe it has to do something with code at line 380:

  switch ($list_body) {
    case 'empty':
    case 'body':
      $header = array(
        t('Contents'),
        t('Expires'),
      );
      $date_format = _classified_get('date-format');
      break;

    case 'node':
      $header = NULL;

  }

Well at least that's where the texts Contents and Expires are. I do not understand PHP at all. All I know is how to add/edit variables for themes.

Would be nice if when there are ads, it would work as currently designed and when user has no ads, it would just show No ads message.

fgm’s picture

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

With this module end of life approaching along with Drupal 7 EOL, this issue is now moot.

matas.k’s picture

RIP