Soudle.js – jQuery Plugin for Subscription Form + Laravel & CodeIgniter Admin Panel
$5.00
18 sales
LIVE PREVIEWIntroduction
Soudle.js is a powerful jQuery plugin that allows you to create subscription forms with ease. With its flexible layout options, animations, and callback functions, this plugin is perfect for developers looking to enhance their website’s subscription experience. But does it live up to its promises? Let’s dive in and find out.
Description
Soudle.js is a lightweight jQuery plugin that enables you to create subscription forms with two types of layouts: inline and popup. It’s easy to integrate and customize, making it suitable for developers of all levels. The plugin also comes with a range of features, including 5 layout styles, 9 popup positions, and 70+ animations effects.
Features
One of the standout features of Soudle.js is its range of features. The plugin includes:
- 5 available layout styles
- 9 available popup positions
- 70+ available animations effects (animate.css)
- 11 callbacks for developers to work with
- Cross-browser compatibility
- Fully responsive design
- Support for animate.css and NiceScroll.js
- SCSS version available
- AJAX support
- Laravel and CodeIgniter admin panels
The admin panels offer a range of features, including:
- User authentication
- Datatables for subscription data
- Export subscription data to Excel, CSV, PDF, and HTML5 clipboard
- CRUD (Create, Read, Update, Delete) for subscribers and users
- Line graph for subscription data
- Info boxes on the dashboard
Requirements
To use Soudle.js, you’ll need:
- jQuery version 1.12 or better
- Latest Animate.css
- Latest NiceScroll.js
Demo
Soudle.js comes with demo versions of its Laravel and CodeIgniter admin panels. The demo email and password are:
- Laravel admin panel: demo@admin.com, 123456
- CodeIgniter admin panel: demo@admin.com, 123456
Credits
The plugin credits its use of various libraries, including:
- jQuery (MIT License)
- Animate.css (MIT License)
- NiceScroll.js (MIT License)
Review
Overall, Soudle.js is an impressive plugin that offers a wide range of features and customization options. The admin panels are well-designed and offer a range of useful features for managing subscription data. However, the plugin does have some limitations, such as the requirement for jQuery version 1.12 or better.
Score: 8.5/10
Recommendation
I highly recommend Soudle.js to developers looking to create subscription forms with ease. While it may have some limitations, the plugin’s flexibility and range of features make it a valuable addition to any website.
User Reviews
Be the first to review “Soudle.js – jQuery Plugin for Subscription Form + Laravel & CodeIgniter Admin Panel”
Introduction
Soudle.js is a jQuery plugin that provides a user-friendly and customizable subscription form for your website. With Soudle.js, you can easily integrate a subscription form on your website and manage subscriptions using a Laravel or CodeIgniter admin panel. In this tutorial, we will cover how to use Soudle.js to create a subscription form and manage subscriptions using a Laravel or CodeIgniter admin panel.
Prerequisites
Before starting this tutorial, you should have the following:
- A basic understanding of HTML, CSS, and JavaScript
- A Laravel or CodeIgniter project set up on your local machine
- A MySQL database set up for your Laravel or CodeIgniter project
- A text editor or IDE (Integrated Development Environment)
Step 1: Install Soudle.js
To install Soudle.js, you can use npm or yarn:
- npm:
npm install soudele.js
- yarn:
yarn add soudele.js
Alternatively, you can download the Soudle.js plugin from the official website and include it in your project manually.
Step 2: Create a Subscription Form
To create a subscription form using Soudle.js, you need to add the following code to your HTML file:
<form id="subscription-form">
<input type="text" name="name" placeholder="Name">
<input type="email" name="email" placeholder="Email">
<input type="password" name="password" placeholder="Password">
<button type="submit">Subscribe</button>
</form>
Step 3: Initialize Soudle.js
To initialize Soudle.js, you need to add the following code to your JavaScript file:
$(document).ready(function() {
$('#subscription-form').soudle({
url: 'path/to/your/server-side-script',
onSuccess: function(data) {
// handle success
},
onFailure: function(error) {
// handle error
}
});
});
Replace path/to/your/server-side-script
with the URL of your server-side script that will handle the subscription form submission.
Step 4: Create a Server-Side Script
To create a server-side script that will handle the subscription form submission, you need to create a new PHP file in your Laravel or CodeIgniter project. For example, you can create a file called SubscriptionController.php
in your Laravel project or Subscription.php
in your CodeIgniter project.
Here is an example of a server-side script that will handle the subscription form submission using Laravel:
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
class SubscriptionController extends Controller
{
public function store(Request $request)
{
// validate the request data
$request->validate([
'name' => 'required',
'email' => 'required|email',
'password' => 'required'
]);
// create a new subscription
$subscription = new Subscription();
$subscription->name = $request->input('name');
$subscription->email = $request->input('email');
$subscription->password = bcrypt($request->input('password'));
$subscription->save();
// return a success response
return response()->json(['message' => 'Subscription created successfully']);
}
}
And here is an example of a server-side script that will handle the subscription form submission using CodeIgniter:
<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Subscription extends CI_Controller
{
public function store()
{
// validate the request data
$this->form_validation->set_rules('name', 'Name', 'required');
$this->form_validation->set_rules('email', 'Email', 'required|valid_email');
$this->form_validation->set_rules('password', 'Password', 'required');
if ($this->form_validation->run() == FALSE) {
// return a failure response
echo json_encode(['message' => 'Failed to create subscription']);
} else {
// create a new subscription
$subscription = new Subscription();
$subscription->name = $this->input->post('name');
$subscription->email = $this->input->post('email');
$subscription->password = password_hash($this->input->post('password'), PASSWORD_DEFAULT);
$subscription->save();
// return a success response
echo json_encode(['message' => 'Subscription created successfully']);
}
}
}
Step 5: Test the Subscription Form
To test the subscription form, open your HTML file in a web browser and fill out the form with valid data. Click the submit button to submit the form. If the form submission is successful, you should see a success message returned from the server-side script.
Conclusion
In this tutorial, we have covered how to use Soudle.js to create a subscription form and manage subscriptions using a Laravel or CodeIgniter admin panel. By following these steps, you can easily integrate a subscription form on your website and manage subscriptions using a server-side script.
Here is a complete settings example for Soudle.js - jQuery Plugin for Subscription Form + Laravel & CodeIgniter Admin Panel:
Initializing Soudle.js
<script>
$(document).ready(function() {
$('#subscribe-form').soudle({
// your settings here
});
});
</script>
API Key and Secret
apiKey: 'your-api-key',
apiSecret: 'your-api-secret'
Server Side Settings
server: {
// set to 'laravel' or 'codeigniter' based on your admin panel
type: 'laravel',
// path to your api route
route: '/subscribe',
// method type for the API request
method: 'post',
// data format expected by the API
dataType: 'json'
}
Form Fields
fields: [
{
name: 'name',
label: 'Name',
required: true
},
{
name: 'email',
label: 'Email',
required: true,
email: true
}
]
Submit Button
submitButton: {
text: 'Subscribe',
disabled: false
}
Success Message
successMessage: 'Thank you for subscribing!'
Error Message
errorMessage: 'An error occurred, please try again.'
Validate Email
validateEmail: true
You can add or remove these settings as per your requirements. Make sure to update the settings according to your server side implementation.
Here are the features of Soudle.js, a jQuery plugin for subscription forms:
1. 5 available layout styles 2. 9 available popup positions 3. 70+ available animations effect (animate.css) 4. 11 callbacks for developers 5. Cross-browser compatibility 6. Fully responsive 7. Animate.css 8. NiceScroll.js 9. Available SCSS version 10. AJAX support 11. Laravel admin panel
- Laravel version 5.4
- AdminLTE template
- SweetAlert
- User authentication
- Datatables in the subscription data table
- Export subscription data to Excel, CSV, PDF and copy the table to HTML5 clipboard
- Subscribers CRUD with AJAX
- Users CRUD with AJAX
- This month's subscription data line graph with Chart.js on the Dashboard page
- 4 info boxes on the Dashboard page 12. CodeIgniter admin panel
- CodeIgniter version 3.1.5
- AdminLTE template (based on Adminify)
- SweetAlert
- User authentication
- Datatables in the subscription data table
- Export subscription data to Excel, CSV, PDF and copy the table to HTML5 clipboard
- Subscribers CRUD with AJAX
- Users CRUD with AJAX
- This month's subscription data line graph with Chart.js on the Dashboard page
- 4 info boxes on the Dashboard page
Requirements:
- jQuery version 1.12 or better
- Latest Animate.css
- Latest NiceScroll.js
Demo:
- Laravel Admin Panel: http://projects.multinity.com/soudle/admin/soudle-laravel/ (Email: demo@admin.com, Password: 123456)
- CodeIgniter Admin Panel: http://projects.multinity.com/soudle/admin/soudle-codeigniter (Email: demo@admin.com, Password: 123456)
$5.00
There are no reviews yet.