-
AuthorPosts
-
February 18, 2009 at 6:27 pm #138318
It seems that all of my article pages are not displaying correctly within the template. It is pushing the right and sometimes both left and right panels underneath the articles. Two days ago, everything was fine, now today I noticed this issue. Has anyone seen this or know where I might look in the CSS to correct? It is consistent in both IE and Firefox.
Thanks so much in advance for any assistance.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 18, 2009 at 7:18 pm #292414You’ve altered your index.php and you now have ja-col2 inside the ja-mainbody <div>. You need to place it after it.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 18, 2009 at 7:31 pm #292416This is probably because you deleted a </div> just before “Begin Right Column”
February 18, 2009 at 9:40 pm #292438Thanks, Scotty. I think you were partially correct. I put the div in as you suggested and it cleaned up all the articles. But now the home page has an issue with the right column being pushed down too far. Any thoughts on that?
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 18, 2009 at 9:53 pm #292442You now have #ja-col2 outside #ja-container
imsleepy Friendimsleepy
- Join date:
- January 2009
- Posts:
- 451
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 94
- Thanked:
- 45 times in 1 posts
February 18, 2009 at 10:04 pm #292445Hey Scotty…
This person had another question regarding this same site that I am also interested in an answer to.
If you have the time could you look at this thread? http://www.joomlart.com/forums/topic/article-preview-pop-up-on-ja-news-module-issue/
Sorry about going off topic here… but figured it might be ok since it is this person’s quesition and same site and template.
Thanks!
February 18, 2009 at 10:33 pm #292452Thanks for your replies Scotty. But I am confused. I just pulled the original index file and the only changes were to add a Subscribe module that has a start and end div, and remove the JAZIN code. So there were no other divs removed or added. I also compared the original template with my code and the area around col1 and col2 has the exact same # of divs and in the same places. So if you see an issue and could tell me exactly what needs to be fixed, I am just not seeing it.
Again, thanks so much for all your help.
February 22, 2009 at 6:40 am #292817Hi Scotty and any other moderators. I have restored the original template (index.php from the download) and my problem still exists. The home page looks OK, but every other page the right column is moved underneath the article. This does not appear to be an issue with any changes I made since the original index has been restored.
If anyone can shed a light on why this is not working I would greatly appreciate it.
Sam
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 22, 2009 at 11:11 am #292834You must have sorted this? It seems OK now.
What was the problem?
February 22, 2009 at 7:40 pm #292891OK, no the problem is not fixed. As I said, I reverted back to the original template index.php. The home page looks fine but click on any of the articles and you will see that in both IE7 and FF3 that the right column is underneath the article instead of to the right like it is on the home page.
Any ideas?
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 22, 2009 at 8:52 pm #292897OK the structure on your frontpage is fine…
<div main>
<div left column - float left></div>
<div content area - float right></div>
</ div main>
<div right column - float right(of main div)></div>
but on your article pages it is like this…<div main>
<div left column - float left></div>
<div content area - float right></div>
<div right column - float right(of main div)></div>
</ div main>
and this is why it is appearing under the other content.There could be several reasons for this.
Have you ever edited templates/ja_rutile/html/com_content/article/default.php? This is a template override that modifies you article pages. You may have added or omited a </div>
Or…
It could be component you are using that is adding or omiting an extra </div>
If you haven’t modified the default.php file then you need to disable all modules and see if the problem appears by enabling them one by one.
Let me know how you get on.
PS: With disabling the mods…. I’d start with the CEO Women module. JA News is intended for the frontpage only and I notice the module doesn’t display correct on article pages.
February 23, 2009 at 4:48 am #292952Scotty, you are truly awesome and a huge help. It was the JA-News module on the left column that is causing this problem. I also have a JA-news module on the right column and it does not cause this problem. I would love to be able to do have the JA-news on the left column as it aids in my navigation for the site. If I cannot, I will have to make do somehow.
If you have any suggestions how I might make that work, I would be even more appreciative than I am. If not, maybe this will help someone down the road not to put JA-news in columns, NOT on the frontpage.
Thank you, thank you!
Samscotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 23, 2009 at 9:00 am #292982You’re welcome.
Its odd that it works on the right but not on the left as both columns have the same structure. As I said above the left Ja News had a styling problem where the BG images were not displaying correct and this is a sure sign of a missing DIV. But why no missing DIV on the right column? Why no missing DIV on the frontpage?
Strange.
March 19, 2009 at 3:52 pm #296870So I have a very similar issue, although the template index has NOT been modified beyond altering the Mootools loaded. No structure has been changed at all.
Have a look: http://beta.vewd.org/alpha
The right modules are being pushed to the left, with strange spacing. Articles are falling under each other as if div tags are missing… but no XHTML has been changed. Its something about the articles themselves breaking it…
The changes are even more dramatic on another instance of JaNews in the MAGAZINE tab.
Any ideas?
March 19, 2009 at 3:59 pm #296872Okay, so I kept digging through the forum until I found someone with a similar issue. That person said they removed articles until it worked, and so did I. I found that some of my articles break it. That is, one’s with a Read more… tag in them. Doesn’t matter where that tag is, it seems. We need those because on the catagory pages, it has to be shortened and we don’t use Ja-News there. It’s a blog layout.
I posted there and I will post here, that I need some kind of rule. How is this breaking it? I’m not the content creator for my site, I just build it. So the editors will be very unhappy if I say, oh just don’t use that article… or something similar when it breaks the site.
Any suggestions?
-
AuthorPosts
This topic contains 16 replies, has 4 voices, and was last updated by mattbl34 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum