Adding Image Upload feature in GrapesJS editor

Author - Umang Pasricha
|
2 Comments
|

In GrapesJS, there is an ‘image’ block which we can drag and drop on the canvas but it only allows us to specify URL of the image to add to Asset Manager. Then we can embed that image in the document from Asset Manager by double-clicking. What if we Read more…

Preserving checkbox state in Jquery datatable with pagination

Author - Pawandeep Kaur
|
0 Comments
|

Problem:Let us assume you have many records in Jquery data table with multiple pages. You have rows with checkboxes. Now, If you want to select checkboxes from different pages of the data table and submit the page it will only provide us selected checkboxes of the currently displayed Read more…

Skip a default page in Moodle without altering core code

Author - Webner
|
0 Comments
|

How to skip any page in moodle without altering core code of moodle?

In Moodle we were having a requirement where we want to skip some default moodle pages.

It is very easy if we make changes in core code. But as it is not advised to make Read more…

Salesforce Sandbox – introduction, uses and limitations

Author - Sahil Bhalla
|
0 Comments
|

Salesforce Sandbox is intended for coding and testing by a single developer. This is an environment in which currently ongoing changes can be done until they’re ready to be deployed in live.

There are several different types of sandboxes available:

1. Developer Sandbox:
Developer sandbox Read more…

AWS S3 | How to get the count of files in a folder in AWS S3

Author - Kiran Preet
|
0 Comments
|

There was a task in which we were required to get each folder name with count of files it contains from an AWS S3 bucket. If we used the general approach to start a counter and increment that in a foreach loop we were getting the exact count of files Read more…

Alter AWS S3 file permissions using S3 cmd

Author - Navneet Kashyap

How to alter permissions of all files or files with a specific extension via s3 command line client tool (Linux)?

S3 command line tool (S3 cmd) allows us to alter permissions of files and files with specific extensions inside S3 bucket recursively.  Below are the steps Read more…

JqueryUI | Unable to drag elements to the front

Author - Harpal Singh
|
0 Comments
|

Problem: When we add draggable elements dynamically or even statically elements created subsequently will have higher z-index than the elements created before these elements which cause the problem of overlapping on dragging the image. When we drag element with lower z-index it will be behind the Read more…

Open Send Email form on Custom Button click in Salesforce

Author - Anjana Devi
|
0 Comments
|

In Salesforce, how to open standard ‘send email page’ by clicking a custom button located on Detail Page of a custom/standard Object?

Steps to open an Email Page from Custom Button:
1. Add a custom button first. Go to Custom Object settings, Then Click New button and link.
2 Read more…

SCEA 5 – My 2 cents

Author - Webner
|
0 Comments
|

Recently became SUN certified Enterprise Architect after clearing all 3 parts of SCEA. It is hard to get answers to all questions one may have regarding SCEA but SCEA forum on javaranch.com is great!! I have shared my experience here for each part to help SCEA seekers.

Part 1 Read more…

Read Word document using Apache POI (Java)

Author - Sahil Bhalla
|
0 Comments
|

Read Word document using Apache POI (Java) :

To read any document (.doc or .docx) or excel document in java, there are several libraries but Apache POI is pretty good. Using this library we can read word documents line by line.

Required Jar files:

Poi.jar
Poi Read more…

Create animated hover effect without Using jqueryUI

Author - Kuldeep Singh
|
0 Comments
|

We can add animated hover effect using css and html also. See example below:

 Create simple html code like this:

<div class=”co-sm-12 blog-categories”>
<h4>Categories</h4>
<ul>
<li><a href=”#”&gt Read more…

Move elements between Multi-select lists in Jquery

Author - Ishpreet Kaur
|
0 Comments
|

There are a lot of jQuery plugins available on the internet to perform operations on Two Multi-select lists including moving elements between these lists (left to right or right to left). These plugins have the capability of advanced operations also (like search filters) and accordingly their code files become Read more…

Client Side dependency management with Bower

Author - Rita Sharma
|
0 Comments
|

Build tools like maven, ant etc are used to download project’s dependent jar libraries required in web application development environment. But what about client-side dependencies like jquery, bootstrap, fonts, css, angular js etc. They are front-end dependencies which we have to download manually before using in projects Read more…

Mysql access denied error for user root@localhost in XAMPP

Author - Navneet Kashyap

Problem: Mysql access denied error for user root@localhost when using in XAMPP server (windows) even when credentials are correct.

Solution: Actually the problem is not in code, the issue is that by-default mysql in xampp allowed passwordless authentication in mysql, so we have to Read more…

GrapeJS | Not working in Safari and local storage problem

Author - Umang Pasricha

How to resolve following GrapesJS editor issues:

1. GrapesJS not working in Safari web browser
2. Local Storage exceeding issue

GrapesJS not working on Safari web browser:

When the editor is opened in Safari, we see nothing only a blank page with this error in console Read more…

In Laravel how to redirect to 404 page on accessing post route

Author - Dalbir Kaur

In Laravel, when a user directly accesses a post route then an exception page is shown. How to show a 404 page instead?

To fix this issue :

Firstly, you need to create an error page in view folder of your project like 404.blade.php and Read more…

Short introduction to google analytics

Author - Gopi Chand

Google Analytics: Google Analytics is a free Web analytics service offered by google that tracks and reports website traffic. The service is available to anyone with a Google account.

Why every website owner needs Google Analytics: These are some statistics that you can collect with Google Read more…

CakePhp 3.x | Send Email using SMTP

Author - Parminder Kaur
|
1 Comment
|

To send an email in cakephp use Email class of Cakephp 3. In app.php under config folder, add a new entry in the table EmailTransport.

For example here ‘mail’. Specify host, port, username and password in it:
‘EmailTransport’ => [
‘default’ => [
‘className’ => ‘Mail’,
// The following keys are used Read more…

PHP | Show star rating (empty or filled stars)

Author - Komal Dhiman
|
0 Comments
|

Sometimes situation arises when we have to show the ratings on our site like user rating of all the products available on our site. Then we have to first get the rating from where we have it like sometimes it may be from the third party etc. Once we have Read more…

Few key points for good SEO revisited

Author - Sukhpreet Singh

There are number of things that you should follow to improve SEO for your web pages and site ranking, some of which are listed below for a sample webpage that covers Tutorial for Javascript:

1. Make a separate page which includes the searched keyword. In our case “Tutorial for javascript Read more…

‹ Prev page1 ... 9 10 11 12 13 14 15 16 17 18 19 ... 51 Next page ›