Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 02:28:27 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
149621
Posts in
21098
Topics by
7537
Members
Latest Member:
lotte2
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
DirList Module
Pages:
1
[
2
]
3
Go Down
Author
Topic: DirList Module (Read 19973 times)
escpro
Offline
Posts: 650
Re: DirList Module
«
Reply #25 on:
November 08, 2007, 04:02:01 PM »
Hello
a user send me this module with please to fixed.
I find some "errors":
Gramatic_Language DE and EN sufffix with 3 fff
The Files opening in _blank (new page)
Downloading here
ESCPRO
«
Last Edit: November 08, 2007, 06:07:45 PM by escpro
»
Logged
escpro on facebook
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #26 on:
November 08, 2007, 06:09:42 PM »
Hello ESCPRO,
thank you for the hints. I have corrected the language files and added a switch in backend to select
target="_blank"
- you may download the updated DirList v0.16 from my
homepage
or from the
addons repository
.
It will be more easy for me and other programmers if you would appoint the positions of the errors, i.e
DE.php, line 39
.
Thank you for your help!
Regards
Ralf
«
Last Edit: November 08, 2007, 06:45:11 PM by Ralf (Berlin)
»
Logged
escpro
Offline
Posts: 650
Re: DirList Module
«
Reply #27 on:
November 08, 2007, 06:30:50 PM »
Nice
«
Last Edit: November 08, 2007, 06:38:03 PM by escpro
»
Logged
escpro on facebook
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #28 on:
November 15, 2007, 09:22:56 AM »
at
addons repository
you will find DirList v0.17.
added:
italian language file IT.php - many thanks to
Antonello
for the translation
Regards
Ralf
Logged
blickwinkel
Offline
Posts: 44
Re: DirList Module
«
Reply #29 on:
February 20, 2008, 11:39:33 PM »
Hallo,
i have tried dirlist, and thank you for that modul. but version 0.17 don't work, if i want two dirlists at the same page. in dirlist 0.15 it works fine.
error:
Code:
Fatal error: Cannot redeclare class_loaded() (previously declared in /www/htdocs/w008a0b7/wb/modules/dirlist/view.php:44) in /www/htdocs/w008a0b7/wb/modules/dirlist/view.php on line 44
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #30 on:
February 21, 2008, 04:04:41 AM »
Hello,
this problem is fixed, please download the actual DirList 0.18 from my
homepage
.
Regards
Ralf
Logged
tomhung
Offline
Posts: 353
Re: DirList Module
«
Reply #31 on:
February 21, 2008, 04:57:02 PM »
any chance of making this recursive? ie. include subdirectories...
G
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #32 on:
February 21, 2008, 05:46:44 PM »
Hello Tom,
the recursive feature will coming soon with one of the next releases...
Regards
Ralf
Logged
blickwinkel
Offline
Posts: 44
Re: DirList Module
«
Reply #33 on:
March 23, 2008, 03:30:13 PM »
hello,
as tomhung said: it would be great to include subdirectories. i tried this:
in class.dirlist.php in function "getMediaFiles()" on line 411 i changed
Code:
$fl = $this->searchdir($path, 0, "FILES");
to
Code:
$fl = $this->searchdir($path, -1, "FILES");
, so the maxdepth will be unlimited.
Now all files of subdirectories appear. But with the wrong path (the subdirectory is not included in the path), so you can't download them. I think the only changes needed are in searchdir. But unfortunatly i don't see the error.....
Does anyone have a hint?
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #34 on:
March 23, 2008, 04:19:20 PM »
Hi,
DirList is progammed to view just one directory.
Don't change getMediaFiles() - this function read the files of the specified path to an array, that's all.
If you try to make DirList working recursivly take a look to the function dlgView(). Starting at line 617 you may call getMediaFiles() additionally for each subdirectory - processing the array and then call the next subdirectory a.s.o. ...
At least it is complicated because DirList was never planned for working recursivly. Therefore I thaught it's still better
to rewrite the whole module. So, it will come with one of the next versions... (problem is time not code).
Regards
Ralf
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #35 on:
April 04, 2008, 04:21:39 AM »
Hello,
I've just released DirList v0.19 which fixes some problems:
* fixed: class.mimetypes.php returns wrong icon for application/msword.
* fixed: problem getting Media Directories with apache at windows pc (many thanks to Robert Schreiner for solution).
* fixed: empty $_REQUEST's causes error messages in backend.
you may download from
Addons Repository
.
Regards
Ralf
Logged
gucci
Offline
Posts: 46
Re: DirList Module
«
Reply #36 on:
April 11, 2008, 05:31:57 PM »
Hallo Ralf,
I installed DirList v0.19 on my server (wb 2.6.7) and the following error occurred when I created a new page with DirList:
Code:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hb/ab/ab/kt/www/test/modules/dirlist/class.tparser.php on line 21
v.018 works fine!
Regards
gucci
«
Last Edit: October 23, 2008, 08:02:01 AM by gucci
»
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #37 on:
April 11, 2008, 06:50:07 PM »
Hello Markus,
Sorry, this is an error by me - class tparser is specified for PHP 5 and should not be used in DirList at the moment (you are using PHP 4 at your server).
I will publish a fixed version tomorrow.
For a workaround please open the file class.tparser.php and remove all strings
public
and
private
within this file.
Sorry again!
Regards
Ralf
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #38 on:
April 12, 2008, 06:59:27 AM »
Hello Markus,
I have just released DirList 0.20 which fix the problem, please download the actual version from
addons repository
.
Thank you!
Ralf
Logged
gucci
Offline
Posts: 46
Re: DirList Module
«
Reply #39 on:
April 12, 2008, 11:28:34 AM »
Hello Ralf,
great job, v.20 works very well. Thank you for the fast work.
Regards
gucci
«
Last Edit: October 23, 2008, 08:02:25 AM by gucci
»
Logged
henry
Offline
Posts: 3
Re: DirList Module
«
Reply #40 on:
June 19, 2008, 03:58:37 AM »
Hi Ralf,
I am using the latest (.20) DirList downloaded from the WebsiteBaker Add-Ons and look forward to the upcoming support of recursive directories I am having a display problem with both Firefox 2.0 and IExplorer 7 when viewing DirList pages. I have searched for many hours on the wb forums and do not see an entry that closely resembles the issue I am seeing. I am a WB newbie and have read the many "position is everything" and CSS display related posts.
When viewing with FireFox 2.0 the DirList page margin exceeds the margin on the template I am using (originally Andreas00) see attached DirList FF.jpg.
When viewing with IExplorer 7 the DirList shows after the left menu, see attached DirList IE7.jpg
I have also attached the modified template wyc00.zip
Both display issues appear to be related to the DirList display width. Is there a way to make the DirList display stay within the template margin? I suspect an edit is needed in the DirList Frontend.css file? Or is there a change needed in the template css file? I have tried multiple changes in the DirList Frontend.css file and have not succeeded in getting DirlIst pages to display correctly.
Would it be possible to make the file "Size" tab and display of the file sizes configurable so they did not show and shrink the width of the DirList display?
Any help you might offer would be greatly appreciated.
Thanks,
Henry
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7660
Re: DirList Module
«
Reply #41 on:
June 19, 2008, 06:17:37 AM »
Hello,
think your display issues has nothing to do with the module. Looks like simple css problem with your template. Adapt the css of the andreas template (especially how tables are formated) and you will get the result you want.
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #42 on:
June 23, 2008, 06:22:45 AM »
Hello Henry,
it seem to be a problem with the CSS settings of your template.
Regards
Ralf
Logged
leolinux
Offline
Posts: 1
Re: DirList Module
«
Reply #43 on:
July 10, 2008, 09:07:49 AM »
Someone can suggest me the way to point to a directory and at the same time to eventual subdir at the same time?
Is it Possible?
Thanks
Leolinux
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #44 on:
July 12, 2008, 03:52:08 AM »
Hello Leolinux,
it's not possible to directory and a subdirectory at the same time...
Regards
Ralf
Logged
iggyFlames
Offline
Posts: 25
Re: DirList Module
«
Reply #45 on:
August 04, 2008, 07:07:09 PM »
Hi! I'm trying translate DirList to Portuguese (Brazilian) but I can't make it work. I have DirList 0.2 and WB 2.7; server is Linux.
I have problem with special characters, like ç ã é, etc. I think I used the wrong file type to save my translation - I saved it as txt and renamed to php. Could you, please point me the right format? As soon I have it working, I'll send you the file.
Regards,
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #46 on:
August 05, 2008, 08:22:58 PM »
Hello,
you may use any editor for the languages files.
You need to use HTML Specialchars to mask chars like ç ã é. For example ç becomes ç or ã becomes ã
If you have a look at the DE.php of the DirList Module you will see that german special chars are also masked, i.e. ä -> &auuml; a.s.o.
A list of special HTML chars you will find for example
here
.
Regards Ralf
Logged
iggyFlames
Offline
Posts: 25
Re: DirList Module
«
Reply #47 on:
August 06, 2008, 07:12:25 PM »
Thanks Ralf!
I've realized that you use a function to encode and decode some chars in class.parser.php Could I insert a few lines to include other cases? That will not change anything in other modules or pages, right?
If this way is ok, I'll send you my bit and maybe you could include it in next versions...
Regards,
Iggy
Logged
Ralf (Berlin)
Offline
Posts: 1314
Re: DirList Module
«
Reply #48 on:
August 06, 2008, 07:55:05 PM »
Hello Iggy,
yes you can - the method of the parser class is not the best way - I'm lookin ahead for a better solution...
Regards
Ralf
Logged
iggyFlames
Offline
Posts: 25
Re: DirList Module
«
Reply #49 on:
August 06, 2008, 11:35:07 PM »
Great Ralf
Quote from: Ralf (Berlin) on August 06, 2008, 07:55:05 PM
the method of the parser class is not the best way - I'm lookin ahead for a better solution...
I agree with you. In fact, I think that language issues deserve a better look for WB team (please, if my words sound too strong consider that English is not my natural language); I mean, language files and all translations should follow a unic stardart and also a better manage for latin languages, like Portuguese, Spanish, and others with lots of "special chars". This could be a critical point in increasing WB users around the world.
Thanks again for your time and for your great work (I'm using NewsLetter module too!). I'll let you know if my edit code results good.
Regards,
Iggy
Logged
Pages:
1
[
2
]
3
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...