function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

add few elements to home page

Hello,

I have a requirement to add few texts on home page
Is there any solution so that a users can add few elements on an object and I could add it to homepage, please
 
Best Answer chosen by Ab
MartinezMartinez
Hy! Sandrine
Yes, there are several solutions to allow users to add elements to a homepage. One common approach is to provide a content management system (CMS) that enables users to easily create and edit content on their websites. A CMS typically has a user-friendly interface where users can add, modify, and delete various types of elements on their homepage.
Here are the general steps to implement a solution that allows users to add elements to a homepage:
Choose a CMS platform: There are many CMS platforms available, such as WordPress, Drupal, or Joomla. Select a CMS platform that suits your requirements and technical expertise.
1) Install and configure the CMS: Follow the installation instructions for the chosen CMS platform. Set up the necessary configurations, such as database connection and basic website settings.
2) Design the homepage template: Create a visually appealing and functional homepage template using HTML, CSS, and possibly JavaScript. This template will serve as the base structure for the homepage.
3) Create editable regions: Identify the sections or areas of the homepage where users should be able to add elements. These areas are usually defined as editable regions within the CMS.
4) Set up user roles and permissions: Define user roles within the CMS, such as administrators or content editors. Assign appropriate permissions to each role to control who can add elements to the homepage.
5) Build content entry forms: Create user-friendly forms within the CMS that allow users to input the content for the elements they want to add. These forms should match the design and functionality of the homepage template.
6) Implement data storage and retrieval: Set up the CMS to store the entered content in a database or file system. Configure the CMS to retrieve and display the stored content in the designated editable regions on the homepage.
7) Test and refine: Thoroughly test the CMS functionality to ensure that users can add, edit, and delete elements on the homepage as intended. Make any necessary refinements to improve the user experience.
8) Train users: Provide training or documentation to users on how to access the CMS, navigate the interface, and add elements to the homepage. Offer ongoing support to address any questions or issues that may arise.
By following these steps, you can create a solution that empowers users to add elements to the homepage without requiring technical expertise or assistance. The CMS will serve as the bridge between the user's input and the displayed content on the homepage, providing a user-friendly and efficient way to manage the website's content.

All Answers

VinayVinay (Salesforce Developers) 
Hi Sandrine,

You can display the message in home page by adding 'Rich Text' standard component to Home Page. 

Below are the steps.
  • Click 'Home' tab in Lightning. 
  • Click 'Set up' --> Edit page
  • Drag and Drop 'Rich Text' from Standard components list. Add your message in Rich Text component. 
  • Save
Please mark as Best Answer if above information was helpful.

Thanks,
AbAb

Hello,

This is useful but it remains static, do you know any solution, if we want to add it dynamically, like user would like a manager role or profil will want to modify it easily

VinayVinay (Salesforce Developers) 
Hi Sandrine,

I haven't found any solution to add dynamically and I dont think we can add message dynamically unless you have custom component.

Thanks,
MartinezMartinez
Hy! Sandrine
Yes, there are several solutions to allow users to add elements to a homepage. One common approach is to provide a content management system (CMS) that enables users to easily create and edit content on their websites. A CMS typically has a user-friendly interface where users can add, modify, and delete various types of elements on their homepage.
Here are the general steps to implement a solution that allows users to add elements to a homepage:
Choose a CMS platform: There are many CMS platforms available, such as WordPress, Drupal, or Joomla. Select a CMS platform that suits your requirements and technical expertise.
1) Install and configure the CMS: Follow the installation instructions for the chosen CMS platform. Set up the necessary configurations, such as database connection and basic website settings.
2) Design the homepage template: Create a visually appealing and functional homepage template using HTML, CSS, and possibly JavaScript. This template will serve as the base structure for the homepage.
3) Create editable regions: Identify the sections or areas of the homepage where users should be able to add elements. These areas are usually defined as editable regions within the CMS.
4) Set up user roles and permissions: Define user roles within the CMS, such as administrators or content editors. Assign appropriate permissions to each role to control who can add elements to the homepage.
5) Build content entry forms: Create user-friendly forms within the CMS that allow users to input the content for the elements they want to add. These forms should match the design and functionality of the homepage template.
6) Implement data storage and retrieval: Set up the CMS to store the entered content in a database or file system. Configure the CMS to retrieve and display the stored content in the designated editable regions on the homepage.
7) Test and refine: Thoroughly test the CMS functionality to ensure that users can add, edit, and delete elements on the homepage as intended. Make any necessary refinements to improve the user experience.
8) Train users: Provide training or documentation to users on how to access the CMS, navigate the interface, and add elements to the homepage. Offer ongoing support to address any questions or issues that may arise.
By following these steps, you can create a solution that empowers users to add elements to the homepage without requiring technical expertise or assistance. The CMS will serve as the bridge between the user's input and the displayed content on the homepage, providing a user-friendly and efficient way to manage the website's content.
This was selected as the best answer