Add a wiki like header above content. Info like author, creation date, contributors and a call to edit.
Just print getWikiheader($node) in your theme.

http://drupal.org/sandbox/peteruithoven/2004852

Comments

Bojhan’s picture

+1 Looking forward to this.

zterry95’s picture

info file, the package change to user interface.

klausi’s picture

Status: Active » Needs review

You need to set the status to "needs review" if you want to get a review, see https://drupal.org/node/532400

Bojhan’s picture

I am using this actively on my website, haven't encountered any problems.

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

peteruithoven’s picture

51Degrees.mobi’s picture

Status: Needs review » Needs work

Hi,

I had two issues when trying this module:

  • It looks like README.txt is out of date. It refers to getWikiheader($node) when I think it should be wikiheader_get_header($node).
  • Once I had the right function call I got the following error:

    Fatal error: Call to undefined function wikiheader_get_author() in ...\sites\all\modules\wikiheader\wikiheader.module on line 66

    I thought it might need to use wikiheader_get_contributors but the comments suggest otherwise. It looks like the function is simply missing.

It's nice code that has no problems with the code sniffer, so I think with those issues sorted it should pass review.

peteruithoven’s picture

Status: Needs work » Needs review

Thanks 51Degrees.mobi, I fixed the error, updated the readme and project page description.

gabesullice’s picture

Status: Needs review » Needs work

Hi peteruithoven, this is a neat module. You've still got a call to an undefined function on line 66 of wikiheader.module though.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

I'm a robot and this is an automated message from Project Applications Scraper.

peteruithoven’s picture

Status: Closed (won't fix) » Needs review

@gabesullice, is fixed.

I did quite some research looking into making it easier to use the module. I was hoping to find a way to add it as a field into the display page of content types. But there doesn't seem a way to do this without adding an extra field. So people will have to edit a node tpl.php for now.

kscheirer’s picture

Status: Needs review » Needs work
Project page
Please take a moment to make your project page follow tips for a great project page.
README.txt
Please take a moment to make your README.txt follow the guidelines for in-project documentation.

What about using a preprocess hook to and adding your header to the $content array. I think that should be enough to get it rendered with any node. But this module looks ok, I would RTBC if you can improve the documentation.

----
Top Shelf Modules - Crafted, Curated, Contributed.

PA robot’s picture

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

Closing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.