• Modifications and customization, customization, cms open source, tutorial, make a website, help online, cms, cms tutorial in Facebook
  • Modifications and customization, customization, cms open source, tutorial, make a website, help online, cms, cms tutorial in Twitter
  • Modifications and customization, customization, cms open source, tutorial, make a website, help online, cms, cms tutorial in Google Bookmarks
  • Modifications and customization, customization, cms open source, tutorial, make a website, help online, cms, cms tutorial in del.icio.us

custom-inc.asp

The custom-inc.asp allows some personalizations of the CMS functions without weaken the retro-compatibility of the system.

custom-inc.asp selected for editingThis file is inside the folder named /includes; it allows to personalize the functions which have been made available inside the CMS thanks to an easy procedure.

All is based on the priority of inclusion of the files of which the ASP language is focused on. That is, if two functions have the same name, ASP will consider only the written function or, in this case, later included. For this reason the custom-inc is included inside the clearitall-inc.asp, which is actually the last file to be included in each page.

Let’s see how this system works by making an example. Let’s hypothesize that inside CMS is present the following function:

Function Operazione(numero1,numero2)

            Operazione  =  numero1 + numero2

End Function

If we wanted to customize this function, having the subtraction between these two numbers, instead of the addition, it’s enough to copy this function from the CMS file in which it lays and paste it in the file custom-inc which is present in the /includes folder, and modify it this way:

Function Operazione(numero1,numero2)

            Operazione  =  numero1 - numero2

End Function

This way, the ASP engine could include both the functions, as they have the same name; as the customized function is included, anyway, at the end this would have the prevalence on the one included first.

So, if we would intend to print as video the result of this operation through the line of command:

Response.Write Operazione(7,2)

we would not get 9 (the addition), but 5 (the subtraction).

Personalizing the functions this way, instead of acting directly on the general code of the site, it’s possible to maintain the absolute compatibility with the following releases of Zenukers.

PDF

PersonalizationsPersonalizations

To understand the chances of personalizaton and the functioning of the tools, we show thereafter the structure of the pages.

Preliminary remarksPreliminary remarks

The explanation of the interface of control of CMS Zenukers with the tools for the setting and the management of the site.

Created with Zenukers

Alessandro di CamporealeAlessandro di Camporeale