Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Scan & List files from "theme/MyTheme/Layout/" folder!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 331 Views
  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Scan & List files from "theme/MyTheme/Layout/" folder! Link to this post

    hi all, I need a way to scan the current theme folder for files with the following filename "pattern" : Gallery-NameHere.ss , then list all available files in a dropdown . Whats the best way to to this ?
    The idea is to have like Gallery-JQueryPluginName.ss & you will have an option to select which one you need from the admin area.

    331 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.