Inimist Technologies Blog

DevArticles – Tips, Tricks, References and Bookmarks

  • Home
  • Hindi to Unicode
  • About
  • Contact

Tag: smarty

To check in a smarty template if it was the last page of the page results

Arvind KumarPHPLeave a Comment on To check in a smarty template if it was the last page of the page results

Here’s a method to check in a smarty template if it was the last page of page results. {if $listings.current_page gte ($listings.total / $results_per_page)|ceil} True {else} False {/if} where $listings.current_page is the current page user is on, $listings.total is the…

Read More→

  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Laravel Carbon addMinutes() | Laravel Carbon Add Or Subtract Minutes and Hours Examples
  • How to build a basic Frontend Application using Laravel and Livewire
  • Auto Renew Let’s Encrypt Certificates using Certbot
  • How to compress and extract files using tar command in Linux – Basic Example
  • How to Publish ReactNative Expo Mobile App to Apple App Store and Google Play Store

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms