Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End how to make multi themes in my program like wordpress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41006
    amis
    Participant

    I have been created simple cms script with php and mysql and i want add to it multi themes option

    how this ?

    #116361
    lyleyboy
    Member

    Hey amis,

    We’re gonna need way more information

    There are a million different ways this could be done.

    Try setting up a table with theme info in it.
    Store the templates and stylesheets.
    Then set the theme using the id of the theme in the table.

    The php checks the theme id that is set and pulls the correct theme files. template / css.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.