Forum Replies Created
-
AuthorPosts
-
Michael Gilkes
KeymasterHi Buddy,
Currently, the plugin doesn't really have a feature to show recently added files. Maybe in a later release I can add some time related filters, so that you can specify only files that have been modified within a certain date range (before, and after a certain date). I never thought of that, but it is a good feature to request.
What I suggest that you do is to post a comment in the Improvement Suggestion topic, explaining how you would want the feature to work. That way, I can easily keep track of it for next release.
Michael Gilkes
KeymasterHi wknuvers,
Thanks for purchasing and using my plugin. I visited your site, and the plugins acts perfectly normal, as I designed it to act. I don't see a version for list to test it out on your site. I just see the table. Maybe you can place a second instance on the page with the same settings as the table, but instead, specify list as the method. So, it would look something like:
{easyfolderlistingpro method='list'}
It should work just like my demo site: http://bit.ly/gmcERV
Michael Gilkes
KeymasterHave you tried to look at the stylesheet for the template? One thing that really helps me with debugging CSS is using Firefox browser with Firebug. Firebug allows you to look at the styles, and see which style is overriding which. It is very useful. I think Chrome has a built-in inspect element feature in the (right-clicked) context menu, but it is not as thorough as Firfox.
Also, if the listing is publicly available, then you can send me the web address to the page with the listing and I can have a quick look for you if I'm not too busy.
Michael Gilkes
KeymasterHi Cheryl,
Doing the following should fix our problem. Add $mime = strtok($mime, '; '); below both $mime = exec("file -bi '$f'"); (line 160) and $mime = shell_exec("file -bi '$f'"); (line 164).
This is a minor bug, which will be fixed in the next release. Essentially, some servers add the charset value at the end of the mimetype, and this is what throws off the detection.
If this doesn't solve it, then it is the case in which the server is not executing the UNIX file command. This usually happens with some shared hosting plans. There is nothing I can do about that. The best thing for you to do in that case is to upgrade your PHP version to 5.3+ so that it can use the fileinfo functions. See http://www.php.net/manual/en/function.finfo-file.php
Hope this helps. Let me know how it turns out.
Michael Gilkes
KeymasterHi cherylanns,
Thanks for posting to my support site. I am glad you got your server issue sorted out. Now, with your current situation, it is interesting that the error message is "ERROR: The uploaded file type is not permitted". I say this because, the message should be, "ERROR: The uploaded file type, <MIMETYPE>, is not permitted." If the <MIMETYPE> is not in there, that means that the mime type could not be detected.
This is the result of your system bypassing, or not calling, the fileinfo functions, mime_content_type function, and not executing the file system call. This typcially happens if you are running a Windows PHP server. Is your server OS Windows?
This link gives a brief explanation: http://www.php.net/manual/en/function.mime-content-type.php#91646
Michael Gilkes
KeymasterHi Lewis,
From what I can tell from viewing the html code of the page (thanks for sending the link via email), it seems that the flash is not loading at all on the page. How it is designed is that the flash replaces a span placeholder, and from inspection, the span place holder is still there. From my experience this is usually from some sort of javascript error that causes the javascript that loads the flash to not execute. However, firebox's firebug doesn't report any javascript errors.
The only thing i am wondering is whether the window.onload is being called. Ahhh… I think I know what the problem might be! It could be that window.onload is called again after my javascript code, and thus overwriting the onload function. Now, I don't have any proof that this is exactly what is happening, but it is the only logical conclusion.
I got an idea that I want you to try. I was just about to close my computer and go to bed, but try this out for me and let me know if it works.
Go to the plg_easyflashuploader.php file and replace line 161 (or comment it out by putting '//' before it) with this:
Code:$swfUploadHeadJs = $jsVariables."window.addEvent("domready",function(){".$jsSWFUploads."});";This should work perfectly. It uses mootools' window.addEvent instead of window.onload.
Please let me know if it works out.
Michael Gilkes
KeymasterHi Stefan,
Thanks for using my plugin, and for posting your question.
You should be able to force styles on the list by editing the CSS file located in /plugins/content/plg_easyfolderlistingpro_files/css/styles.css
Just edit the elf_lists class properties. Just add:
<font class="Apple-style-span" face="'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial">list-style-type: none !important;
<font class="Apple-style-span" face="'Trebuchet MS', 'Lucida Grande', Verdana, Tahoma, Arial">The crucial thing is to put !important at the end of the property, since this makes sure it overrides any styles specified anywhere else.
For example,
Code:.eflpro_lists
{
list-style-type: none !important;
font-size:small;
}Michael Gilkes
KeymasterHi,
Thanks for using my plugin, and thanks for posting your question.
It's pretty easy to change the font properties of the plugin. All you have to do is edit the CSS file located in /plugins/content/plg_easyfolderlistingpro_files/css/styles.css
Just edit the elfpro_tables and/or elf_lists class properties. Just add:
font-size: <value>;
According to: http://www.w3.org/TR/CSS2/fonts.html#propdef-font-size
For example,
Code:.eflpro_empty
{
font-style: italic;
font-size: medium;
}.elfpro_tables
{
width: 100%;
border-collapse: separate;
border-spacing: 1px;
text-align: left;
font-size: large;
}.eflpro_lists
{
/*list-style-type: circle !important; */
font-size:small;
}Michael Gilkes
KeymasterHi nielsg,
Thanks for purchasing and using my plugin. Actually, you can use it on the same or multiple pages with different folders. All you have to do is:
{easyfolderlistingpro folder='images/stories/somefolder1'}
{easyfolderlistingpro folder='images/someotherpath'}
"parameter1" is not a valid parameter keyword. It was just used as a vague example. To get a full list of the parameters you can use, please take a look at the Keyword column of the Parameters table at the bottom of the page: http://michaelgilkes.info/joomla-plugin-easy-folder-listing-pro/
Each and any instance of {easyfolderlistingpro …} can override the default setting in the Plugin manager. This makes the plugin very flexible.
I hope this helps. Let me know how it works out and if you have any questions.
Michael
PS. Also, please remember not to copy and paste paramters into the editor, as it will add html tags around the parameters and make them ineffective. You may have to toggle the editor to make sure the text is exactly as typed.
Michael Gilkes
KeymasterHi Trey,
Well, the short answer is YES. How you do it, I presume, would be to specify the (easy folder listing) EFL to list the folder pertaining to each user. So, one ELF per user folder. Then have one Easy File Uploader (EFU) form for each user folder.
It should work.
Try it and let me know.
Michael
-
AuthorPosts