Download the PHP package hestabit/craft-ajaxinate without Composer

On this page you can find all versions of the php package hestabit/craft-ajaxinate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package craft-ajaxinate

Entries Loader And Filter plugin for Craft CMS 4.x

This plugin will give you an option to load more entries using ajax.

You have options for filters based on fields and categories.

You have the sorting options available.

Number fields are converted to range input type, you can apply CSS as per your need.

You can control the options from the plugin setting page or while calling the render(). Just watch below animation for available backend options.

You can pass your custom query as well to get the entries as per your need.

You have the option to create Multiple Load More instances on different templates with different settings.

If you have already shown some entries (desc order) on a template, you can skip the number of entries by adjusting the offset in the Setting page or while calling the render().We will skip those entries then.

Setting Page

Requirements

This plugin requires Craft CMS 4.X or later.

For Older versions please go to Craft V3

Installation.

To install the plugin, follow the below instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
  2. Then tell Composer to load the plugin:

    composer require hestabit/craft-ajaxinate
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Entries Loader And Filter.

:warning: Please select these Supported Field type only in the plugin settings page or passing in render() call.

Steps to add Load More functionality.

Sample code for calling the Rendering Template

Load More button example with options

{{ craft.craftAjaxinate.loadMoreVariable({
      btnWrapperClass:'ajaxBtn',
      loadMoreName: 'Load More'})
}}

Steps to add sorting and filters

Load 3 entries on page load and show filters of featuredEntry (lightswitch), price (number).Also, show all child categories of mensClothing and shoes and tags of technology.

Load 3 entries on page load and shortDescription should not be empty. As the limit is not passed CP settings will be used.

Load 3 entries on page load and postDate before 2019-07-31.

Load 4 entries on page load and postDate before 2019-07-31 and shortDescription should not be empty. Each line in query has and relation between them.

title either foo or bar. As template is not passed CP settings will be used.

title either foo or bar or field_featuredEntry (lightswitch) is active.

Append field_ before handleName.

Between 2019-07-12 and 2019-07-31 dates.

Append field_ before handleName.

## Example of csrf ( There is no need to declare csrf if already declared)

Example of rendering template (You have access to {{entries}} in this template, You have to iterate on this object)

Entries Loader And Filter Roadmap

Future development plans for the plugin (if any suggestion then do create a feature request over GitHub):

Support

Found any issue :confused: , Create a Github Issue

Credits

Brought to you by HestaBit


All versions of craft-ajaxinate with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^4.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hestabit/craft-ajaxinate contains the following files

Loading the files please wait ....