MomentumCMS / momentum_cms

https://github.com/MomentumCMS/momentum_cms
MIT License
4 stars 0 forks source link

Should pages be multi purpose? #30

Open billxinli opened 10 years ago

billxinli commented 10 years ago

Should pages handle redirection, links and contents?

Instead of relying the menu editor to handle these cases.

Emerson commented 10 years ago

My feeling is that pages should have redirects, but no other menu related stuff.

billxinli commented 10 years ago

+1 to redirects.

Redirects as in:

How about pages linking to a CMS file?

Emerson commented 10 years ago

I think just redirecting to another CMS page.

I think in the menu builder we should allow basic custom URL's, if they want to link to a file or external URL that gives them full power to do so.

billxinli commented 10 years ago

So:

Menu Item can be a page or external link, nothing else.

Emerson commented 10 years ago

Yes, I think that covers 95% of the use case. Possible I'm overlooking something though?

billxinli commented 10 years ago

Wordpress have the notion of adding categories to the Menu. I think I might make the API flexible for now.

Emerson commented 10 years ago

Ah, true. Best to leave things flexible anyways.