BertBeentjes / bPAD

bPAD is a flexible, open source (web) cms.
Other
2 stars 0 forks source link

Permalink for articles #71

Closed BertBeentjes closed 10 years ago

BertBeentjes commented 10 years ago

Create a permalink to articles, that show only the article. Use for placing articles in social media.

Option for permalink:

https://www.mysite.com/menuitem/menuitem/+321/permalink-to-article.html

The plus sign indicates that it's a permalink and a selector on a non-addressable object. The +321 is the object id for the object that contains the article, it defines where to select the article. The permalink is based upon the root object name of the article.

With a permalink, the menu should be inactive, to be able to return to the normal version of the page.

BertBeentjes commented 10 years ago

Instead of permalink, 'deep link' is a better name. The link isn't permanent, but it directly leads deep into the site.

Deep link is working. Deep linking is restricted to instanciable items.

Todo:

  1. inhibit menu activation and the control functions on content.get commands on deep linked pages, to maintain access to the complete page the deep linked item is on
  2. load a deep link through an ajax call (e.g. from instances)
BertBeentjes commented 10 years ago

Todo 1 fixed.

BertBeentjes commented 10 years ago

Todo 2 fixed.