Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:51:06 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Comments on WYSIWIG pages  (Read 1115 times)
Achrist

Offline Offline

Posts: 37


« on: October 24, 2007, 08:41:13 PM »

Being new to WB I wonder if there is an easy way to combine ordinary WYSIWIG pages with the commenting feature of the NEWS module. I would like to allow guests to comment on articles that are not necessarily confined to the news template.

/Allan
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #1 on: October 26, 2007, 02:21:25 PM »

Hello,

you could use a news-post as wysiwyg-article. ( http://nettest.thekk.de/pages/posts/leer12.php )
The Menu-entry is a page from type 'menu-link'. It's somewhat tricky to find the correct link, and the (original) search-function doesn't perform well on this evil , but it's usable.

  • Add a page from type 'news'
  • Create a news-post - use the 'long'-field as your wysiwyg-page
  • activate commenting
  • change the settings: remove the text from "Post Header" and "Post Footer". Maybe you have to change the content from some other fields, too.
  • figure out the path to this posting ("e.g. /pages/posts/heading_a123.php")
  • change the visibility from this news-page to hidden
  • create a page from type 'menu-link', using the link from above ("/posts/heading_a123") without "/pages" and ".php"
  • you can add more news-postings and menu-links

thorn.

Edit: I can't recommend this - it's very tricky to handle.
« Last Edit: October 26, 2007, 02:27:09 PM by thorn » Logged

Achrist

Offline Offline

Posts: 37


« Reply #2 on: October 26, 2007, 08:18:45 PM »

Thank you even if you can't recommend it. It still may be the best way if no other suggestions come up, so I'll experiment a little.
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #3 on: October 27, 2007, 01:02:23 PM »

Hello,

right now i read on www.beesign.com that it is am easy task to use the guestbook for this.
Just add a guestbook section below a wysiwyg section.
Maybe you have to alter some settings from the guestbook.

thorn.
Logged

Achrist

Offline Offline

Posts: 37


« Reply #4 on: October 27, 2007, 09:02:45 PM »

Thorn,

Thank you so much for your second idea. It is just what I was after and it was a piece of cake to implement.

Actually, with this solution there isn't much need for the News module in general, unless you require that visitors must log in to be allowed to place comments.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!