I know it's a quite strange request, but I'm using a dashboard page as a homepage; the only problem is that I'm not able to remove the title of the dashboard page, and the "submitted by" and "date" field: it would be nice to see just the structure as it is, without any title!
Do you have any suggestion? Thanks anyway

Comments

enli’s picture

I'm using Drupal 4.6.6 and a xtemplate theme. Unfortunately all other posts on this forum can't solve my problem.

venkat-rk’s picture

The author of the module has provided some workarounds for this. Why don't you take a look at the issues section of the module? You will find similar questions there and also the suggested answers.

borient’s picture

I am in the same situation as enrico78, the one reason that I want to get ride of the date, author fields is to try to keep the left and right section in the same height. But I still want to keep user, date fields in the other content files.
The site i am doing now is
www.suntoyou.net

I have read lots of the help document both from author's page and drupal forum, but I still havn't get the solution. I really appreciate someone could help me and a lot other dashboard users solve out this problem.

Thanks alot.

shixi’s picture

open xtemplate.engine, in the function

function xtemplate_page($content) {
...
 $output = $xtemplate->template->text("header");

after it, add :

    $output = preg_replace('/<h1 class="title".*\[hide\].*<\/h1>/','',$output);

then, any title including "[hide]" will not be displayed.

Note, I am working with the theme "pushbutton". in this case, the title is taged by "h1".

moreover, I want all page node do not display the title, so I put a string <!--hidetitle:xxx--> (xxx means the title) in the body of each page node automatically, and put code here:

  $hidestr=array();
  if(preg_match('/<!--hidetitle:(.*)-->t;/',$content,$hidestr)>0)
  {
      $output = preg_replace('/<h1 class="title"> '.$hidestr[1].' <\/h1>/','',$output);
  }

an example