Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
The catalog summary widget is limited with the amount of text it can show to the user. This widget does not automatically adjust to the amount of text beyond a given number of lines. But what it does, when there's too much text in this widget, it will interfere with the footer area below. Even though the contents of the widget are wrapped in a <div> tag, it still interferes with the contents below.
I am able to reproduce this on multiple websites using the default configuration, please notice the <hr> tag in the footer being forced to the right.
I hope this helps, -Ray
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Can you please share a screenshot.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Too-Much-Text.jpg (834kb) downloaded 6 time(s). Right-Amout-of-Text.jpg (749kb) downloaded 5 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Do you have any inline styling added in your summary text or are there any generic classes being used in summary HTML.
This widget renders the Html as text so there are chances of some invalid Html or custom styles creating the mess.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Here's the external CSS property for that particular text in the summary widget:
.BoxSummaryPic { background-color: white; padding: 10px; color:#777; background-image: url(/Assets/ContentImages/ars_Information.png); font-size: .9em; background-size: 50px 50px; background-repeat: no-repeat; background-position: right bottom; }
Extremely important, this behavior only shows itself when you have enough text, usually after 11 lines, and the Widget starts to trim the text. If you keep the text under 11 lines, all is well.
Please note, the above CSS is not complicated, we should be able to manipulate or format the contents that is pleasing to the user. plaintext although gets trim, does not seem to produce the problem, but the code is in a <div> and this should not occur.
I hope this helps.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Hi Shari,
I have figured out what is going on and the problem is indeed the category summary widget. Because the wedge does not expand and truncates the text, the ending </div> tag is being removed, the code is no longer within a container and spreads below to the footer area.
If you do the same thing in an HTML snippet, there is no problem, because the HTML snippet can increase depending on the amount of text, because of this, the ending </div> does not get truncated, and the code stays within its container.
The solution would be to have the category summary widget increase in size so the closing </div> tag remains.
I hope this helps, -Ray
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I think this issue has already been discussed in this forum post. https://www.ablecommerce...ngth-of-category-summaryThe summary content is truncated after 1000 characters. I think this has caused the issue you are facing right now. To fix, please follow these steps: 1- Open \Website\Areas\Admin\Controllers\CategoryController.cs 2- Search for the code Code:category.Summary = StringHelper.Truncate(categoryModel.Summary, 1000);
3- Replace it with Code: category.Summary = categoryModel.Summary;
4- Compile the code. 5- You will have to again set the complete summary content from admin edit page. Thanks
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Thank you for providing the code fix, can you give us an approximately when the next release might be out?
Many thanks to all, -Ray
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Hi Ray,
It should be ready within the next 2 weeks. We have a few new issues that we're discussing, but other than that, almost all issues have already been through final testing. We spend about a week with the build we intend to distribute, doing more testing with a focus on upgrades. If everything goes well, we should be on track for Sept. 30th.
Thanks for asking, and I hope you're doing well.
Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close