developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
36
results
Andrew Fletcher
•
For an introduction into setting up RESTful hal+json refer to the set-up documentation.
GET a node
To get the content of the specific node you require the node.nid. The key information required in the GET query:
URL - your-site.com/node/<nid>?_format=hal_json;
Content-Type - application/hal+json;
Nod.nid - noted in the URL string as <nid>.
Example using a node.nid of one (1). So the nid in the URL is <nid> =...
Andrew Fletcher
•
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
•
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
•
To POST an image is similar to the other posts mentioned on this site....
Andrew Fletcher
•
For an introduction to setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
•
The user API, was originally created under the General Documenation area (see Query - user). I'm creating a new user API document under the API documentation area.
Calling a query
To call a user query the details are required:
User uid;
Authentication credentials
The query string is: {domain}/user/{uid}?_format=hal_json
See the notes on set up, for the staging and production URLs. Using the current staging URL in the set up screen, as example of...
Andrew Fletcher
•
The development version of the app database is held on the staging site....
Andrew Fletcher
•
The user parameters provides details about a specific user based...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
•
Setting up the mail configuration in October CMS is a quick progress. Depending on which mail method you use there are up to eight fields to complete:
Sender name;
Sender email;
Mail method: (PHP mail, Sendmail, SMTP, etc...). I elected to go with SMTP;
SMTP address - such as smtp.your-domain.com or mail.your-domain.com;
SMTP port - 587;
SMTP encryption protocol - TLS or SSL;
Authorization required - boolean response;
Username - email account; and
Password -...
Andrew Fletcher
•
Common commands
Themes and plugins have similar command lines. So rather...
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
•
Using October CMS to migrate your site and update the tables with the plugins...