Most Powerful Open Source ERP

How To Manage Web Content

How To showing the basic of managing content on a web site.
  • Last Update:2017-06-15
  • Version:003
  • Language:en

Here are the different questions that have been asked frequently about the Web content management.

Table of Contents

Web Content Management

Web site management requires to have to have permission to modify web content.

Web site menu

How can I add a new entry in the web site menu ?

The menu is build using the web sections structure. To add a web section, do as follow : go on the root of the web site (you can do it by clicking on the web site logo on the top right of each page). In the admin toolbar, select Edit→Edit Parent Web Site. Once the page of web site edition is loaded, click on Web Site Action→add Web Section. Now your new web section is added. The id of this new web section is used to generate url (when a user will go on this web section, this will add this id to the url bar). Title is the string that will appear in the menu. If you want this new web section to be visible in the menu, you have to check the box Visible. Use Save & View button to save your change : you new entry is added. In most of the web sites configuration, you have to wait for one hour for this entry to be visible (the menu is cached and cache is recalculated every hours).

Can I have a sub entry in an menu entry ?

Yes, this is a sub section inside a sub section. To do it, on the menu, click on the entry you want to add a sub entry. Once the page is loaded, click on Edit →Edit Parent Web Section and after, choose Web Site Action→add Web Section. To have this sub entry visible in the menu, you have to check the box Visible and the parent should have the box "Include Subsections in Site Map" checked.

How can I translate an entry in the menu ?

The menu is build using web section titles. To translate a web section title, click in the menu on the web section you want to translate. Then, on the admin toolbar click on Edit →Edit Parent Web Section and go ont the Translation tab. All available language are display in columns, you can enter the translation in the white boxes. If no translation is made, the default language will be used instead.

Web site look

How can I change the top logo of the web site ?

Edit the web site : go on the root of the web site (you can do it by clicking on the web site logo on the top right of each page), in the admin toolbar, select Edit→Edit Parent Web Site. Then click on the tab "Layout Configuration". On this tab you should have many properties, if you find one about the header background image, it's this one you should modify. You have to enter the new reference of the new background image you want to use. This should be a reference of a published image. You should take care about the size of the new image to not broke all the web site design with an image size very different from the original.

How can I change the footer ?

Edit the web site : go on the root of the web site (you can do it by clicking on the web site logo on the top right of each page). In the admin toolbar, select Edit→Edit Parent Web Site. Then, click on the tab "Layout Configuration". If the web site permit to change the footer (depends on the web site configuration, some web site don't permit this), you should have a property about this like "Footer Reference" or something like this. You should replace it with the reference of a published web page.

Including images

How can I add an image in a web page ?

When you edit a web page using the online editor, there is a button "Insert/Edit Image" (the button look like a yellow landscape). When you click on it, a popup "Image Properties" will appear. On this popup, click on the button "Browse Server", this will open a new window with a list of images you can insert in your web page (it's all published image from image module) select one and choose OK on Image Properties popup : your image is inserted in the web page.

How to add an image that is not in image module ?

You should first add the image in the image module to be able to insert it in the web page. To do this, in the admin tool bar, click on Module→Images. Then click on Web Page Module Actions→Add Image and fill properties (don't forget to set proper categories in Publication Information section). When it's finished, publish your image to make it accessible. Once your image has been added in image module, you can do the "How can I add an image in a web page ?" step.

Images in my web pages are very big, how can I reduce the size, and the weight ?

Images are stored in ERP5 in their best quality, so each time you want to use an image, if you precise nothing, the original quality image will be used. ERP5 is able to convert image in many sizes so your image can be smaller and - more important - lighter, so your web pages will be faster to download. To do this, follow the step How can I add an image in a web page ? and at the end, don't click on OK on Image Properties popup, but modify the URL to add "?display=XXX". Replace XXX by one of the following values :

Name :
nano micro thumbnail xsmall small medium large xlarge
Default Preference Size (px): 25 64 128 200 320 480 768 1024

So add an image of 200px large, in the URL property, you should have "my_picture_reference?display=xsmall" where my_picture reference is the reference of the picture you choose. When the URL is written, you can delete width and height, this will give you an image of 200px (you can set some width and height if you wan smaller). Then click on OK of the Image Property popup to add the image to your web page.

Web Pages

How can I translate a web page

Go on the web page you want to translate and click on Clone Web Page from the admin toolbar. In the small popup that appear, change the language to the one you want to translate, eventually, change the title to use the translated title, and then click on "Clone & Edit" button. This will create exactly the same page but with a different language and title, after that, you just have to go on the Edit tab and change the content to the translated one. When this is done, don't forget to publish this new page. You can trying your new translation by going on the page through the web site en change the language : the web page content should change also.

Related Articles