-
AuthorPosts
-
December 27, 2010 at 12:43 am #157902
When I place the home button on the front page to the K2 articles, the left and right modules fall below the main content. It just happened all of a sudden when i was adding “read more” tags to my items.
Can someone explain this?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 27, 2010 at 7:37 am #368723The problem is from the missing close div of the div tag.
Now you need to re-edit those k2 articles. You should make theirs content of them as following
<p>
INTROTEXT
</p>
<hr id=”system-readmore”/>
<div>
FULLTEXT
</div>with above format, if you put wrong position of the readmore tag, or the text was cutted text by module, it will not causing the layout broken
January 25, 2012 at 7:10 pm #435421I have had the same problem with the JASOCIAL template and the JA PORTFOLIO template. I do not get the problem with JA EDENITE.
I want to use the templates but can’t until I know this can be fixed.
henrik1782 Friendhenrik1782
- Join date:
- October 2011
- Posts:
- 109
- Downloads:
- 0
- Uploads:
- 35
- Thanks:
- 20
- Thanked:
- 5 times in 1 posts
January 26, 2012 at 6:30 pm #435585Have tried to find a template which I can actually get working, (all features, not only show up) all of them uses the T3 framework and I get these kinds of problems every time. EDENITE is not a T3.
I am allmost giving up… is T3 making the troubles or what. It is really frustrating…
matt871401 Friendmatt871401
- Join date:
- January 2012
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 3
- Thanked:
- 3 times in 1 posts
January 29, 2012 at 8:08 am #435980Like tienhc was saying just make sure your readmore code is not included in any div tags. So be sure and class any divs before the readmore and re-open them afterwards. Does this solve it for you?
January 29, 2012 at 1:19 pm #436016Thanks for the advice. When I first looked on the forum for associated problems the K2 article was raised by socialtalklive was the nearest posting. I looks like henrick1782 is having the same problem as myself and it is to do with the templates working on the T3 framework. I would not want to be having to code each article to solve the problem. It should work out of the box. I will now raise this with support and see what they say. Thanks for your time and support.
February 4, 2012 at 11:26 am #436896I raised the problem with support and I have copied below the response to fix the problem so that it can be shared.
“As suspected the problem lies in your articles, you have the class applied in your code <div class=”content”>. However, as you have not put a closing </div> tag before the readmore tag your articles are causing the layout to break
Normally most templates will break if you incorrectly use code in articles. Not sure but I think Edenite used tables for the layout so the div tag in your article would not cause such a problem. With ALL modern joomla templates you would see a similar issue.If you did not deliberately put that div tag there, how did you create the article? If it was cut and pasted from elsewhere then you may have carried the tag with it.
To see the problem look at the articles I mention above in the article editor. At the bottom of your editor you will see a button marked “Toggle Editor”. Press that and you will see the code you have pasted in from somewhere else. Right at the top you will see the “<div class=”content”>” tag that you have inadvertently placed in your articles. If you do not need it simply remove it along with the </div> tag found near the end of your article. That will fix your problem.
-
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by grahamwall 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum