BertBeentjes / bPAD

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

Link to site root #37

Closed BertBeentjes closed 9 years ago

BertBeentjes commented 10 years ago

Create a link to the site root (ajax style) that can be used for the logo etc.

BertBeentjes commented 10 years ago

Work-around: href="/home.html"

Works in the non-ajax style, but works. Moved to the next milestone (stand alone full)

BertBeentjes commented 9 years ago

Added 'open-url' option to the bpad onclick event:

data-bpad-onclick="open-url" data-bpad-open-url="/Home.html"

Add this to a tag and it will open the url when clicked. You can parameterize the url by using a content position (e.g. #p2#).

When the url is relative, it is opened through ajax. When the url is absolute, it is opened in a regular way.