open Composer in a Lightbox like Sidemap add a page

Permalink
Hi,

On the Sidemap i can add a Page, where the Composer is shown in a Lightbox.
How can i do this in the Frontpage?
My purpose is, to add a Menu-button to add blog entrys on a smartphone...

thx

ronnysoftware
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi ronnysoftware,

Please include more specific details of what you are trying to accomplish.
ronnysoftware replied on at Permalink Reply 3 Attachments
ronnysoftware
Hi,

My Client would like to add Blogentry over a Smartphone.
So the standart Composer View is not optimal, but the Composer View in over the Sidemap looks very nice to add a Blogentry.

I want a Link in the Menu (only show for Admin) to open the Composer in a Lightbox.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@ronnysoftware

This looks to be the view for the Add Page modal:
https://github.com/concrete5/concrete5/blob/develop/web/concrete/vie...

I don't know how to render that view outside of the sitemap though.
ronnysoftware replied on at Permalink Best Answer Reply
ronnysoftware
i added these Lines in the View.php:

<a class="dialog-launch" dialog-width="350" dialog-modal="false" dialog-height="260" dialog-title="Add Page" href="/index.php/ccm/system/dialogs/page/add?cID=159">Add Page</a>
<script type="text/javascript">$(function() { ConcreteDashboard.start(); });</script>
<script type="text/javascript" src="/concrete/js/dashboard.js"></script>
JackVanson replied on at Permalink Reply
Hi There,

I am looking to do that same think i want a link on the dashboard that will open composer up in a lightbox.

So for example I want to be able to create a blog post in a lightbox within the dashboard as you login.

How have you managed it?

Thanks

Jack