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

help... how to add an option to the module?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: help... how to add an option to the module?

help... how to add an option to the module? 9 years, 8 months ago #20167

nice .. module can show x amount of news .. the problem is that you can not display news from specified range .. starts from zero (0) ... I want to show the first 3 in the top of the web site .. and the next 3 in the final part of the website .. can not be

probe modifying the core / helper.php file ....
$ articles-> setstate ('list.start', 0); 


if I change the 0 for 4 .. starts showing from 4 .. but that number is fixed ..

as you can add the option to "start from a certain number"?


xml
 <field name="count" type="text" default="10" label="Count" description="The number of articles to display. The default value of 0 will display all articles." />
				
				<field name="start" type="text" default="0" label="First news number" description="starting from..." />




https://scontent-b-mia.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/10482114_857815247579506_6858588791525258271_n.jpg?oh=24b98c7380ebccd751e80817674a5806&amp;oe=545330CA
Last Edit: 9 years, 8 months ago by leoncito08.
  • Page:
  • 1
Time to create page: 0.18 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