1
przemeks
variable modyfication and problem
  • 2005/4/26 18:53

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Hello guys i have changed a variable name in 'article.php' in 'mod news' from 'storyid' to 'id' (because it's shorter) all work OK without one thing - the comment button and comment list aren't displayed.

Comment doesnt' work. If i use URL like tlike this all work OK:
www.site_url.pl/modules/news/article.php?storyid=16


but when i put in my URL the variable id like this:
www.site_url.pl/modules/news/article.php?id=16


the comment aren't displayed.

Could anyone tell me what i shoud modify and where ??

2
Mithrandir
Re: variable modyfication and problem

xoops_version.php

$modversion['comments']['itemName'] = 'storyid';

change to
$modversion['comments']['itemName'] = 'id';

3
przemeks
Re: variable modyfication and problem
  • 2005/4/27 15:23

  • przemeks

  • Just popping in

  • Posts: 57

  • Since: 2005/1/29


Thank you Mithrandir You are irreplaceable.

Login

Who's Online

145 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

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

Latest GitHub Commits