1
preachur
Content Module and XOOPS 2.4.1
  • 2009/11/12 17:13

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Last night I tested 2.4.1 and every version I could find of the content module. (5 versions I had archived and 2 "new" versions I found by searching.) NONE of them worked. I found issues ranging from white screens to editor problems. Even when the editor worked the content would not post to the site. In one case I could find it in the database, but it would not display on the site itself. There were also issues with the layout of the admin area for this module as well as several false update errors.

I hope to see this module updated in the near future to work with the latest version of Xoops, as it is important to many people for managing menus and content.

I also found that the old "static front page" content hack will display ONCE and then it disappears the second time the page loads when I tried to use an include in index.php.

I also found that the {if} trick I used to use to get content coded into the template to display on certain pages only no longer works. This *could* end up being an issue for some template designers because I have seen it used for highlighting tabs, etc.

Mark

2
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 18:12

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Just so you all know how near and dear to my heart this module is.... I used it on my main site Colorado Worldwidehttp://www.coloradoworldwide.com for most of my main pages, and for the content onhttp://www.heavensgatewayhorserescue.info.

SO, the module WORKS on 2.3.3.

Apache version 2.2.14 (Unix)
PHP version 5.2.11
MySQL version 5.0.81

3
trabis
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 18:41

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


What is the version of "content" you are using on your sites(the one that works with 2.3.3). Can you give me a download link? Thanks.

4
Peekay
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 18:44

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:
code refactoring and improvements...

It could be that!

What does debug say?

5
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 19:23

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Trabis,

I will try to find a download link. The working version (on 2.3.3) I have is modified slightly to remove all edit, print, .pdf and comment links from the front pages of the site. IF I can't find the download of the original, I will zip up what I have and post it here for you. The versions I have are *all* labeled version 1, but they are different, because they were modified by different people at different times. The one I am using lists The Handcoders, Reinarz & Associates with a "help" linkhttp://xoops.thehandcoders.com

Mark

6
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 19:27

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


I JUST used it to add in this page, the WYSIWYG editor works perfectly.

http://www.coloradoworldwide.com/modules/content/index.php?id=4

I have tested it on IE 8 and Firefox.

7
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 19:41

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


Actually, the last version of the module I tried on 2.4.1 is labelled 1.3 (The one that only shows the .dhtml editor.) and the debug errors I got are:

Notice: Undefined variable: message in file /modules/content/admin/add_content.php line 207
Notice: Undefined variable: rows in file /modules/content/admin/add_content.php line 208
Notice: Undefined variable: cols in file /modules/content/admin/add_content.php line 209
Notice: Undefined index: cont_permits_advnaced in file /modules/content/admin/add_content.php line 336

and on submit:
Error while updating database!
Database Updated Successfully!

If the page does not automatically reload, please click here
None All Errors (18) Queries (20) Blocks (0) Extra (2) Timers(3)
Errors
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 35
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 37
Notice: Use of undefined constant tmp_name - assumed 'tmp_name' in file /modules/content/admin/add_content.php line 37
Notice: Use of undefined constant imageupload - assumed 'imageupload' in file /modules/content/admin/add_content.php line 38
Notice: Use of undefined constant name - assumed 'name' in file /modules/content/admin/add_content.php line 38
Notice: Undefined variable: nohtml in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nosmiley in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nobreaks in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: nocomments in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: submenu in file /modules/content/admin/add_content.php line 54
Notice: Undefined variable: newwindow in file /modules/content/admin/add_content.php line 54
Notice: Undefined index: cont_permits_advnaced in file /modules/content/admin/add_content.php line 64

8
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 19:49

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


I am uploading the version I have that works on 2.3.3 to the 2.4.1 site now. I will post debug information shortly. (These didn't work on a fresh install of 2.4.0 either.)

9
Mamba
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 19:52

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


For static content, can you try DH-Info module?

I believe, it's an improved "Content" module, and it seems to work in 2.4.1

10
preachur
Re: Content Module and XOOPS 2.4.1
  • 2009/11/12 20:35

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


On 2.4.1 when viewing a content page in the mentioned content module version 1 the one that works in 2.3.3

(and the pages do not display, they are blank)

Notice: Undefined variable: crumbsout in file /modules/content/index.php line 167
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in file /modules/content/index.php line 164
Warning: array_reverse() [function.array-reverse]: The argument should be an array in file /modules/content/index.php line 88

On page edit:

Warning: MyTextSanitizer::makeTboxData4Edit is deprecated in file /class/module.textsanitizer.php line 796
Warning: Missing argument 4 for gera_menus(), called in /modules/content/admin/index.php on line 381 and defined in file /modules/content/admin/index.php line 70
Notice: Undefined variable: level in file /modules/content/admin/index.php line 81
Notice: Use of undefined constant _C_PAGETITLE - assumed '_C_PAGETITLE' in file /modules/content/admin/index.php line 385
Notice: Undefined variable: return in file /modules/content/admin/index.php line 443

on submit:

Database Updated Successfully!

If the page does not automatically reload, please click here
None All Errors (7) Queries (19) Blocks (0) Extra (2) Timers(3)
Errors
Warning: MyTextSanitizer::makeTboxData4Save is deprecated in file /class/module.textsanitizer.php line 769
Warning: MyTextSanitizer::makeTareaData4Save is deprecated in file /class/module.textsanitizer.php line 836
Notice: Undefined variable: nohtml in file /modules/content/admin/index.php line 462
Notice: Undefined variable: nosmiley in file /modules/content/admin/index.php line 462
Notice: Undefined variable: nocomments in file /modules/content/admin/index.php line 462
Notice: Undefined variable: submenu in file /modules/content/admin/index.php line 462
Notice: Undefined variable: return in file /modules/content/admin/index.php line 467

Login

Who's Online

148 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

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

Latest GitHub Commits