1081
timgno
Translate Xoops With JQuery and Google
  • 2010/10/30 19:39

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I'm experimenting with the machine translation libraries jquery, google translator and cookies. I entered a code that should translate into your language my website directly. Send me feedback if it works.

Follow the Tutorial if you want to try it.

timgno & TXMod Xoops



1082
timgno
Re: In Configuration, (active_modules)
  • 2010/10/29 9:17

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I need to extract the list of modules in the block as main menu, use only the variable config (active_modules) inviting the team, if possible, to create it.
$xoopsConfig['active_modules'] => Array() // of Activated Modules

otherwise they are forced to pull out the list each time the class module, with a lot more code in the themes.

I use this list for a custom menu.



1083
timgno
In Configuration, (active_modules)
  • 2010/10/28 15:52

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Hi there!!!

In configuration you can extract the set of themes,
$xoopsConfig['theme_set_allowed']

why the modules do not?

idea:
$xoopsConfig['active_modules']

already exists:
$xoopsConfig['active_modulesadmin']

but does nothing.

There is already a way to extract them or it might be an idea?

timgno



1084
timgno
Re: Manage Error Page
  • 2010/10/4 15:08

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I looked at your project, I thought of a module but I think that with only one file in the root earn several kb and is easier to implement.
Do you think?

TXMod



1085
timgno
Manage Error Page
  • 2010/10/4 14:47

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I created a special file to be included in xoops root of the error handling page.

The News
The Tutorial
The Download files

Demos:

Error 400
Error 401
Error 403
Error 404
Error 500

Customizable to your liking.

TXMod Xoops



1086
timgno
Re: Xoops 2.4.4 Writing and database
  • 2010/9/20 11:10

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I solved the problem by disabling the module xoopsinfo

TXMod Forum



1087
timgno
New Modules and Themes TXMod
  • 2010/8/13 8:41

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I tell you TXMod new modules and themes:

Google Earth to view the earth in 3D online: View Module - Download Module

Test ADSL to test the speed on ADSL line: View Module - Download Module

Password Generator to create any type of password from simple to complex: View Module - Download Module

Four themes of the series xo-tx-color created by Team TXMod

I hope there are useful:

timgno TXMod



1088
timgno
Adding XoopsFormSelectImage in classes
  • 2010/6/21 17:13

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Hi!

I've a question proposed you.

Why not create a class for collecting the images?

I always add this code:
$image_option_tray = new XoopsFormElementTray(_AM_Ximg_IMAGE''); $image_array =& XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH "/modules/" $xoopsModule -> dirname() . "/images/"); $img_image =(empty($img_image))?'noflag.gif':$img_image$image_select = new XoopsFormSelect('''img_image'$img_image); $image_select->addOptionArray($image_array); $image_select->setExtra("onchange='showImgSelected("image", "img_image", "/modules/" . $xoopsModule -> dirname() . "/images/", "", "" . XOOPS_URL . "")'"); $image_tray = new XoopsFormElementTray('''&nbsp;'); $image_tray->addElement($image_select); if (!empty($img_image)){ $image_tray->addElement(new XoopsFormLabel(''"<div style='padding: 8px;'><img src='" XOOPS_URL "/modules/" $xoopsModule -> dirname() . "/images/" $img_image "' name='image' id='image' alt='' /></div>")); }else{ $image_tray->addElement(new XoopsFormLabel(''"<div style='padding: 8px;'><img src='" XOOPS_URL "/images/blank.gif' name='image' id='image' alt='' /></div>")); } $image_option_tray->addElement($image_tray); $sform->addElement($image_option_tray);


when create a select form.

I created this file formselectimage.php:
class XoopsFormSelectImage extends XoopsFormSelect /** * Constructor * * @param string $caption * @param string $name * @param mixed $value Pre-selected value (or array of them). * @param int $size Number of rows. "1" makes a drop-down-box. */ function XoopsFormSelectImage($caption$name$value null$size 1$multiple false) { $this->XoopsFormSelect($caption$name$value$size$multiple); $this->addOptionArray(XoopsLists::getImgListAsArray()); } }

but does not work, why?



1089
timgno
Re: New modules TXMod
  • 2010/6/14 10:39

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Here is the final response, you can read at this address:

http://txmodxoops.blogspot.com/



1090
timgno
Re: New modules TXMod
  • 2010/6/11 23:09

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


hi!

I posted a news article here explaining why the account was suspended.
I hope that the staff xoops issue early so you can read what some users combine in google groups in Italy

otherwise, the Italian version you can read here:

http://txmodxoops.blogspot.com/




TopTop
« 1 ... 106 107 108 (109) 110 111 112 113 »



Login

Who's Online

101 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 101


more...

Donat-O-Meter

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

Latest GitHub Commits