91
novlang1984
Re: Templates

Unzip before !

... and put it into themes folder. You have to get : /themes/mynewtheme/theme.html



92
novlang1984
Re: Conflict Jquery

If you don't want to load JQuery twice, you should add this script in <head>

Quote:
<{php}>
global $xoTheme;
$xoTheme->addScript("browse.php?Frameworks/jquery/jquery.js");
$this->assign('xoops_module_header', $xoTheme->renderMetas(null, true));
<{/php}>



93
novlang1984
Re: Problem with xnews and xoops2.5.0

there are bugs into article tpl, especially if you activate pdf plugin detection (module options).

[off-topic] the display of images located into /uploads is impossible if your PHP version uses CGI. We have to edit .htaccess and to delete this :

Options -ExecCGI -Indexes



94
novlang1984
Morphogenesis : IE7 compatibility ?

First, thanks to the designer who create morphogenesis, excellent !

I see Morphogenesis theme uses display: table and display: table-cell.

Is it compatible with IE7 ?



95
novlang1984
[XOOPS 2.5] Module dirname limit

If you duplicate a module and rename his dirname with a " - " inside (example : my-module), then a blank page is displayed here :
modules/system/admin.php?fct=modulesadmin&op=installlist

If you use underscore (example : my_module), it works like a charm



96
novlang1984
xNews 1.71 RC - How to display xx articles on the RSS page

By default, the option "Select the number of news items to display on top page" is also used to feed the RSS page.

In backendt.php it is :
$newsnumber = nw_getmoduleoption('storyhome', NW_MODULE_DIR_NAME);

Is there a solution to display xx articles on RSS page (ex : I would like 5 articles on index page and 10 on rss page).

Thanks


----

Sorry, response is very simple

Replace : $newsnumber = nw_getmoduleoption('storyhome', NW_MODULE_DIR_NAME);

By : $newsnumber = 'xx';



97
novlang1984
xNews 1.71 RC - PDF plugin detection causes troubles

In article.php
//DNPROSSI - Added for adobe detection * does not work in msie
$browser $_SERVER['HTTP_USER_AGENT'];
//'msie', 'firefox', 'safari', 'webkit', 'opera', 'netscape', 'konqueror', 'gecko'
if ( !preg_match("/msie[^;]*/i"$browser) ) {
    
$has_adobe nw_detect_adobe();
} else {  
$has_adobe 1; }


this script causes troubles with Opera, same behavior than an unclosed tag...



98
novlang1984
xNews 1.71RC - <{$articlePicture}> is empty

In the story text area, this smarty does not contain anything (tpl is nw_news_item.html):
Quote:
<{$articlePicture}>

Html source :
Quote:
<img src="" alt="" />


Have you noticed the same issue ?



99
novlang1984
Re: xNews 1.71RC - RSS page and wrong encoding

It works !

Thanks



100
novlang1984
xNews 1.71RC - RSS page and wrong encoding

xNews 1.71RC

Title site and his slogan are not encoded correctly.

In backendt.php, it is :
Quote:
$tpl->assign('channel_title', xoops_utf8_encode($sitename));
...
$tpl->assign('channel_desc', xoops_utf8_encode($slogan));


Is there a solution, I haven't found it ...




TopTop
« 1 ... 7 8 9 (10)



Login

Who's Online

159 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 159


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