Shape 5

Joomla Templates => Sports Nation - Club => : bgordon May 02, 2012, 08:12:25 PM



: S5 Spotlight News Module Causing display problems * SOLVED *
: bgordon May 02, 2012, 08:12:25 PM
I have no idea what I could have messed up to cause my issue. What is happening is that when I add the S5 Spotlight News module above_body_1 or below_body_1 the page modules get all messed up. The right inset and right positions move way down the page.

With the sitesharper demo Spolight News module everything looked fine. I removed the demo module and created a new S5 Spotlight news module in above_body_1. When I publish it the module all the modules in the right inset and right positions all moved down the page or sometimes disappeared altogether. The positioning is all messed up.

If I publish the S5 Spotlight news module to the below_body_1 all the modules in the right_inset and right appear like they may be in the left position or not display at all. It doesn't matter which page or menu item I assign it to. All the pages get messed up.

I should mention that I can publish other module types (Custom HTML) to the above_body positions and everything looks ok.

I'm at a loss for what has happened.


www.adamalexander52.com


: Re: S5 Spotlight News Module Causing display problems
: bgordon May 03, 2012, 06:57:31 AM
It appears that the S5_Spotlight News module is not collapsing properly. When the page is displayed the other modules on the page are being pushed down the distance the NEWS module would need if you click the "READ MORE". In other words the space needed to display the NEW module expands as if you've click the read more although no text from the article is displayed. It is just white space.



: Re: S5 Spotlight News Module Causing display problems
: mikek May 03, 2012, 07:23:05 AM
Hello,

There is most likely an unclosed element somewhere in your article's code (the articles that spotlight news is calling). An unclosed element would cause this. Trying unpublishing all but one article and see it shows properly then.


: Re: S5 Spotlight News Module Causing display problems
: bgordon May 03, 2012, 07:41:29 AM
Thanks for replying.

I created one new article with nothing but text. It still does the same thing.  I did notice that when I click the READ MORE button the article displays on the frontpage instead of in a new page like the DEMO does.


: Re: S5 Spotlight News Module Causing display problems
: mikek May 03, 2012, 09:32:54 AM
Hello,

If you can private message me super admin access and ftp access I can debug this. The spotlight news module showing after read more is a default feature of Joomla itself. You need to create a menu item that points to the content category that the articles are published to. Then on that new menu item don't publish any modules.


: Re: S5 Spotlight News Module Causing display problems
: mikek May 03, 2012, 10:19:13 AM
Hello,

The issue was an unclosed element in the article. Here is what is happening, your text is:

<div>this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test</div>

The module only calls a certain number of characters of the article so it never actually calls the closing </div>

The solution is simply to use plain text with no div calls, you can toggle the editor to make sure there are none when you're saving. Or you simply increase the number of characters that are being called in the module's backend to call the full article (of course that will call a lot more text).

As it stands now though, it's showing correctly.


: Re: S5 Spotlight News Module Causing display problems
: bgordon May 03, 2012, 12:36:13 PM
Thanks Mike. As always, support is awesome.