xoops forums

Mamba

Moderator
Posted on: 2013/2/21 7:26
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#11

Re: News 1.68 RC 1 released for XOOPS 2.5.5

The template for this block is:

templates/news_block_top.html
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cifug

Quite a regular
Posted on: 2013/2/25 19:52
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#12

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Quote:
Mamba wrote: The template for this block is:

templates/news_block_top.html


Correction: templates/blocks/news_block_top.html

It's strange, what actually differentiates between browsers here?

How is it that some browsers display as intended and others don't?

I can't see anything that I should edit

Cheers,
Marty.

Cifug

Quite a regular
Posted on: 2013/2/27 10:26
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#13

Re: News 1.68 RC 1 released for XOOPS 2.5.5

So, either:
1. People don't test their sites using Firefox/Chrome and have no idea that it doesn't work.

2. People just don't use the "Recent News" block because it doesn't work on all browsers and no-one could give a ????? about it.

3. People that know how, just rebuild it themselves to make it work.

The Xoops News module was one of the founding modules of this CMS, why does it not work seamlessly?

Am I the only person that wants to use this block but can't get it to work out of the box?

Mamba

Moderator
Posted on: 2013/2/27 12:31
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#14

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Marty, it works fine on Chrome, and that's what I normally test on.

I see the problem in Firefox, but I don't have the answer. Maybe somebody who is more expert in CSS/HTML, and knows more about differences between Chrome and Firefox rendering, could help here.

In the meantime, till somebody finds a solution, you could just remove the
<li>

</
li>

tags, around line 1630 in the news_block_top.html, as they don't make much difference.

The templates should be redone, as they are still using "table" tags instead of "div". We need some HTML/CSS experts to help us...
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cifug

Quite a regular
Posted on: 2013/2/27 18:08
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#15

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Thanks Mamba, I suspect your version of the news module is much different to mine as my version of News 1.68RC1 only has 965 lines. However, I think I can see the li tags your talking about.

WoW, 700 (possibly more) lines of modifications in this one file?

Cheers Marty.

Mamba

Moderator
Posted on: 2013/3/1 3:13
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#16

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Look at the "news_block_top.html" file
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

Cifug

Quite a regular
Posted on: 2013/3/4 17:48
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#17

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Quote:
Mamba wrote: Look at the "news_block_top.html" file

Mamba, I only have 965 lines and I can see a few instances of the "li" tags Should I remove them all or just the ones at line 944 and line 958? Also, should I be removing the "ul" tags as well?

Thanks,
Marty.

Mamba

Moderator
Posted on: 2013/3/5 1:41
Mamba
Mamba (Show more)
Moderator
Posts: 10372
Since: 2004/4/23
#18

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Quote:
Mamba, I only have 965 lines and I can see a few instances of the "li" tags Should I remove them all or just the ones at line 944 and line 958?

Sorry, my fault, I gave you previously the wrong line numbers.
Yes, those are the correct lines. And remove the

Cifug

Quite a regular
Posted on: 2013/3/7 14:24
Cifug
Cifug (Show more)
Quite a regular
Posts: 205
Since: 2007/12/13
#19

Re: News 1.68 RC 1 released for XOOPS 2.5.5

Quote:
Mamba wrote:
Sorry, my fault, I gave you previously the wrong line numbers.
Yes, those are the correct lines. And remove the
<ul>
tags too.

Worked perfectly, thanks so much :)

btesec

Friend of XOOPS
Posted on: 2013/5/23 18:55
btesec
btesec (Show more)
Friend of XOOPS
Posts: 623
Since: 2007/2/20
#20

Re: News 1.68 RC 1 released for XOOPS 2.5.5

How can I display news images in news blocks, specifically top news block. I did apply evucan's patch for version 1.66 and it worked perfect. However that news mod version is outdated. I applied the same patch to News 1.68 RC 1 released for XOOPS 2.5.5 and no image displayed, any help if welcome.

Thanks.