Giter Site home page Giter Site logo

rk_typecms's People

Contributors

rskuipers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rk_typecms's Issues

Type mismatch when same attribute name is used with different types

Since the attributes aren't namespaced, there's a type mismatch when you use the same attribute name in different page types with different attribute types.
The first one will be leading, perhaps we should namespace the attributes or simply throw an exception when the same attribute name with a different type is used.
I prefer the latter.

FR: Use database (EAV) to manage page types & attributes

Appreciate it is a big change, but what about using the database to manage page types and attributes assigned to each page type? Could use an EAV model with an indexer to reduce the number of DB queries if performance is a concern.

Reduces the dependancy of creating another module or modify the config XML to add page types and attributes and would make them all be able to be updated in the admin section.

This would open the module up to more end users in my opinion.

FR: Ability to add layout handles to page types

Currently you are able to define a single template to render the content and fields added by TypeCMS.

There may be some instances in which you require more control over the layout of a specific page type. E.g. you may want to force the template to 2column-left view and add a submenu in the left column for all pages with that type.

To do this the page would require a layout handle adding then using Magento's layout XML in a theme you can manipulate the page layout as a whole.

The only alternative is to create page layouts in an additional module config.xml like so:

    <global>
        <page>
            <layouts>
                <custom_layout translate="label">
                    <label>Custom Layout Label</label>
                    <template>page/1column.phtml</template>
                    <layout_handle>custom_layout_handle</layout_handle>
                </custom_layout>
            </layouts>            
        </page>
    </global>

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.