Hi, On 29 Nov 2013 at 23:15:11, Ldm Public (ldm...@gmail.com) wrote:
Ok thanks for the answer. I would really appreciated if some admin can kindly save the GA settings page for me on http://tutos.myxwiki.org <http://tutos.myxwiki.org/> to enable GA tracking once for all. I’ve saved the XWikiPreferences page (hope it’s the right page). Does it work now? We really need to make this feature work on a subwiki without requiring Programming Rights... Thanks -Vincent The reason of this request to farm admins is that I have already tried to made custom changes to skin (I wanted to change some vm content following a tutorial) but unfortunatly I didn't managed to make it work ;-(, see my attempt and call for help here: http://dev.xwiki.org/xwiki/bin/view/Community/Forum;jsessionid=0A377BB0F73EBD2EA1906F571BEE5868 best regards, Le 29/11/2013 11:51, Valdis Vi-tolin,s( a écrit : > Workaround for this could be personalized Skin: > http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins > > Leave everything else empty, but for footer add GA code somewhere at the > end of original one (from XWiki 5.2): > > #if($isInServletMode)## Visible only in a page > <div id="footerglobal" class="layoutsection"> > <div class="minwidth"></div> > <hr/> > <div id="xwikilicence">$!copyright</div> > #set ($version = $xwiki.getSpacePreference('version')) > #if ("$!version" == "") > #set ($version = $xwiki.getXWikiPreference("version")) > #end > #if ("$!version" != "") > #set ($version = $xwiki.parseContent($version)) > #else > #set ($version = $!xwiki.version) > #end > <div id="xwikiplatformversion">$version</div> > <hr/> > </div> > > ## Put GA JavaScript here ## > > #end > ### TODO: Format the footer for pdf output > > Or, harder (not sure, what will happen after myxwiki.org update then) > but more appropriate way would be adding htmlfooter property to > XWiki.XWikiSkins class, and similarly changing original code: > > </div>## xwikimaincontainerinner > </div>## xwikimaincontainer > > ## put GA code here ## > > #if($isInServletMode) > </body> > </html> > #else ## Portlet Mode > </div> > #end > > Valdis > >> On 11/27/2013 04:49 PM, xrichard wrote: >>> Hi, >>> >>> One more question before I (may) give up: is there anyone who managed to >>> make Google Analystics works for a Wiki hosted on myxwiki.org ? >>> >>> Thanks for your answers, >>> >> Oh, if this is about enabling GA on myxwiki.org, then the issue is very >> simple: only extensions saved by users with programming rights can be >> used in the whole wiki. A farm admin will have to re-save the GA >> settings page for you. Which wiki are you referring to? _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users