šŸ¤© Knowledge is Power šŸ¤©

Learn how to use JScms

We will explain all features, functions, hooks, plugins, editor and how to navigate and modify your content in JScms. How to create pages, plugins, add your own language phrases and use AI to improve your articles if you want.

Functions JScms
faq-preview-img
Function: JScms_remove_files_except

5 min read time

Function: JScms_remove_files_except The JScms_remove_files_except function removes all files from a directory except for index.html. Syntax JScms_remove_files_ex...

Functions JScms
faq-preview-img
Function: JScms_remove_single_File

5 min read time

Function: JScms_remove_single_File The JScms_remove_single_File function deletes a specified file from a given directory. Syntax JScms_remove_single_File(string...

Functions JScms
faq-preview-img
Function: JScms_remove_files_directory

5 min read time

Function: JScms_remove_files_directory The JScms_remove_files_directory function deletes all files and subdirectories within a specified directory and then removes the directory i...

Functions JScms
faq-preview-img
Function: JScms_resize_image

5 min read time

Function: JScms_resize_image The JScms_resize_image function resizes and optionally crops images while maintaining aspect ratio or applying center cropping.

Functions JScms
faq-preview-img
Function: getMaxUploadSize

5 min read time

Function: getMaxUploadSize The getMaxUploadSize function determines the maximum file size allowed for uploads based on server configuration.

Functions JScms
faq-preview-img
Function: convertToBytes

5 min read time

Function: convertToBytes The convertToBytes function converts shorthand notations for memory size (e.g., 8M, 2G) into their equivalent values in bytes.

Functions JScms
faq-preview-img
Function: JScms_upload_preview_image

5 min read time

Function: JScms_upload_preview_image The JScms_upload_preview_image function handles the uploading, validation, and processing of preview images for database entries.

Functions JScms
faq-preview-img
Function: JScms_varname_blocked

5 min read time

Function: JScms_varname_blocked The JScms_varname_blocked function checks whether a given value (such as a variable name or slug) is reserved or already exists in a specified data...

Functions JScms
faq-preview-img
Function: JScms_get_cat_notused

5 min read time

Function: JScms_get_cat_notused The JScms_get_cat_notused function retrieves all categories from the database that are not assigned to any page and do not have an external URL.