Themes

Choose themes

CMS Full Form provides several default themes, allowing users to select and apply them to their website. These themes are designed to meet various needs, from simple blogs and corporate websites to more complex eCommerce sites.

Steps to choose a theme:

  1. Access the Theme Management Section: In the Admin Panel, go to Settings and select Theme Settings.

  2. Choose Your Desired Theme : In the Theme section under settings, you will see a list of available themes. Simply select the one you want to apply to your website.

  3. Apply the Theme: After choosing the themes, click Save to apply the theme to your website. The website's interface will instantly change according to the selected theme.


Customize Theme

Once you have chosen a theme, you can customize it to suit your personal needs and preferences. CMS Full Form allows you to modify various elements of the theme, such as colors, fonts, layouts, and other UI components.

Steps to customize the theme:

  1. Edit Layout: You can change the website's layout, including areas like the header, footer, sidebar, and other sections of the page. Modifying the layout helps you create a website that suits your purpose and provides easy navigation for users.

  2. Customize Colors and Fonts: Theme Settings allows you to adjust the colors, including background, text, and link colors. You can also change the font used for various elements on the site to create a unique style.

  3. Modify Menus: You can customize the main and secondary menus on the website, including adding new links, rearranging them, or removing unnecessary items. This helps users navigate the website more easily.

  4. Set Logo and Favicon: The Logo and Favicon are key elements in brand recognition. You can upload your logo and favicon to give the website a professional and cohesive look.

  5. Customize Blocks: CMS Full Form supports blocks to display elements like recent posts, categories, or contact information. You can customize the blocks to highlight content you want to emphasize on your website.


Create New Theme

In addition to choosing from existing themes, CMS Full Form also allows you to create and upload your custom themes. This gives you full flexibility to design the look and feel of your website exactly how you want it. Here's how you can upload and apply your own theme:

Step 1: Prepare Your Theme File

  • Packaging: Your theme must be packaged as a .zip file.

  • Required Structure: Make sure your .zip file includes all the necessary files such as style.css (which contains metadata like the theme name, version, etc.) and index.php, along with any other related files. Missing any crucial file might cause the theme to malfunction.

Step 2: Access the Upload Theme Section

  • Log in to your Admin Control Panel.

  • Navigate to the Themes section and select “Upload Theme.” It’s as straightforward as installing a new plugin.

Step 3: Upload the Theme File

  • Click “Choose file” and select your .zip file.

  • Then click “Upload” to send the file to the system.

Step 4: Verification and Installation

  • The system will automatically unzip the file and check its structure. If everything is in order, the theme will be saved in the themes folder.

  • If there’s an error (like a missing style.css or incorrect structure), the system will display a clear error message so you know exactly what to fix. You can explore errors at next section.

Step 5: Activate the Theme

  • Once the upload is successful, your new theme will appear in the themes list.

  • Click “Preview” to see it in action.

  • If you’re satisfied, hit “Activate” to make it live on your website.\


Common Theme Upload Errors

Theme Name Not Updated in Config.php: Failing to update the theme name in the Config.php file can prevent the system from correctly identifying your custom theme. This may lead to issues when trying to load or activate the theme.

Corrupted or Invalid .zip File: If your .zip file is damaged or not formatted properly as an archive, the system will fail to extract and process it, resulting in an error.

File Permission Issues: The server may not have the right permissions to write or extract files into the themes directory. This can halt the installation process and display a permission error.

Incompatible PHP or CMS Version: Your theme might rely on code or functions that aren’t supported by the current version of CMS Full Form or the PHP version running on your server, leading to compatibility issues.

Missing Dependent Files or Assets: If your theme depends on additional assets (like JavaScript files, images, or fonts) that are missing from the package, it could cause functionality or display errors once activated.

Unsupported File Format: CMS Full Form only supports .zip files for theme uploads. Trying to upload a file in another format (like .rar or .tar) will trigger an error.

Incorrect View Folder Structure: If the views folder's structure doesn't match the required hierarchy, the system won't be able to import the theme components properly. This misalignment can lead to errors when rendering pages, so make sure to follow the documented folder structure exactly. View more at Application Structure.

Mismatch in Parameters and Variables Structure: Ensure that the structure of parameters and variables between the default theme and your uploaded theme is fully synchronized. Any discrepancies can lead to unexpected behavior or errors, as the system might expect specific settings or variables from the default theme that are missing or altered in your custom theme. Always cross-check your theme’s configuration with the default setup to maintain consistency.

Last updated

Was this helpful?