PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
ok i have a found the way to do it. i have to put the extension on a layer so if my layer is 600 px the result (the directory) will be show with a size of 600 px . If i do not put it on a layer the result (directory ) will be full screen, i mean if my screen is 1024 the the resukt will show with a widt of 1024.
I hope is clear and you understand what i mean.
.
I hope is clear and you understand what i mean.
.
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Not really but if you have solved your issue I am happy 

Re: PHP Directory Listing
I have not yet looked at how my extensions work with WWB9. But by default WWB9 will use the later jQuery file 1.9.1. This extension uses jQuery 1.7.2. So until I can dig deeper all you need to do now is to open your project file, open the page where the extension is used and change the page properties miscellaneous tab and select jQuery 1.7.2, then publish and that should fix the problem.Raidenko wrote:I used this extension with ver8.x, but now when I try using it with ver9.x I get an error when I publish the page. I am new at this, and have no clue why it stopped working. Any advice would be greatly appreciated.
EDIT 09/07/13 :
The extension doesn't use jQuery. Silly me. It's just PHP and some javascript.
But there is an error when published in WWB9 but not in WWB8. See later post.
Last edited by Adendum on Tue Jul 09, 2013 12:23 pm, edited 1 time in total.
- BaconFries
-
- Posts: 5210
- Joined: Thu Aug 16, 2007 7:32 pm
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Hi Paul please read the following regarding this, in WB 9 the user can switch between 1.7.2 and 1.9.1
viewtopic.php?f=10&t=56227
viewtopic.php?f=10&t=56227
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Errr....isn't that what I posted?BaconFries wrote:Hi Paul please read the following regarding this, in WB 9 the user can switch between 1.7.2 and 1.9.1
viewtopic.php?f=10&t=56227

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
There is a problem but I can't work out why. The same code works OK in a WWB8 published page but not in WWB9.
The error message seen in WWB9 published pages is:-
And line 288 of PHP in question is:-
As I understood it, this error message generally means a closing php tag is missing e.g. ?> but [a] why would it work in WWB8 and not in 9 and as far as I can see all closing tags are in place...so maybe it is something else?
We need George!!!
The error message seen in WWB9 published pages is:-
Code: Select all
Parse error: syntax error, unexpected '=' in /home/aditerum/public_html/demo/XXX/list1/listing.php on line 288
Code: Select all
<div><a href="<?php echo $fileurl;?>" target="_self" class="<?php echo $class;?>" <?php="" echo="" $thumb2;?="">><img src="<?php echo $includeurl; ?>dlf/<?php echo $icon;?>" alt="<?php echo $files[$i];?>"/><strong><?php echo $filename;?></strong> <em><?php echo round(filesize($includeurl.$leadon.$files[$i])/1024);?> Kb - <?php echo date ("M d Y h:i:s A", filemtime($includeurl.$leadon.$files[$i]));?></em><?php echo $thumb;?></a></div>
We need George!!!

Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
I am in no way a php expert but it seems that there are 3 extraneous ="" in that line. I don't know what should have been generated by the extension.
If you remove these it works (on my test).
I have no idea why it should be like this on wwb9.
If you remove these it works (on my test).
I have no idea why it should be like this on wwb9.
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
WWBman,
Good spot! You are 100% accurate ... but something odd is happening...
The code in Extension Builder reads:-
And as you can see those three ="" are not there.
With the page published using WWB8 I get this :-
But if I publish the same page using WWB9 I get this :-
Pablo....need your input here I think.
Good spot! You are 100% accurate ... but something odd is happening...
The code in Extension Builder reads:-
Code: Select all
<div><a href="<?php echo $fileurl;?>" target="$targetwindow$" class="<?php echo $class;?>"<?php echo $thumb2;?>><img src="<?php echo $includeurl; ?>dlf/<?php echo $icon;?>" alt="<?php echo $files[$i];?>" /><strong><?php echo $filename;?></strong> <em><?php echo round(filesize($includeurl.$leadon.$files[$i])/1024);?> Kb - <?php echo date ("M d Y h:i:s A", filemtime($includeurl.$leadon.$files[$i]));?></em><?php echo $thumb;?></a></div>
With the page published using WWB8 I get this :-
Code: Select all
<div><a href="<?php echo $fileurl;?>" target="_self" class="<?php echo $class;?>"<?php echo $thumb2;?>><img src="<?php echo $includeurl; ?>dlf/<?php echo $icon;?>" alt="<?php echo $files[$i];?>" /><strong><?php echo $filename;?></strong> <em><?php echo round(filesize($includeurl.$leadon.$files[$i])/1024);?> Kb - <?php echo date ("M d Y h:i:s A", filemtime($includeurl.$leadon.$files[$i]));?></em><?php echo $thumb;?></a></div>
Code: Select all
<div><a href="<?php echo $fileurl;?>" target="_self" class="<?php echo $class;?>" <?php="" echo="" $thumb2;?="">><img src="<?php echo $includeurl; ?>dlf/<?php echo $icon;?>" alt="<?php echo $files[$i];?>"/><strong><?php echo $filename;?></strong> <em><?php echo round(filesize($includeurl.$leadon.$files[$i])/1024);?> Kb - <?php echo date ("M d Y h:i:s A", filemtime($includeurl.$leadon.$files[$i]));?></em><?php echo $thumb;?></a></div>
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
The problem of the extraneous ="" is caused by the HTML Beautifier setting. Once turned off the problem is eliminated. Pablo has been notified and he will look at a fix in the next update.
Isn't he awesome!
Isn't he awesome!
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Not today, maybe in the future.jolas wrote:Another question if I may. Is it possible to have a reverse sort as an option for initial display?
Thanks.
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Hi, it`s please possible add language translation possiblity for all text used into this extension? When my domestic language is not english, I manualy change always in generated code some words ( in section (3) "Sort by Filename", etc.), date and time formats, etc. Some texts is possible changed (as "File upload Title"), but not all. This same is with date and time format, we use in my country (and in most next European countries) different format - maybe best idea is possiblility to change default parameters for generated php date function.
I can help you with this or when you be agrre and send me part of source code, i can made this for you.
My next thing is possibility hide sections (1) or (2), this has been in most cases duplicated and as last
add possibility to be user can add pictures for users added file types.
Thanks for this extension.
I can help you with this or when you be agrre and send me part of source code, i can made this for you.
My next thing is possibility hide sections (1) or (2), this has been in most cases duplicated and as last
add possibility to be user can add pictures for users added file types.
Thanks for this extension.
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
Updated version available from Extension Manager.Vlastimil wrote:Hi, it`s please possible add language translation possiblity for all text used into this extension? When my domestic language is not english, I manualy change always in generated code some words ( in section (3) "Sort by Filename", etc.), date and time formats, etc. Some texts is possible changed (as "File upload Title"), but not all. This same is with date and time format, we use in my country (and in most next European countries) different format - maybe best idea is possiblility to change default parameters for generated php date function.
I can help you with this or when you be agrre and send me part of source code, i can made this for you.
My next thing is possibility hide sections (1) or (2), this has been in most cases duplicated and as last
add possibility to be user can add pictures for users added file types.
Thanks for this extension.
A new section "Configurable Text" allows you to set the heading text for the three columns. I have also provided an option list for the data formats. For simplicity I have provided 8 date configuration options, using the international date standard ISO 8601. ( International standard ISO 8601 (Representation of dates and times) defines unambiguous written all-numeric big-endian formats for dates, such as 1999-12-31 for 31 December 1999, and time, such as 23:59:58 for 23 hours, 59 minutes, and 58 seconds. )
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
I went into Extension Manager to update and it didn't show the update for PHP Directory Listing.
I currently have version 3.0.1 installed 08/29/2013.
Should it have shown the update and what version is the updated one?
I currently have version 3.0.1 installed 08/29/2013.
Should it have shown the update and what version is the updated one?
Re: PHP Directory Listing (FREE) - NEW VERSION/NEW NAME
I would uninstall that first. Then try again.WWBman wrote:I went into Extension Manager to update and it didn't show the update for PHP Directory Listing.
I currently have version 3.0.1 installed 08/29/2013.
Should it have shown the update and what version is the updated one?
You should see this via Ext Mngr And this when it's on the page - v1.0.0.9