Coder Social home page Coder Social logo

Comments (4)

denny avatar denny commented on May 24, 2024

I think you're misunderstanding how the system works.

The idea at present is that a Template Admin (somebody with HTML skills such as yourself) creates the CMS Templates with the correct element stack, based on the .tt files, and then your 'normal' site users (Page Admin) only have to create CMS Pages using the existing CMS Template records, which will prepopulate the element stack for them appropriately.

Looking at your site (thanks for giving me the login details on IRC) it looks like you're not adding any elements to your CMS Template. That means every time you create a CMS Page, you have to add the elements manually. Add them to the CMS Template, then any new CMS Pages created using that CMS Template will get the right elements automatically.

from shinycms.

denny avatar denny commented on May 24, 2024

(That said, it would be nice to autopopulate the CMS Template page with the suggested element stack and only require the admin to set types - it's on the TODO list but a long way down it! It wouldn't work for more complicated templates anyway, for example those which use loops to build up element names programmatically.)

from shinycms.

wbraswell avatar wbraswell commented on May 24, 2024

Okay I'm dumb, thanks for setting me straight, it works great now!

from shinycms.

denny avatar denny commented on May 24, 2024

No, you're not dumb, the documentation is inadequate! Please consider writing up some extra words for the Getting-Started doc that explain this part of the system more clearly, so the next person doesn't trip up the same way. :)

from shinycms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.