Difference between revisions of "DPL talk:Websites using DPL"

From FollowTheScore
Jump to: navigation, search
(DPL does not work)
(link to [Issue:Simply_does_not_work]])
Line 45: Line 45:
 
* write <nowiki>{{#dpl:x=y}}</nowiki>. And now?
 
* write <nowiki>{{#dpl:x=y}}</nowiki>. And now?
 
[[User:Gero|Gero]] 19:53, 16 October 2007 (CEST)
 
[[User:Gero|Gero]] 19:53, 16 October 2007 (CEST)
 +
: See my post on [[Issue:Simply_does_not_work]], DPL must not be installed, it is not showing up in the [http://www.usnb.it/wiki/index.php?title=Speciale:Versione Special:Version] --[[User:Zven|Zven]] 02:16, 17 October 2007 (CEST)

Revision as of 01:16, 17 October 2007

DPL does not work

I just installed DPL on my wiki:

I added to LocalSettings.ini

require_once( "extensions/DynamicPageList/DynamicPageList2.php" );

I do not need $IP at the beginning. I have it in the path.

Then I loaded the extension files:

DynamicPageList2.i18n.php DynamicPageList2.php DynamicPageList2Include.php

and I placed in a page

<dpl> category=Maps namespace=Image mode=userformat listseparators=<gallery>,%PAGE%\n,,</gallery> </dpl>

the result is

<dpl> category=Maps namespace=Image mode=userformat listseparators= ,%PAGE%\n,, </dpl>


Your query is o.k. The files you installed are the minimum but most of the functionality works with these three files.

  • Did you take the latest files from the ZIP archive?
  • Change the require_once statement and let it point to a non-existing file. Do you get an error message?
  • Put an invalid php statement at the beginning of DynamicPageList2.php. Do you get an error message?
  • write <dpl>x=y</dpl>. Do you see an error?
  • write {{#dpl:x=y}}. And now?

Gero 19:53, 16 October 2007 (CEST)

See my post on Issue:Simply_does_not_work, DPL must not be installed, it is not showing up in the Special:Version --Zven 02:16, 17 October 2007 (CEST)