Template Manager - Help, Ideas, Suggestions Needed

Cosmetic look of components or your whole site
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Template Manager - Help, Ideas, Suggestions Needed

Post by burt »

Interesting concept?

tpl-select.png

Perhaps a little nicer than;

tpl-sel-old.png
You do not have the required permissions to view the files attached to this post.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Template Selection

Post by burt »

I could foresee extras in here for each template, such as;

Support URL
Donation Link

And other ideas which perhaps the community might think of.

I have quite an interesting idea in mind, but let's see if anyone is on the same wavelength..
User avatar
tessthepup
Certified Developer
Posts: 381
Joined: Mon Mar 01, 2021 5:55 pm
Phoenix Version:
Has thanked: 47 times
Been thanked: 62 times

Re: Template Selection

Post by tessthepup »

burt wrote: Sun Apr 26, 2026 5:50 pm I could foresee extras in here for each template, such as;

Support URL
Donation Link

And other ideas which perhaps the community might think of.

I have quite an interesting idea in mind, but let's see if anyone is on the same wavelength..
If I am reading this right it is opening up the possibility for template designers :?:
Dan Cole
Senior Contributor
Posts: 498
Joined: Fri Oct 25, 2019 2:14 pm
Phoenix Version: 1.0.8.21
Has thanked: 67 times
Been thanked: 61 times

Re: Template Selection

Post by Dan Cole »

@burt
Perhaps a little nicer than;
Way nicer Gary. :+1:

Dan
User avatar
bonbec
Contributor
Posts: 190
Joined: Mon Oct 26, 2020 12:23 pm
Phoenix Version: V1.1.0.7
Has thanked: 54 times
Been thanked: 40 times

Re: Template Selection

Post by bonbec »

Wow! It's like night and day!
It looks more modern and visually appealing. :+1:

Quick question: how is the visual generated?
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Template Selection

Post by burt »

The visual is nothing exciting. It is just a thumbnail image that would be included by template author.

I'm still working on this concept. If anyone has thoughts please post them.
Especially interested in hearing about things that might be helpful to shopowner if wanted to change template.

--

- data about the template (author, versioning, name etc) come from a Manifest file

Code: Select all

{
  "name": "Ignis",
  "code": "ignis",
  "author": {
    "name": "G Burton",
    "support": "https://phoenixcart.org/forum/index.php",
    "home": "https://phoenixcart.org/"
  },
  "version": "1.0.2",
  "framework": ["bootstrap5"],
  "image": "Ignis.png",
  "compatibility": {
    "phoenix": {
      "min": "1.1.0.0",
      "max": null
    },
    "php": {
      "min": "8.0",
      "max": null
    }
  }
}
That looks really complicated but isn't really. The concept just loops through and outputs data appropriately. If you're technical...what `other stuff` might be good in here (or put another way...what would YOU like to see in the Template Admin Page) ?

- the Install button is working well

Click "Install" on any of the templates (in the concept there is only Ignis as installable, but here shopowner might have 3 or 4 or 20 templates to choose from). The shop side is now running the new chosen template.
User avatar
bonbec
Contributor
Posts: 190
Joined: Mon Oct 26, 2020 12:23 pm
Phoenix Version: V1.1.0.7
Has thanked: 54 times
Been thanked: 40 times

Re: Template Selection

Post by bonbec »

Okay, thanks for the explanation :+1:

If I understand correctly, this will allow me to download templates created by other authors.
So, if I already have my own template (for example: aradefault) using add-ons, I need to create a thumbnail and a file containing the data about my own template so that it appears visually like in your example: default over ride.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Template Selection

Post by burt »

bonbec wrote: Mon Apr 27, 2026 8:50 am if I already have my own template (for example: aradefault) using add-ons, I need to create a thumbnail and a file containing the data about my own template so that it appears visually like in your example: default over ride.
Exactly so. You would create two things;

1. manifest file
- just like the one above, but with your own details
2. thumbnail
- just a screenshot of whatever page

-OR-

You might not bother creating them, if "aradefault" is just for you and you alone. As if a template did not have these two things, they would not show in this template page. Yet they still would show in the original list (the second image in my first post).

As you can see from the those first two images...
"default" template does not have a manifest/thumbnail so does not show in this new page.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Template Selection

Post by burt »

bonbec wrote: Mon Apr 27, 2026 8:50 am If I understand correctly, this will allow me to download templates created by other authors.
I imagine the shopowner would find a template somewhere free or paid (eg in the addons area) or at a
developers site free or paid (eg busybeecommerce).

And it would be like an addon. Download it, unzip it, upload it.
Once uploaded it shows in this new Templates page, ready to install.

--

Forward thinking

We need a way to see installation instructions as some templates will have extra modules to turn on and some to turn off - they would be in the .zip that is provided by the creator - most of you have seen a README in my addons for example. However, it would be nice for installation instructions to popup somehow as part of this page.

EG that Ignis template does not have the horizontal menu but does have slide in
menu, see https://phoenixcart.org/demo/product_in ... ducts_id=8

Noting that

Templates can be as little as a .css file.
Or they might include modules, hooks etc to radically change the appearance.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Template Selection

Post by burt »

TY to @bonbec @Dan Cole @tessthepup - really appreciate you three taking time out. :+1:

--

Guys, loads more of you have read this thread.
Without feedback, it is incredibly hard to move forward, please get involved!

Shopowners
- What would you like to see in this page?
- What things would help you to choose/select a template.

Potential Template Creators
- What would you like to see in this page?

Please have a look at the images ... I just need a minute of your time today to help move Phoenix on.
Thanks in advance.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply