121
Burning
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/12 21:52

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


Me again,

As JCweb, I can not administrate Latest News block, I get a blank page and this issue with path is reported in debug mode :
Message(s): Use of undefined constant NW_MODULE_PATH assumed 'NW_MODULE_PATH' dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 233
Avertissement
(s): include_once(NW_MODULE_PATH/include/functions.php) [function.include-once]: failed to open streamNo such file or directory dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 233
Avertissement
(s): include_once() [function.include]: Failed opening 'NW_MODULE_PATH/include/functions.php' for inclusion (include_path='.;C:/php5/pear'dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 233
Message
(s): Use of undefined constant NW_MODULE_PATH assumed 'NW_MODULE_PATH' dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 234
Avertissement
(s): include_once(NW_MODULE_PATH/class/class.newstopic.php) [function.include-once]: failed to open streamNo such file or directory dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 234
Avertissement
(s): include_once() [function.include]: Failed opening 'NW_MODULE_PATH/class/class.newstopic.php' for inclusion (include_path='.;C:/php5/pear'dans le fichier /modules/xnews/blocks/news_latestnews.php ligne 234


Lines 233 and 234 in news_latestnews.php are :
include_once NW_MODULE_PATH '/include/functions.php';
    include_once 
NW_MODULE_PATH '/class/class.newstopic.php';


... my website is in a sub-subfolder (C:/wamp/www/XOOPS245/MY-SITE/). May be the reason of this blank page ?



Edit : Top and Recent blocks display blank pages also, apparently for same reason

Debug :
Quote:
Message(s): Use of undefined constant NW_MODULE_PATH - assumed 'NW_MODULE_PATH' dans le fichier /modules/xnews/blocks/news_top.php - ligne 31
Avertissement(s): include_once(NW_MODULE_PATH/class/class.newsstory.php) [function.include-once]: failed to open stream: No such file or directory dans le fichier /modules/xnews/blocks/news_top.php - ligne 31
Avertissement(s): include_once() [function.include]: Failed opening 'NW_MODULE_PATH/class/class.newsstory.php' for inclusion (include_path='.;C:/php5/pear') dans le fichier /modules/xnews/blocks/news_top.php - ligne 31
Message(s): Use of undefined constant NW_MODULE_PATH - assumed 'NW_MODULE_PATH' dans le fichier /modules/xnews/blocks/news_top.php - ligne 32
Avertissement(s): include_once(NW_MODULE_PATH/class/class.newstopic.php) [function.include-once]: failed to open stream: No such file or directory dans le fichier /modules/xnews/blocks/news_top.php - ligne 32
Avertissement(s): include_once() [function.include]: Failed opening 'NW_MODULE_PATH/class/class.newstopic.php' for inclusion (include_path='.;C:/php5/pear') dans le fichier /modules/xnews/blocks/news_top.php - ligne 32
Still learning CSS and... english



122
Burning
Re: Login by Email & OpenID
  • 2010/6/12 20:21

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Agree with you, at least for Xoops 3.0 I hope :)

For moment we only have : OpenID 0.22 by Sakimura (01/03/2008, developed for XOOPS 2.0.18)
Still learning CSS and... english



123
Burning
Re: Show table cell borders
  • 2010/6/12 17:34

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


It works now :)
(can't remember message)
Still learning CSS and... english



124
Burning
xNews 1.68 RC1 - Bug report
  • 2010/6/12 16:29

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

First thanks to dnprossi for this release, that's really a good news with a lot of inovations inside :) !


1 --- Bug or not : attached image ?

About bug (it seems to be a bug ?), I see that an image can be attached to each article. There are two upload fields :
• attach a document (old feature, works fine)
• attach an image --> image is correctly uploaded but does not appear ? Or I have missed something ?


Environment :
- Xoops 2.4.5 RC2
- Fresh install
- Php 5.2.11
- MySQL 5.1.36


2 --- Requests if I can

• In xnews/language/english/modinfo.php we should remove line 122 :
Quote:
define("_MI_NW_FORM_SPAW", "Spaw Editor"); ?

• Admin index page is very nice, much simpler to use. But if I use Oxygen layout, I can't access to index page : there is no tab for it

• About this option (in module preferences) :
Quote:
Tooltips length

If you use this option, links related to news will contains the first (n) characters of the article. If you set this value to 0 then the infotips will be empty

... this feature would be better :
Quote:
If you set this value to 0 then the infotips will be filled by article title
Still learning CSS and... english



125
Burning
Re: Show table cell borders
  • 2010/6/12 15:17

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

You can put it directly at the end of style.css, in your theme stylesheet.

Nice website... but I can't access to smartsection
Still learning CSS and... english



126
Burning
Re: Show table cell borders
  • 2010/6/12 13:28

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

You should try to add a piece of code in style.css

As bjuti said, a border will appear if you add at the right place
table tr td {border1px solid #000}


But if you do so, all your tables displayed on your site will get borders.

So you have to be more specific, and only apply your new style to smartsection.
#smartsection table {border: 1px solid #000}

(if this instruction does not work properly, add !important after #000 or make sure that directory name for smartsection is really /smartsection).

Now all your tables displayed with smartsection will have a border. But it is not enough precise (eg : notification box may have also a black border, not the aim).

The more easy way to proceed is to identify your table in template directly. Like this :
<table class="i-want-a-black-border"><tr><td>...

... and add css instruction somewhere in style.css
#smartsection table.i-want-a-black-border tr td {border: 1px solid #000}


I hope it works :)
Still learning CSS and... english



127
Burning
Re: New modules TXMod
  • 2010/6/11 19:42

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

We can't access anymore

I hope timgno will back soon !
Still learning CSS and... english



128
Burning
Re: New modules TXMod
  • 2010/6/10 20:36

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


grazie mille :)
Still learning CSS and... english



129
Burning
Re: Problem viewing pages in different themes?
  • 2010/6/10 20:33

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Quote:
Volga-light renamed to rastapopoulos

I said rastapopoulos but I might as well say John Doe, it was for example

So, in your database theme is still "default" ? If yes, just download this theme and
• unpack it
• put /default into www/themes/ (you must have this tree : www/themes/default/theme.html)
• clean cache again
Still learning CSS and... english



130
Burning
Re: Problem viewing pages in different themes?
  • 2010/6/9 19:24

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Please :

• 1 : look into your database theme selected, note his name (example rastapopoulos)
• 2 : delete all folders wich are into www/themes/
• 3 : upload into www/themes/ a new theme (this one)
• 4 : rename www/themes/volga-light/ --> www/themes/rastapopoulos (it is the folder name set in your database)
• 5 : clean Xoops cache : delate all files in xoops_data/caches/smarty_compile
Still learning CSS and... english




TopTop
« 1 ... 10 11 12 (13) 14 15 16 ... 74 »



Login

Who's Online

217 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 217


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