Anchor links feature

Permalink Browser Info Environment
Hi Ramon,

would you mind to add anchor links as well? I need it to call bootstrap modals but it would also be nice to have it to jump to anchors at the page.
If you do't plan that feature could you tell me where I can remove the http:// that is set automatically before external links.

Best,

Torsten

Type: Pre-Sale
Status: Resolved
tsilbermann
View Replies:
tsilbermann replied on at Permalink Reply
tsilbermann
Sorry - I found out that when I choose the page I'm on it links directly to the anchor at that page. Its a bit difficult to find - maybe would be better to have it without choosing a page.

But there is one problem left for me. Bootstrap has the modal (popup windows) function. The Elemental theme (what comes with the c5 installation) as well. Calling a modal needs this kind of links:

<a href="#" data-toggle="modal" data-target="#mymodal">Load my modal</a>

Would you mind to implement it?

Best,
Torsten
ramonleenders replied on at Permalink Reply
ramonleenders
OK, so you would want a "Bootstrap Dialog" list item type, correct? Then you only need to enter the "data-target", so you fill in "#my_modal" in a simple text box? Or you need more fields?
tsilbermann replied on at Permalink Reply
tsilbermann
Hi Ramon,

for me its's fine to have just the text box for "data-target" where I can type in #mymodal
The Label for choosing it could be called "Bootstrap Modal".

It's not really related to your Add-On, but what do you think about calling modals from a stack?

Best regards - and thanks for fast response,

Torsten
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Torsten,

Not sure what you mean with "calling modals from a stack". Can you explain?

Kind regards,

Ramon
tsilbermann replied on at Permalink Reply
tsilbermann
I was just wondering... Calling a modal means - let it appear if you click on a link (or button).
The modal itself hast to be hidden at the page, because we need it only if we call it (http://getbootstrap.com/javascript/#modals).
If we have the content of a modal in a stack (what is placed in "backend" of c5: dashboard -> Blocks & stacks) its not visible. But this is not really related to your add-on :-)

The function I asked about above would be nice. If you are interested to think a bit about more about the "call a modal from a stack" stuff - let me know.
ramonleenders replied on at Permalink Reply
ramonleenders
Torsten,

The "Bootstrap Modal" is available in List Designer now. Let me know if this satisfies your needs.

As for the other "calling modal from stack", send me a PM with some information of how you would like to see this thing work!

Kind regards,

Ramon
tsilbermann replied on at Permalink Reply
tsilbermann
Hi Ramon, thanks a lot - works fine. :-)

concrete5 Environment Information

5.7

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.