Directory Folders in Articles or a Module?
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Directory Folders in Articles or a Module?
Hello,
I have a 22gb folder (located in /images/folder-name) with over 22,000 PDF files inside of 26 Folders and have over 650 subfolders folders all with PDF files in them. (it's a lot of data, to say the least) There are only 25 main folders, but the subfolders have many folders and subfolders and PDF files for people to get to by clicking on a directory (folder) name to see the sub-content.
What I am looking to do is somehow to be able to list these folders as Folder icons (in an article or module) with collapsible accordion style effects to open and close the root folders (located in /images/folder-name) displayed. Once the folder is clicked on the PDF files or other subfolders open or a list of PDF files appears. (in the article or module)
Am I making any sense?
I want to be able to use this inside of an article, or is possibly in the side module position pertaining to the specific folders and files located in a directory structure of the main: (located in /images/folder-name)
Hope this makes sense. Any help would be appreciated for sure!
I have a 22gb folder (located in /images/folder-name) with over 22,000 PDF files inside of 26 Folders and have over 650 subfolders folders all with PDF files in them. (it's a lot of data, to say the least) There are only 25 main folders, but the subfolders have many folders and subfolders and PDF files for people to get to by clicking on a directory (folder) name to see the sub-content.
What I am looking to do is somehow to be able to list these folders as Folder icons (in an article or module) with collapsible accordion style effects to open and close the root folders (located in /images/folder-name) displayed. Once the folder is clicked on the PDF files or other subfolders open or a list of PDF files appears. (in the article or module)
Am I making any sense?
I want to be able to use this inside of an article, or is possibly in the side module position pertaining to the specific folders and files located in a directory structure of the main: (located in /images/folder-name)
Hope this makes sense. Any help would be appreciated for sure!
- xfsgpr
- Joomla! Ace
- Posts: 1099
- Joined: Mon Feb 14, 2011 4:02 am
- Location: London
Re: Directory Folders in Articles or a Module?
Joomla uses Bootstrap 2.3.2 so this code will work for you:
I suggest acclimatize yourself with how Bootstrap works. Start here:
<http://bootstrapdocs.com/v2.3.2/docs/ja ... l#collapse>
Code: Select all
<div class="accordion" id="accordion2">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
Collapsible Group Item #1
</a>
</div>
<div id="collapseOne" class="accordion-body collapse in">
<div class="accordion-inner">
Accordion Inner
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
Collapsible Group Item #2
</a>
</div>
<div id="collapseTwo" class="accordion-body collapse">
<div class="accordion-inner">
Accordion Inner
</div>
</div>
</div>
</div>
<http://bootstrapdocs.com/v2.3.2/docs/ja ... l#collapse>
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Re: Directory Folders in Articles or a Module?
Thank you so much for the information, going to read up on it now.
Then it is off to implement. I will respond when finished testing.
Again Thanks!
Dometheus
Then it is off to implement. I will respond when finished testing.
Again Thanks!
Dometheus
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Re: Directory Folders in Articles or a Module?
If I am mistaken this is just a simple accordion code for articles you want to put other articles, pictures and text into right? I will use this with (Accordion) the endless lists of PDF files in each folder so thank you for that!
I might be wrong and a novice but I think I'm trying to do something completely different (there are paid extensions I could use to do this). I just don't have the extra money right now to purchase the extension. So I thought I could just use some code to point to folders and files on my Shared Hosting Account and show them in articles, or an I way off base here?
Here is the extension I looked at purchasing so you can see what I am kind of looking for: https://extensions.joomla.org/extension ... tory-tree/
Here is a screenshot of "Directory Tree" extension with folders and PDF (they use PNG for screenshot)files showing together in the article. I just want to be able to add PDF files and folders from my hosted server account to an article with code if possible.
Screenshot at IMGUR of extension Directory tree to get a better Idea: https://i.imgur.com/R2qSbiX.png
If this is not possible with some code in the article then I will just have to wait and purchase the extension to solve my issues with Files and folders.
Thanks again for taking the time to try and assist me with this problem.
I might be wrong and a novice but I think I'm trying to do something completely different (there are paid extensions I could use to do this). I just don't have the extra money right now to purchase the extension. So I thought I could just use some code to point to folders and files on my Shared Hosting Account and show them in articles, or an I way off base here?
Here is the extension I looked at purchasing so you can see what I am kind of looking for: https://extensions.joomla.org/extension ... tory-tree/
Here is a screenshot of "Directory Tree" extension with folders and PDF (they use PNG for screenshot)files showing together in the article. I just want to be able to add PDF files and folders from my hosted server account to an article with code if possible.
Screenshot at IMGUR of extension Directory tree to get a better Idea: https://i.imgur.com/R2qSbiX.png
If this is not possible with some code in the article then I will just have to wait and purchase the extension to solve my issues with Files and folders.
Thanks again for taking the time to try and assist me with this problem.
- Per Yngve Berg
- Joomla! Master
- Posts: 30930
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Directory Folders in Articles or a Module?
Have you looked at Phoca Download?
https://extensions.joomla.org/extension ... -download/
Plugins for PD: https://extensions.joomla.org/category/ ... xtensions/
https://extensions.joomla.org/extension ... -download/
Plugins for PD: https://extensions.joomla.org/category/ ... xtensions/
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Nov 08, 2017 4:06 am
Re: Directory Folders in Articles or a Module?
With Phoca we have to manually do it right?
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Re: Directory Folders in Articles or a Module?
kevinix wrote:With Phoca we have to manually do it right?
Yep all manual.
I just want to pull from a directory file and folders. Guess I will just wait and get the extension I mentioned earlier.
Thanks for the help.
- Per Yngve Berg
- Joomla! Master
- Posts: 30930
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Directory Folders in Articles or a Module?
There is a Multiple File Add Function
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Re: Directory Folders in Articles or a Module?
I understand that but it adds only files not folders (or at least I could not figure out how to do folders).Per Yngve Berg wrote:There is a Multiple File Add Function
Looks like I would need to recreate all the folders. (650+ folders) and upload the contents from each folder when information is already on the server ready to be accessed in an article or extension.
I just want to be able to see the contents of a folder (PDF and Folders) in Joomla showing folders and files together in a clickable list for people to read with a PDF reader or navigate to a subfolder without re-creating the folders again.
-
- Joomla! Apprentice
- Posts: 9
- Joined: Mon Oct 08, 2007 6:08 pm
Re: Directory Folders in Articles or a Module?
Is there no Joomla Guru that can help me out?