1
timgno
Module Codelink alpha, test for xoops 2.6.0
  • 2013/3/5 20:31

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Please tested this alpha version of the module for xoops 2.6.0 codelink

It is possible to add buttons and banners directly in the folder uploads to make them without damaging the module if you were to use it at multiple sites with different images.

other additions will be included in the next release

Download from SVN to test

2
Mamba
Re: Module Codelink alpha, test for xoops 2.6.0
  • 2013/3/6 0:12

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I tested it on PHP 5.4.12:

* Links Tab:
- missing button to add new links

* Buttons Tab:
- when clicked on the "Add Button" I am getting:

Fatal errorUndefined class constant 'IMAGE_PATH' in modulescodelinkclassformbuttons.php on line 42


* Banners Tab:
- when clicked on the "Add Banner" I am getting:

Fatal errorUndefined class constant 'IMAGE_PATH' in modulescodelinkclassformbanners.php on line 42
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
timgno
Re: Module Codelink alpha, test for xoops 2.6.0
  • 2013/3/6 9:34

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Please add this line of code in the file root/locale/en_US/en_US.php after const IMAGE_FILE

// ------------------------------ 
const IMAGE_PATH "Image path"// By TXMod Xoops 
// ------------------------------


I have added this constant in this file because it's used several times, so I hope that the development team to add other constants by my added file in svn

4
Mamba
Re: Module Codelink alpha, test for xoops 2.6.0
  • 2013/3/6 14:40

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Till the Core Team adds that, it's better to have it directly in your module, because you cannot assume that each tester will be changing the Core just to test a module.

So the process should be:

- have it in your module, so your module is self-sustainable
- request the Core Team to add it to Core
- once added to Core, you can then delete it from the module
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
timgno
Re: Module Codelink alpha, test for xoops 2.6.0
  • 2013/3/6 17:18

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


OK!

Added in codelink/locale/en_US/en_US.php

Login

Who's Online

183 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

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

Latest GitHub Commits