×
ecommercecms.org

How to make your emails go through gmail smtp

No comments

This is a short descriptions how to use gmail smtp to laravel Ecommercecms

0) CREATE A NEW GMAIL ACCOUNT NOT USE YOUR PERSONAL(MEAN DAY BY DAY)

1) Login to your Gmail account using the web browser.

2) Go to https://www.google.com/settings/security/lesssecureapps and Turn On this feature.

3) Go to https://accounts.google.com/DisplayUnlockCaptcha and click Continue (enable applications to access your account).

4) Now try again to send the email from your PHP script. It should work.
5) Check your gmail MAIL, you will get an email like 
confirm that wa you
 
 
7)  Go to your email esttings and enter the data like
 
SMTP Host Address : smtp.gmail.com
SMTP Host Port : 587
E-Mail Encryption Protocol: tls
SMTP user: your gmail account
SMTP password: your gmail account password
 
 
read more

Translate or add new language

No comments

In this post we will talk about translate

If your website is in different language than English, and if you will need to edit some words on website than you will need to go to:

Admin -> General Setting -> Language

After click on pencil next to language you need to change the word(s) and it will show you all the text so in your browser pres CTRL and leter F (CTRL+F) in the same time and copy the word what you need to translate and paste in the botom field and press enter it will take you to the field in the left side will be in English in the Right side will be in Language what you selected so edit there and press the button save :)

read more

Language

No comments

Cms support any language,  for many language is not 100% translate so you have to translate it by your self.

Also Support multiple language to change or add a new language to website you need to go to

General settings->Language , and after you can use the short code [language] and add to the top bar of your website

and it will show the lang icon where you can click and change the language of your website

 

read more

Short Code

No comments

Watcms Short Code. A shortcode is small code, what you can add it in any part of your page, and in that part it will show something.  Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.

If you want to use in your code it mean in blade or model or controler use this  {!!@shortCode('[anyshortcode]')!!}

read more

WatCMS Helpers

No comments

Helpers are a quck functions what you can use anywhere in your theme or module it may be caled like function_name($params). Many of helpers you can find in Laravel Documentations.  There is two tipe of helpers simple methods and OOP hepers 

read more

Add - Edit products

No comments

There is 3 types of products you can sell

1) Simple products - Go to Add new Product and fill the boxes

read more

How to install WatCMS

No comments

Installation is easy process and it will not take long. Follow the steps below.

1) Download the zip file WatCMS.zip

2) Get a hosting, 90% of the hosting have Cpanel.

3) Open Cpanel www.yourwensite.com/cpanel

4) Press on File Manager

 

5) On the left side you will see the foldors structure, find the folder public_html and press on it, after press on the top the button Upload

6) Select the zip file WatCMS.zip and wait untill the download is 100%

7)  Go back to File Manager and refresh the page, after on the list click right click on file WatCMS.zip and select Extract. Wait untill the extract is done.

8) Access the link www.yourwebsite.com/public/check.php to check if your hosting meet all the requrements for the WatCMS, if all ok you should see all the points green

8.1) If you see an error like bellow folow the steps on point 8.2, if all ok skip to point 9

8.2) Go to Cpane and aceess MultiPHP Manager( if you not find the MultiPHP Manager, ask your hosting support where you can chenge the version of PHP to 7.2 minim, or ask them to do this :) )

8.3) Find the website name in the list, and check the checkox next to website; Select from dropdown the last version of php in my case is PHP 7.2; And press the button Apply and check again if the error disappear. Now should be all right.

9) Go to your website home page www.yourwebsite.com/ you should redirect to www.yourwebsite.com/install where you should enter your database name, database username, database password

10) How to create a database, Go to CPanel and access MysqlDatabases

10) After find a sections "Create New Database" and enter your database name, any name

11) On the same page page find Add new User Sections and add new user, keep the user name and password

12) On the next page Check all the boxess

13) Link the user with database On the same page find the sections Add user to database

 

14) Go to instalation page and  ente your details and press next

15) Next page create an Admin User

16 ) All done!!!

 
read more