Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] Enable or Disable HTML for Descriptions
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] Enable or Disable HTML for Descriptions

[SOLVED] Enable or Disable HTML for Descriptions 10 years, 6 months ago #12820

Using Joomla! 3.1 and can't seem to find the option to enable HTML for the item descriptions - it is currently not allowing any HTML.

Navigating under Module Manager -> [Name of Module] -> Options -> Items Options, we can only see what's shown in the file attached.

Attachment sj_listing.jpg not found



Thanks,
Last Edit: 10 years, 6 months ago by aquatherm.
The topic has been locked.

Re: Enable or Disable HTML for Descriptions 10 years, 6 months ago #12872

Dear Parr Young,

We're sorry. This is not supported option turn on/off HTML for item descriptions. This work intends to ensure the best module showing.

Thanks!
The topic has been locked.

Re: Enable or Disable HTML for Descriptions 10 years, 6 months ago #12891

Hi,

Thanks for your reply.

I'd like to kindly suggest the User guide to be updated in that case, as it indicates the option exist:
www.smartaddons.com/joomla/extensions/extension-user-guides/443-sj-listing-userguide

In the Joomla Extensions Directory, it's also advertised as such:

extensions.joomla.org/extensions/news-display/articles-display/articles-listing/19232


Thank you,
Last Edit: 10 years, 6 months ago by aquatherm.
The topic has been locked.

Re: Enable or Disable HTML for Descriptions 10 years, 6 months ago #12898

Dear Parr Young,

We're sorry. We've updated userguide. This guide is used images of SJ Content Responsive Listing module to illustrate. But you can add this option as following:

1. please go to your_site\modules\mod_sj_k2_reslisting\mod_sj_k2_reslisting.xml find:

<field name="item_des_maxlength_layout_list" type="text" default="200" label="Description Maxlength for Layout List" description="Max length of description by characters. Enter value 0 if you want to show all. Please enter integer number >= 0." />


=>

<field name="item_des_maxlength_layout_list" type="text" default="200" label="Description Maxlength for Layout List" description="Max length of description by characters. Enter value 0 if you want to show all. Please enter integer number >= 0." />
				<field name="item_des_keep_html" class="btn-group"  type="radio" default="0" label="Keep html" description="Keep html of item description">
					<option value="1">Yes</option>
					<option value="0">No</option>
				</field>	


-----------

2. go to your_site\modules\\mod_sj_k2_reslisting\tmpl\default_items.php find all:

							

	$introtext = K2ResponsiveListing::_cleanText($item->introtext);
	$fulltext = K2ResponsiveListing::_cleanText($item->fulltext);


=>

					
	$introtext = '';
	$fulltext ='';
	if($params->get('item_des_keep_html', 1) == 1) {									
		$introtext = $item->introtext;
		$fulltext = $item->fulltext;
	}else{
		$introtext = K2ResponsiveListing::_cleanText($item->introtext);
		$fulltext = K2ResponsiveListing::_cleanText($item->fulltext);
	}



Thanks!
The topic has been locked.

Re: Enable or Disable HTML for Descriptions 10 years, 6 months ago #12974

Perfect, this works great.

Thank you
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes