Author Topic: Improvement of the NEWS-"Module" Documentation  (Read 3264 times)

Offline Monky

  • Posts: 47
  • Gender: Male
    • Segelclub Würmsee Starnberg e.V.
Improvement of the NEWS-"Module" Documentation
« on: December 08, 2009, 02:25:53 PM »
Hello everyone,
I just had to fiddle around with my news "module" (the one being part of the standard WB pack). I was trying to add fields like [USERNAME] etc to the post loop but I didnt know the name of the fields nor what fields do at all exist. Looking in the HELP didn't help =) I finally had to look at the source code of view.php in the news module to find all the fields and their names.

So I propose to add a list of the available fields (preferably with a little description where not obvious) to the help page:

'[PAGE_TITLE]', '[GROUP_ID]', '[GROUP_TITLE]', '[GROUP_IMAGE]', '[DISPLAY_GROUP]', '[DISPLAY_IMAGE]', '[TITLE]', '[SHORT]', '[BACK]', '[TEXT_BACK]', '[TEXT_LAST_CHANGED]', '[MODI_DATE]', '[TEXT_AT]', '[MODI_TIME]', '[PUBLISHED_DATE]', '[PUBLISHED_TIME]', '[TEXT_POSTED_BY]', '[TEXT_ON]', '[USER_ID]', '[USERNAME]', '[DISPLAY_NAME]', '[EMAIL]'

Regards,
Sebastian

 

postern-length