xoops forums

Boogs

Just popping in
Posted on: 2012/3/22 12:51
Boogs
Boogs (Show more)
Just popping in
Posts: 8
Since: 2012/2/17
#31

Re: News 1.67 RC 1 ready for testing

Hi everyone :)

Xoops 2.5.4
News 1.6.7

I tried to edit the news_block_top.html to try and properly format the block for the "recent news" block.

I thought I was somewhat savvy enough to edit HTML but sadly I was wrong :(

I got blank pages and then lots of errors and then my site no longer worked...Had to delete the created templates and go back to default...mainly I am dissapointed for not being able to sort out a bit of HTML myself...I'm not a coder but do know my way around HTML - so I thought :P

This "Recent News" block sucks big time. The list bullet sits above the content and the font size is of a different format to anything else on the site.

i'm amazed this block has remained this badly formatted for so many years lol

Anyway, After hours of dissapointment I'm asking if anyone has any fix for this problem.

I mean seriously, this is the one module that should be flawless right??

Cheers,
Boogs.

redheadedrod

Home away from home
Posted on: 2012/3/22 16:51
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#32

Re: News 1.67 RC 1 ready for testing

The formating is likely due to your theme and NOT xoops or news related directly.

Go through your theme and its css files and you will find the formatting items.

News css is used for A LOT of diffferent things as the default so it is specifically defined in most themes. Sounds like it isn't in the theme you are using.
Attending College working towards Bachelors in Software Engineering and Network Security.

Boogs

Just popping in
Posted on: 2012/3/22 23:18
Boogs
Boogs (Show more)
Just popping in
Posts: 8
Since: 2012/2/17
#33

Re: News 1.67 RC 1 ready for testing

Thanks Rod, I'm using the default theme (untouched) that comes with the core files.

So I am clear, your saying the formatting is in the css file within the news module, not the default theme's css?

Thanks in advance :)

Cheers,
Boogs.

redheadedrod

Home away from home
Posted on: 2012/3/23 4:24
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#34

Re: News 1.67 RC 1 ready for testing

That formatting is all in the theme files... NOT in the module files.

Also, if you are using xoops 2.5 or newer then you would have to modify the templates directly. Older versions you could edit them from the system and keep copies because they were stored in the database. Since 2.5 they are no longer stored in the database but in files in the theme if you have custom templates.

The CSS tags you are looking for in the theme css file will be related to news and are used throughout most if not all modules. Somehow somewhere along the way the CSS tags for news ended up becoming the default css for all modules.

Realize that changing templates as well as the theme will require you to turn on "Check for changes" during the editing. Once you have completed you need to turn it back off for security reasons.

You also need to make sure you clear your cache directories as well since they cache the templates and theme...
Attending College working towards Bachelors in Software Engineering and Network Security.

DCrussader

Friend of XOOPS
Posted on: 2012/4/4 7:34
DCrussader
DCrussader (Show more)
Friend of XOOPS
Posts: 573
Since: 2005/7/4 7
#35

Re: News 1.67 RC 1 ready for testing

Transifex - https://www.transifex.net/projects/p/xoops-mods-i18n/r/news167rc/
May The Source Be With You!

Shine

Just can't stay away
Posted on: 2012/4/15 12:44
Shine
Shine (Show more)
Just can't stay away
Posts: 822
Since: 2002/7/22
#36

Re: News 1.67 RC 1 ready for testing

Quote:
News 1.67 RC 1


Please don't start merging several other modules to create a new news module.
The original News module created by Herve was and still is a great module. It 'just' needs to be updated and bug fixed.
This news module is a overall used module which shouldn't be merged with other modules, to create a new newsmodule.

Who is picking up al the test results to get this news 1.67 RC1 into a fine final running NEWS 1.67 Final module?

Mamba

Moderator
Posted on: 2012/4/15 13:13
Mamba
Mamba (Show more)
Moderator
Posts: 10948
Since: 2004/4/23
#37

Re: News 1.67 RC 1 ready for testing

Quote:
Who is picking up al the test results to get this news 1.67 RC1 into a fine final running NEWS 1.67 Final module?

I'll look into it, at least to resolve bugs, so we can release it as Final.

Zyspec was looking into refactoring it to "Blue Move" level, but if Voltan is able to make his module fully compatible with "News", and the users would be able to import their News data into it, then we might be focusing on that module going forward, as it has more modern design and code. But the requirement is that the import function is fully functioning.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

david12000

Just popping in
Posted on: 2012/4/28 5:13
david12000
david12000 (Show more)
Just popping in
Posts: 4
Since: 2010/2/13
#38

Re: News 1.67 RC 1 ready for testing

I would like to report a tip posted by blueteen on frxoops.
This tip allows the creation of start date and end date for items with the creation of block.
You can here the description in French here :
http://www.frxoops.org/modules/newbb/ ... p?topic_id=28673&forum=45.
If you want you can see this tip in action on my website with news 1.63 : http://www.rutenescope.fr/.

in the block named "Actualit├ęs" (top right).

This is useful for managing News
It might be possible to integrate it into future releases.

Thank you.

Excuse me for my poor English.

Cesagonchu

Moderator
Posted on: 2012/4/29 11:35
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 877
Since: 2010/2/1 2
#39

Re: News 1.67 RC 1 ready for testing

News 1.67 RC2 and Xoops 2.5.5 :

1. Deprecated

'/class/xoopstory.php' is deprecated since XOOPS 2.5.4please create your own class instead.

'/class/xoopstopic.php' is deprecated since XOOPS 2.5.4please create your own class instead.

'/class/xoopsuser.php' is deprecated since XOOPS 2.5.4please use 'kernel/user.php' instead.

Class 'XoopsTree' is deprecatedcheck 'XoopsObjectTree' in tree.php


2. Create folders

We have to create a folder "news" in the folder "uploads" (and CHMOD 777). Not practical.

The folder '/uploads/news/' does not exist 

The folder 
'/uploads/news/file' does not exist 

The folder 
'/uploads/news/image' does not exist


3. Errors

modules/news/admin/groupperms.php

Warningarray_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 129

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 129

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 253

Warningarray_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 266

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 266

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 253

Warningarray_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 266

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 266

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 253

Warningarray_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 266

WarningInvalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 266

Cesagonchu

Moderator
Posted on: 2012/5/1 14:21
Cesagonchu
Cesagonchu (Show more)
Moderator
Posts: 877
Since: 2010/2/1 2
#40

Re: News 1.67 RC 1 ready for testing

Link to the version tested : news 1.67 RC2 (see previous post for bug report).