- Posts: 53
- Thank you received: 0
Prod Category text desc not using Read More funct
- teleactive
-
Topic Author
- Offline
Less
More
13 years 6 months ago #93183
by teleactive
Prod Category text desc not using Read More funct was created by teleactive
In the Product Category when I edit the description text it does not recognize the Read More function to shorten the general description to allow the products to appear toward the top of the page just under the Read More instead at the end of the description.
Please advise of work around or solution.
Thanks
Please advise of work around or solution.
Thanks
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 6 months ago #93218
by Mohamed Thelji
Replied by Mohamed Thelji on topic Prod Category text desc not using Read More funct
Please Log in or Create an account to join the conversation.
- teleactive
-
Topic Author
- Offline
Less
More
- Posts: 53
- Thank you received: 0
13 years 6 months ago #93330
by teleactive
Replied by teleactive on topic Prod Category text desc not using Read More funct
I reviewed the thread and find no code with echo in the Category description text that appear before the products are shown.
You can see the page here.
198.57.141.10/~cllgshp/index.php/product...go-value/colligo-dux
All the Read More code is doing is putting in a horizontal rule seen just before the Warning:Colligo....
Looking for a solution to bring the products closer to top of page but still keep this general product information available.
You can see the page here.
198.57.141.10/~cllgshp/index.php/product...go-value/colligo-dux
All the Read More code is doing is putting in a horizontal rule seen just before the Warning:Colligo....
Looking for a solution to bring the products closer to top of page but still keep this general product information available.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #93386
by Xavier
Replied by Xavier on topic Prod Category text desc not using Read More funct
Can you edit the view used for the listing, and see if the code:
is present.
And in the product view if the code:
is present.
Code:
echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description);
And in the product view if the code:
Code:
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
Please Log in or Create an account to join the conversation.
- teleactive
-
Topic Author
- Offline
Less
More
- Posts: 53
- Thank you received: 0
13 years 6 months ago #93674
by teleactive
Replied by teleactive on topic Prod Category text desc not using Read More funct
We are looking at a category listing not a product listing. We can not find either of these lines of code in any of the views files.
Which files with path would should we be looking in.
Which files with path would should we be looking in.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #93863
by Xavier
Replied by Xavier on topic Prod Category text desc not using Read More funct
To have the readmore in the category description you can edit the view "product / listing" and use "echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->category_description));" in the "hikashop_category_description" div.
Please Log in or Create an account to join the conversation.
Time to create page: 0.198 seconds