Difference between revisions of "DPL talk:Websites using DPL"
From FollowTheScore
Dejudicibus (talk | contribs) (New page: == 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 beginn...) |
(→DPL does not work) |
||
Line 36: | Line 36: | ||
</dpl></nowiki> | </dpl></nowiki> | ||
+ | |||
+ | ---- | ||
+ | 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 [[Download|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 <nowiki><dpl>x=y</dpl></nowiki>. Do you see an error? | ||
+ | * write <nowiki>{{#dpl:x=y}}</nowiki>. And now? | ||
+ | [[User:Gero|Gero]] 19:53, 16 October 2007 (CEST) |
Revision as of 18:53, 16 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)