91
SMEDrieben
Re: XOOPS 2.5.6 Final Release Issues: strange title in admin
  • 2013/5/13 18:01

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


If you move your mouse over the module icons in the default admin, html code is shown and not a nice title and description. The problem is in modules/system/themes/default/xotpl/xo_modules.html line 4:

<class="tooltip" href="<{$mod.link}>" title="<img src='<{$mod.icon}>'/><span><{$mod.title}></span><br /><span><{$mod.description}></span></span>">


Better code is:

<class="tooltip" href="<{$mod.link}>" title="<{$mod.title}>.&nbsp;<{$mod.description}>">


SMEDrieben



92
SMEDrieben
Re: XOOPS 2.5.6 Final Release Issues: jquery 1.8.3 problem ?
  • 2013/5/13 17:55

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I think there is a jquery.js 1.8.3 problem. It is described in this thread:

https://xoops.org/modules/newbb/viewtopic.php?post_id=353622

SMEDrieben



93
SMEDrieben
Re: 2.5.6: admin color doesn't change: jquery problem ?
  • 2013/5/13 17:50

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I analyzed this problem:

- using jquery.js 1.8.3 (included in Xoops 2.5.6) the "xoadmstyle-cookie" is not stored in Chrome. After an upgrade, initially the old 2.5.5 cookie is used. As soon as it needs an upgrade, no new xoadmstyle cookie is stored.

- I took the old jquery.js (1.7.2) from 2.5.5 and copied it to xoops_lib/Frameworks/jquery/ folder: changed the date of this file (newer then 1.8.3) and did a refresh of the admin: thereafter, I could switch from black to silver and orange. No problem.

- back to jquery.js 1.8.3 (newer date than the 1.7.2 file) and deleting the xoadmstyle-cookie, admin refresh: color change of the admin isn't possible anymore.

I think there is a problem with the jquery.js 1.8.3 and the stylswitch.js of the default admin theme.

SMEDrieben



94
SMEDrieben
2.5.6 and default admin color
  • 2013/5/12 19:00

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I have a strange issue in Xoops 2.5.6 under Wamp 2.2 (apache 2.2.22, php 5.3.13, 5.5.24, Windows 7, 64 bit).

After upgrading the default admin seemed to be normal: I prefer the silver color. After a few days, the admin color turned black in Chrome and Orange in MSIE. Clicking the color buttons in the admin doesn't change anything. So I cannot switch colors !

I removed the cache and cookies of the browser: no change. Removing Xoops-cache: no effect.

Any idea ? A Xoops 2.5.6 bug ? Problem with rights ? Cache ?

In 2.5.2 I had a similar problem. Then it was due to a bug:

https://xoops.org/modules/newbb/viewtopic.php?post_id=341485

However, this bug is corrected in 2.5.6

Any ideas ?

SMEDrieben



95
SMEDrieben
Re: SimpleNewsletter 2.32 Beta 1 released for testing
  • 2013/5/12 13:44

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks ! Indeed, it is a bug.
SMEDrieben



96
SMEDrieben
Re: How to refer to jquery.js ?
  • 2013/5/10 13:37

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


A few weeks after my last post in this thread, I've solved the doubling of system messages by using the script from the suico theme. I used the script in theme.html:

<{php}>  
    
/** add JQuery and JQuery UI */  
    
global $xoTheme;   
    
$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");  
    
$header = empty($GLOBALS['xoopsOptions']['xoops_module_header']) ?  
    
$this->get_template_vars('xoops_module_header') :  
    (
$GLOBALS['xoopsOptions']['xoops_module_header']); 
    
$this->assign('xoops_module_header'$xoTheme->renderMetas(nulltrue) . $header);   
<{/
php}>


This script results in the doubling of system messages (2 times "Thanks for logging in" etc.). I replaced this script with the script of the suico theme:

<{php}>
/** add JQuery and JQuery UI */
    
global $xoTheme
        
$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
        
$xoTheme->addScript("browse.php?Frameworks/jquery/plugins/jquery.ui.js");
        
$this->assign('xoops_module_header'$xoTheme->renderMetas(nulltrue)); 
<{/
php}>


