Show only a sub-folder

Home \ forums/topic \ Show only a sub-folder
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #177

    Michael, please tell me, what’s wrong with this:

    {easyfolderlistingpro parameter1=’Medical Documents (ENGLISH)’|parameter2=’Medical Documents (SPANISH)’}

    I’m using easyfolderlisting pro plugin. My site is running 1.7.0. My main folder is documents. Within documents I have a dozen or so subfolders, titled similarly to the above.

    The main folder works perfectly as {easyfolderlistingpro} in it’s specified page, Forms & Documents. All folders show and expand to show their contents. But, I am creating individual separate modules that contain the above line so as to show only relative folders while in a certain page. For instance, if I’m on Medical Plan, I want the Medical Documents module to just show the two medical related subfolders (as noted, above). But, the above code still returns the main folder and all the sub-folders.

    I know I’ve successfully done this before, I just can’t recall the proper syntax. I got the above idea from the information portion of the plugin.

    Thanks for your help (and this great plugin)

    Michael Gilkes

    @realtoast. Sorry for taking so long to respond to your question. (By the way… I thought you were an expert at my plugins by now… lol)

    The example that I give in my explanation using parameter1 and parameter2 is just as example. ‘parameter1’ and ‘parameter2’ are not valid keywords. The Parameter table on my blog site give a list of all the possible valid keywords, with descriptions, default values, and names. In your example, it seems like you want to have two different listings on the same page. Assuming, for example, in your joomla root folder you have a folder called medical_documents, and in it you have 2 folders, one called ‘english’ and anther called ‘spanish’, you can display them easily by the following:

    {easyfolderlistingpro folder=’medical_documents/english’}

    {easyfolderlistingpro folder=’medical_documents/spanish’}

    There are a bunch of other parameter keywords that can be used here, as well. Please have a look at them here:

    For example, if you wanted to show the file extensions for the english documents only and change the transition of the spanish documents only, then you would have this:

    {easyfolderlistingpro folder=’medical_documents/english’| extensions=1}

    {easyfolderlistingpro folder=’medical_documents/spanish’|transition=’fade’}

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Show only a sub-folder’ is closed to new replies.