59491
raymia
Re: K-shop dropdown menu country names.
  • 2008/10/23 11:34

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


i tried the update. didn't work. uninstall and install again isn't an option. and how can i edit the values?



59492
stefan88
Re: K-shop dropdown menu country names.
  • 2008/10/23 11:30

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Quote:
i tried to change it and then upload it


This will not work. You may try to update the module, but I'm not shure that will work - probably not. You have the option to uninstall and install again OR edit the values in database with something like PHPMyAdmin or similar tool...
..



59493
JohnDoo
Re: RSS feed modules encoding problem
  • 2008/10/23 11:26

  • JohnDoo

  • Just popping in

  • Posts: 14

  • Since: 2003/9/30


I'm having the same problem with my site. I think there's a problem in backend.php. The generated html claims to be utf-8 encoded but the characters seems to be iso-8859 encoded.
I'm getting things like "Asociación" instead of "Asociación".



59494
dslchart
Re: Problem with many modules
  • 2008/10/23 11:17

  • dslchart

  • Not too shy to talk

  • Posts: 112

  • Since: 2008/9/7 1


what say the debugger and have you php 5.1.6 local and online?



59495
raymia
Re: K-shop dropdown menu country names.
  • 2008/10/23 11:16

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


i tried to change it and then upload it (i kept the old file in a different folder)
it didn't change



59496
raymia
Re: K-shop dropdown menu country names.
  • 2008/10/23 11:13

  • raymia

  • Quite a regular

  • Posts: 221

  • Since: 2008/8/25


it's already installed. with all information just right on the page. i use 2.23



59497
stefan88
Re: K-shop dropdown menu country names.
  • 2008/10/23 11:01

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I checked the 2.22 version - I think they are build in the database - sql/mysql.sql file. You may edit this file before installing the module or edit the database usin your server control panel. It is in "kshop_country" table...

..



59498
jdseymour
Re: Woopra - Real Time Stats

Sure. XOOPS 2.3.1 final and php 5.2.6



59499
JohnDoo
Re: HTML Editor
  • 2008/10/23 10:52

  • JohnDoo

  • Just popping in

  • Posts: 14

  • Since: 2003/9/30


With news module you have to modify 2 files:

/modules/news/xoops_version.php

/*** Editor to use */
/** Comment the old defines
$modversion['config'][20]['name'] = 'form_options';
$modversion['config'][20]['title'] = "_MI_NEWS_FORM_OPTIONS";
$modversion['config'][20]['description'] = '_MI_NEWS_FORM_OPTIONS_DESC';
$modversion['config'][20]['formtype'] = 'select';
$modversion['config'][20]['valuetype'] = 'text';
$modversion['config'][20]['options'] = array(
_MI_NEWS_FORM_DHTML=>'dhtml',
_MI_NEWS_FORM_COMPACT=>'textarea',
_MI_NEWS_FORM_SPAW=>'spaw',
_MI_NEWS_FORM_HTMLAREA=>'htmlarea',
_MI_NEWS_FORM_KOIVI=>'koivi',
_MI_NEWS_FORM_FCK=>'fck',
_MI_NEWS_FORM_TINYEDITOR=>'tinyeditor'
);
$modversion['config'][20]['default'] = 'dhtml';
*/
 
/*** Editor to use (Xoops 2.3) */
$modversion['config'][20]['name'] = 'form_options';
$modversion['config'][20]['title'] = "_MI_NEWS_FORM_OPTIONS";
$modversion['config'][20]['description'] = '_MI_NEWS_FORM_OPTIONS_DESC';
$modversion['config'][20]['formtype'] = 'select';
$modversion['config'][20]['valuetype'] = 'text';
xoops_load('xoopsEditorHandler');
$modversion['config'][20]['options'] = array_flip(xoopsEditorHandler::getList());
$modversion['config'][20]['default'] = 'dhtmltextarea';


/modules/news/include/functions.php:

/** Comment the old news_getWysiwygForm function
function &news_getWysiwygForm($caption, $name, $value = '', $width = '100%', $height = '400px', $supplemental='')
{
...
}
 */
/**
 * Retreive an editor according to the module's option "form_options"
 */
function &news_getWysiwygForm($caption$name$value ''$rows 35$cols 60$supplemental='')
{
    
$editor_configs = array();
    
$editor_configs['name'] = $name;
    
$editor_configs['value'] = $value;
    
$editor_configs['rows'] = $rows $rows 35;
    
$editor_configs['cols'] = $cols $cols 60;
    
$editor_configs['width'] = "100%";
    
$editor_configs['height'] = "400px";

    
$editor = new XoopsFormEditor($captionnews_getmoduleoption('form_options'), $editor_configs);
    return 
$editor;
}


And finally go to system modules administration and update news module. Then you should see the right list of editors at news module preferences.



59500
maotouying
Re: HTML Editor
  • 2008/10/23 10:16

  • maotouying

  • Just popping in

  • Posts: 4

  • Since: 2006/4/7 1


Thanks for your quick replies. See this is what I know about my system :
OS: Linux xxxxxxxxx 2.6.9-023stab046.2-enterprise #1 SMP Mon Dec 10 15:22:33 MSK 2007 i686
PHP: 5.1.2c
MySQL: 5.0.18
XOOPS: XOOPS 2.3.1 (I have upgraded from 2.3.0)

I can see no errors in XOOPS, PHP or MySQL debug mode(s)

The editors in the /root/class/xoopseditor are :
dhtmltextarea
fckeditor
koivi
textarea
tinymce

The editor choices in the News Preferences pull-down-menu are
DHTML
Compact
Spaw Editor
HtmlArea Editor
Koivi Editor
FCK Editor
TinyEditor

I have tried the quick fix you offered, however bad luck

Does this ring bells ?

Thanks for your help ...




TopTop
« 1 ... 5947 5948 5949 (5950) 5951 5952 5953 ... 29422 »



Login

Who's Online

85 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 85


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