ページへ戻る

− Links

 印刷 

About (en) ​/ Acerca de (es) のバックアップソース(No.6) :: XOOPS マニア

UsersWiki:la9una のバックアップソース(No.6)

« Prev[5]  Next »[6]
*About (en) / Acerca de (es) [#l1a475aa]

**Description (en) [#hf9ef321]
xpwiki is a great module for xoops. This page looks for to collect data about this module for the english speakers, to aim to own a base of advice to optimize its yield.

** Descripción (es) [#e2e6635a]
xpwiki es un gran módulo para xoops. Esta página intenta recolectar información sobre este módulo, para los hispanohablantes, a fin de obtener una base de consejos para optimizar su rendimiento.

* FAQ's (en) [#faa05a96]
- How to embed AjaxChat into xpwiki?
-- Plugin is necessary for it, but does not yet write it. - nao-pon

- How to fix the TOC (table of contents) to work in Internet Explorer correctly?
-- If you use XOOPS Standard distribution or ImpressCMS, you are probable that she has problem. In order to solve it, please open the file "'''root\include\xoops.js'''" (arround line 3 and 18), and realises the following modifications :

''Before''

  if ( typeof window.$ != 'function' ) {
 function $() {
  var elements = new Array();

  for (var i = 0; i < arguments.length; i++) {
    var element = arguments[i];
    if (typeof element == 'string')
      element = document.getElementById(element);

    if (arguments.length == 1)
      return element;

    elements.push(element);
  }

  return elements;
 }
 }

''After''

 if ( typeof window.$ != 'function' ) {
 var $ = function () {
  var elements = new Array();

  for (var i = 0; i < arguments.length; i++) {
    var element = arguments[i];
    if (typeof element == 'string')
      element = document.getElementById(element);

    if (arguments.length == 1)
      return element;

    elements.push(element);
  }

  return elements;
 };
 }

Referencia: "[[xoops.js [Correction of xoops.js] - xpwiki : ImpressCMS:http://impress.hypweb.net/modules/xpwiki/?xoops.js]]". - nao-pon

* Preguntas frecuentes (es) [#o1475cee]
- Como agregar AjaxChat al modulo xpwiki?
-- Es necesario un plugin, aunque aún no lo he desarrollado - nao-pon

- Como corregir el error en la TOC (tabla de contenidos) para que funcione correctamente con Internet Explorer?
-- Si usted utiliza la distribución standart de XOOPS o ImpressCMS, es probable que tenga este problema. Para solucionarlo, por favor revise el archivo "'''raíz del sitio&#92;include&#92;xoops.js'''" (aproximadamente, líneas 3 y 18) y realice las siguientes modificaciones:


''Antes''

  if ( typeof window.$ != 'function' ) {
 function $() {
  var elements = new Array();

  for (var i = 0; i < arguments.length; i++) {
    var element = arguments[i];
    if (typeof element == 'string')
      element = document.getElementById(element);

    if (arguments.length == 1)
      return element;

    elements.push(element);
  }

  return elements;
 }
 }

''Después''

 if ( typeof window.$ != 'function' ) {
 var $ = function () {
  var elements = new Array();

  for (var i = 0; i < arguments.length; i++) {
    var element = arguments[i];
    if (typeof element == 'string')
      element = document.getElementById(element);

    if (arguments.length == 1)
      return element;

    elements.push(element);
  }

  return elements;
 };
 }


Referencia: "[[xoops.js [Correction of xoops.js] - xpwiki : ImpressCMS:http://impress.hypweb.net/modules/xpwiki/?xoops.js]]". - nao-pon


« Prev[5]  Next »[6]