Jump to content

I'm a little stuck on this..


Hostile

Recommended Posts

Hello, I'm working on a CMS that I'll be using for a site in the near future. However, I'm stuck on a feature that I want to add into the admin panel.

 

To explain what I have so far, I have code that gets the sub directories (the actual themes) in my "themes" folder of the CMS. It lists these themes in a table with the themes' names, a screenshot, and a radio button at the bottom for the admin to select them.

 

What I want to do with this code is make it so it only lists 4 themes per table. If they're are more than 4, I would like it to create a whole new table.. and repeat this process until all the themes are listed.

 

Here is my code so far: http://pastebin.com/mc5df58b

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.