Buy One OpenCart Theme, Download One for Free!
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

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? 5 years 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: 5 years ago by leoncito08.
  • Page:
  • 1
Time to create page: 0.34 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.

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes