i want to start smart list feature from 0.

Posted in: Newspaper
Post count: 18

Hello..

I’m using smart list feature for articles and it starts from 5 to 1 or 1 to 5 but i want to create list that also includes “0”. is there anyone who can help me to change php file? sorry for bad english.

thank you.

Post count: 18

Anyone here??

  • This reply was modified 7 years by Sagar.
Post count: 35449

Hi,

Please provide some more details, what smart list are you using, some screenshots or a link were I can inspect the list would be very helpful.

Thank you for your understanding.

Post count: 18

Hey!! thank you so much for reply.

You know i want to create a top 5 list on various topic. As per newspaper’s smart list features, it has more than 5 options and I’m using smart list 2. If i choose sort by descending than it start with “Item no. 5” than 4 3 2 1 and now if we press next button it continues the cycle with item no. 5. But i want option “zero” because i want to show complete list of this all 5 items at 0. When i ask at discussion, author says you need to customize td_smart_list_2.php file if you want to show no. zero in your smart list. They says they cannot help me because theme customization is not covered in support. Now i don’t what and which line i need to customize in php file. I hope you understand

Thanks.

Post count: 35449

Hi,

Please fallow the steps from image below, you need to go in Newspaper> includes> smart_list> td_smart_list_2.php ( select the one you are using in this case 2 ), and add $current_item_number--;
https://www.screencast.com/t/9LHkZj84
Hope this will help you.

Thanks

Post count: 18

Hey!! thank you so much it works ..

Post count: 18

but there’s one more problem

Post count: 18

I’ve some image issues when creating a smart list (I’m using smart list 1).
here are some screenshots:
https://ibb.co/nJjGC0
https://ibb.co/mwxskL
https://ibb.co/jAKuzf
https://ibb.co/mNFZzf

Please see this screenshots and give me some solution. I don’t know what is happening. I cropped each photos with the same pixels. I need all full-screen size photos but some of them are getting shrunk itself. All photos are in the same size.

Thank you.

Post count: 18

anyone there please!!

Post count: 35449

Hi,

You set the image in smart list with full size, and your image have not the same size.
Make sure that you set the same size for the images from smart list. https://www.screencast.com/t/wWirp4dyLyN

Thanks.

Post count: 18

Hey..
I tried this but it not works 🙁
If I open this post from Mozilla firefox, everything is fine even every images are in full size. BUt when i open this my posts from chrome, this thing is still happening. what to do now.

here is a link: https://fortune.express/2018/11/18/floating-towns-the-7-most-expensive-cruise-ships-ever-built/

and also this: https://fortune.express/2018/08/15/the-7-most-expensive-vintage-cars-ever-sold-in-auction/

Post count: 35449

Hi,

Please try to deactivate all plugins clear all cache, and try again.
-> https://forum.tagdiv.com/sidebars-tutorial/

Thanks.

Post count: 18

Bad luck.. i deactivate all plugin and do master flush but still this idea not worked. any other way??
🙁

Post count: 35449

Hi,

I’ve check your website and your smart list is block ( buttons ) and the pagination buttons too.

Please deactivate all plugins and remove all custom code you have insert, clear all cache and try again.

Thank you.

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.