The site's logoZenukers.org semantic opensource cms Xhtml 1.1

Zenukers CMS English Version > Documentation > Tutorial > Update version (Google+1)

  • Tutorial, google +1, cms open source, tutorial, cms, cms tutorial, open source content management, css tutorial in Facebook
  • Tutorial, google +1, cms open source, tutorial, cms, cms tutorial, open source content management, css tutorial in Twitter
  • Tutorial, google +1, cms open source, tutorial, cms, cms tutorial, open source content management, css tutorial in Google Bookmarks
  • Tutorial, google +1, cms open source, tutorial, cms, cms tutorial, open source content management, css tutorial in del.icio.us

Update version (Google+1)

If you have already installed Zenukers, the activation of Google +1 makes it necessary change manually the content.xml.

Users who have already installed Zenukers on their space can update all files except /static and /db folders. The activation of +1 Google button makes it necessary to change manually the content.xml file inside the /db folder. Infact, the introduction of +1 Google button made the number of parameters of the Social block grow, which settings are in this XML file. To adapt the file to the system you can proceed this way.

Warning: to open XML files we suggest to use a simple text editor, like Notepad.Content of content.xml file

1) open the file content.xml, that's in the /db/ folder.

2) locate, in the file, the line of the SOCIALS block. The line should look like this:

<block name="SOCIALS" parameter="1,1,0,0,0"></block>

According to the given settings, the value of the parameters can change (parameter="1,1,0,0,0"). As you can see, parameters were five in the previous version. With the introduction of +1 Google button they became six, so the line will get this structure.

<block name="SOCIALS" parameter="1,1,0,0,0,0"></block>

It means it's necessary to add a new parameter to the list, inserting ",0" at the end of the list.

a portion of content.xml file3) save and upload the file in the /db/ folder

To add +1 Google button in your pages, please go to graphics > html content > and change the Social block.

Dynblock movement

Furthermore, to adequate the system properly, it's necessary to shift the folder /dynblock and all its content from the /public/ folder of the root to the /static/public/ folder. After the movement, you have to delete the /public/ folder of the root. If you made changes to the files of the /dynblock/ folder you can upload your folder inside /static/public/. Anyway, you'll have to delete the /public/ folder of the root in all the cases.

PDF

You might be also interested in...

HTML pages generationHTML pages generation

In this article we wish to explain a peculiar feature of Zenukers Accessible CMS Open Source: HTML pages generation.

We talk about generation, cms open source, tutorial and xhtml w3c

Special Pages functionSpecial Pages function

Special Pages can include some functions to display the contents of the database in different ways.

We talk about customization, tutorial, xhtml w3c and seo