Jump to content

Archived

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

sarahHB

Creating page templates for a child theme

Recommended Posts

sarahHB

Hi there, Just bought the DMS framework and I am very excited to start!

 

I will be using the framework to build child themes. Just to be clear all of the styling I change in the child theme will not precipitate though to the parent DMS, is this the same for building page templates. i.e. should I build the page templates in the parent theme or child theme? Once I build and save the new page templates via the DMS framework, where will they be stored (so I can access them through FTP)

 

Thanks in advance and so far Pagelines is awesome! :)

 

Sarah

Share this post


Link to post
Share on other sites
Danny

Hi Sarah,

All templates are built and stored in the database, they will not be individual files you can access via FTP.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
sarahHB

Hi Danny,

 

thanks for your fast response. If all page templates are stored in the database can you explain to me how to export a child theme, for example, if I wish to sell / give away a child theme, which files do I need to provide to the end user? Usually, the website files would just be provided for a child theme i.e the files you can access through FTP, but if the page templates are not included in these then this will not work.

 

I have build a few page templates in a child theme and exported it using the method in your documentation i.e export to child theme via UI, gives config file etc. I then uploaded these child theme files (with parent DMS) to a new url and all page templates were gone. (Now that you have informed me that the templates are in the database, it makes sense that hey were not present when I uploaded the theme web files to a new url and database).

 

How should I do this in future to ensure the page templates are there? In short, what files to I need to provide to someone in order for them to be able to use the child theme I have build?

 

Thanks

Share this post


Link to post
Share on other sites
Danny

If you wish to sell a child theme, you will need to provide the child theme files and the export file JSON file.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • flourishdesignstudio
      By flourishdesignstudio+
      I am working on a multisite installation and had some questions regarding the themeing options. All the sites will have the same structure but each individual site would need a different h1 font and link color. I had originally thought that I would program/edit the parent theme to have a certain set of templates, font sizes, etc. and then that would feed to all the individual sites where I could activate the child theme and use the child theme to define the individual sites' specific link color, heading fonts, etc. So, what I was shooting for was:
      Parent theme = shared by all sites
      Child theme = specific to the minor customizations on a per site basis.
      Is this possible? Am I misunderstanding how these would actually deploy to the different sites?
    • jagipson
      By jagipson+
      Should be a simple answer but not sure why its not doing this.  I have a child theme installed on pagelines 5 that has a hook so it will write over the theme css. Strange is that when I am on the frontend the code works but in the dashboard your theme takes over my code and its no where to be found. See examples attachments
      @Andrew @Danny


    • TallTree
      By TallTree+
      Hi,
      I am trying to remove the sidebar areas from my child theme (pagelines.com) from the post pages on a site:
      https://staging4.talltreemusicfestival.com/2017/grand-analog/
      The content is all the way to the left and very small, and the two sidebar areas are taking up a lot of space.
      What I'm after is content to the left, taking up most of the space, and then a small sidebar width on the right for widgets.
      I've tried selecting 'read width content' and 'full width content' in the edit screen for the WP content section, but it doesn't change.  If I try to move the sidebars (1 or 2) to the left, it doesn't change.
      If I select the pagelines framework theme (not child), the two sidebars go away when not selecting them in the edit screen..
      Can someone please tell me what I'm doing wrong?
      Thanks in advance.
      -Matt
       
    • dbrowne02
      By dbrowne02+
      Hi, I noticed that framework and pagelines.com child theme has a number of errors when run through themecheck. The others, like material and bootstrap, don't have any errors when run through theme check. Is there a way to get it so that there are no errors on the child theme?

    • Grant Turck
      By Grant Turck+
      What file do I need to add code to in my pl-framework-pagelines child theme to insert script after opening body tag on every page?
      Can you someone provide me with the code also?
×