1
benlau
Static content with comment module
  • 2004/6/26 9:06

  • benlau

  • Just popping in

  • Posts: 29

  • Since: 2004/3/7 1


Hi all,

Is it possible to create a static content page with the comment dialog attached at the bottom of the page(user may submit their comment for the static page)? and How?

I am writting a static content page but part of its content are fetched from mylinks module(dynamic). So I can't use another content management module as they don't permiss to embed PHP code inside.

Thanks for any help.

2
Catzwolf
Re: Static content with comment module
  • 2004/6/26 13:31

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

benlau wrote:
Hi all,

Is it possible to create a static content page with the comment dialog attached at the bottom of the page(user may submit their comment for the static page)? and How?

I am writting a static content page but part of its content are fetched from mylinks module(dynamic). So I can't use another content management module as they don't permiss to embed PHP code inside.

Thanks for any help.


You should be able to do this with WF-Section v2.0.1.

Liquid
WF-Section Webmaster

3
benlau
Re: Static content with comment module
  • 2004/6/27 4:49

  • benlau

  • Just popping in

  • Posts: 29

  • Since: 2004/3/7 1


Thanks for reply. But can it allow to write PHP code inside?

That is part of the codes for my static content page.
(well... i think it is not "static".
I just follow the faq : http://wiki.xoops.org/wakka.php?wakka=XoopsStaticContent )

$links = $xoopsDB->query("select lid,cid,title from ".$xoopsDB->prefix("mylinks_links")." where cid=$CID");

$URL= $xoopsConfig['xoops_url'];

while (list($lid,$cid,$title) = $xoopsDB->fetchRow($links)){
echo <<< END
$title

END;



Login

Who's Online

347 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 347


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits