Jump to content

Opening directories


Imad

Recommended Posts

Hi guys, I'm trying to create an experimental theme manager. All the themes have their own folder in the themes folder. How can I be able to have each directory opened and have their details shown? For example, let's say I added another theme to the themes folder, when I visit the page to view all the avialable themes, I want their details to be shown. Furthermore, I just want to know how I can get all the folders in the theme folder opened.

Thanks in advanced.

Link to comment
https://forums.phpfreaks.com/topic/105060-opening-directories/
Share on other sites

save the theme details in a mysql database

 

That would be a problem, since the directories need to be detected first, theirs no way I can store it in a database until the directories are detected first. Once the directories are detected, they need to be automatically opened to locate the info.php file and bring back the info in it. I'll play around to see what I can get.

Kind Regards.

Link to comment
https://forums.phpfreaks.com/topic/105060-opening-directories/#findComment-537800
Share on other sites

I could, but since each theme directory has an images directory, stylesheet, and others, they would need to zip it, then I need to have it extract the file which would be a longer process. I'm trying to do something like the Wordpress themes installation. Where you'd put a theme into the themes directory and visit the themes manager in the admin panel, and there it is with its details.

Link to comment
https://forums.phpfreaks.com/topic/105060-opening-directories/#findComment-537809
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.