I am not a php expert and tried working through your readme text to get this working but get an error. I would be very appreciative if you could help me, and also explain what I got wrong as I am just starting to learn php.

Thanks

CommentFileSizeAuthor
template-4.php_.txt2.22 KBSapient70
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

satos’s picture

What kind of error did you get?

If you're using garland theme, then replace

return $vars;
  }

with

return $vars;
  }
  return $vars;
}

Hope that will work.

Sapient70’s picture

Sorry I should of included the error in my orginal request. It was an unexpected end error. However after I inserted the line you show above I have gotten rid of the error (thanks!!) but the forums do not display. The theme works (Garland) but there are no forums.

Any suggestions?

Sapient70’s picture

Status: Active » Fixed

Re-read the readme.txt and got it solved. The only point of confusion is copying the files into the template directory, it reads as though the individual files should be copied into the theme directory (eg: themes/garland ), but you actually need to copy the folder advforum into the directory.

Makes sense once you get it, but its not bleedingly obvious for n00bs like me.

Thanks for your help!!! :)

Michelle’s picture

Makes sense once you get it, but its not bleedingly obvious for n00bs like me.

Well, to be fair, it's not generally a good idea for "noobs" to use unfinished modules. ;) But I appreciate the feedback and have updated the text in the readme to clarify this.

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.