Now the doubling has disappeared !

SMEDrieben



97
SMEDrieben
Re: SimpleNewsletter 2.32 Beta 1 released for testing
  • 2013/5/7 19:14

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


In the main page (index.php, not the admin), common.php generates an error with $PathIcon16. It can be solved by adding a new line:

global $pathIcon16;
    
$icones = array(
        
'edit' => "<img src='"$pathIcon16 "/edit.png' alt='"._SIMPLENEWSLETTER_EDIT."' align='middle' />",
        
'delete' => "<img src='"$pathIcon16 ."/delete.png' alt='"._SIMPLENEWSLETTER_DELETE."' align='middle' />",
        
'validate' => "<img src='"$pathIcon16 ."on.png' alt='"._SIMPLENEWSLETTER_VALIDATE."' align='middle' />"
    
);


Furthermore, in php 5.3 the .htaccess generates an error. Removal of this file solves the problem.

SMEDrieben



98
SMEDrieben
Re: SimpleNewsletter 2.32 Beta 1: new bug: Solved
  • 2013/5/5 19:42

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Even better to refer to the system icons stored in Frameworks/moduleclasses/icons:

// Définition des images
if( !defined("_SIMPLENEWSLETTER_EDIT")) {
    
simplenewsletter_utils::loadLanguageFile('main.php');
}
    
$icones = array(
        
'edit' => "<img src='"$pathIcon16 "/edit.png' alt='"._SIMPLENEWSLETTER_EDIT."' align='middle' />",
        
'delete' => "<img src='"$pathIcon16 ."/delete.png' alt='"._SIMPLENEWSLETTER_DELETE."' align='middle' />",
        
'validate' => "<img src='"$pathIcon16 ."on.png' alt='"._SIMPLENEWSLETTER_VALIDATE."' align='middle' />"
    
);


SMEDrieben



99
SMEDrieben
Re: SimpleNewsletter 2.32 Beta 1: new bug: Solved
  • 2013/5/4 19:42

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


There is another bug: icons for editing and deleting members are not displayed in the admin (members section). In the php-debug info, it is stated that $icones is not defined (admin/main.php line 777 and 778).

$icones is defined in include/common.php. This script wasn't changed since the previous version, but I think that the language definitions are loaded differently (already loaded befor loading of common.php). In the previous version common.php ended as:

// Définition des images
if( !defined("_SIMPLENEWSLETTER_EDIT")) {
    
simplenewsletter_utils::loadLanguageFile('main.php');
    
$icones = array(
        
'edit' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."edit.png' alt='"._SIMPLENEWSLETTER_EDIT."' align='middle' />",
        
'delete' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."delete.png' alt='"._SIMPLENEWSLETTER_DELETE."' align='middle' />",
        
'validate' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."button_ok.png' alt='"._SIMPLENEWSLETTER_VALIDATE."' align='middle' />"
    
);
}


I changed the script to:

// Définition des images
if( !defined("_SIMPLENEWSLETTER_EDIT")) {
    
simplenewsletter_utils::loadLanguageFile('main.php');
}
    
$icones = array(
        
'edit' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."edit.png' alt='"._SIMPLENEWSLETTER_EDIT."' align='middle' />",
        
'delete' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."delete.png' alt='"._SIMPLENEWSLETTER_DELETE."' align='middle' />",
        
'validate' => "<img src='"SIMPLENEWSLETTER_IMAGES_URL ."button_ok.png' alt='"._SIMPLENEWSLETTER_VALIDATE."' align='middle' />"
    
);


The buttons are back !

SMEDrieben



100
SMEDrieben
Re: SimpleNewsletter 2.32 Beta 1 released for testing
  • 2013/4/28 7:00

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


You have to activate the CRON block in the blocks admin on a page or several pages (e.g. your home page or another one. Each time this page is asked for by a browser, the number of mails chosen (in your case 1) is sent. The number sent can be seen in the second tab of the admin "previous newsletters" or so (I use the Dutch translation).

Indeed, the CROn block is invisible, even after activating in the blocks admin.

SMEDrieben




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 17 »



Login

Who's Online

169 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 169


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