Hi guys!
I'd like to open a component dialog when I click a button or a link. Could you please give me some pieces of advice how to implement it? cq:layout rollover and editbar are not suitable for me.
I've found out, that it is opened with this code:
CQ.wcm.EditBase.showDialog(this, CQ.wcm.EditBase.EDIT);
where this - is CQ.wcm.EditRollover object for a corresponding component. So all that I need - somehow create or get somewhere CQ.wcm.EditRollover object?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Take a look at the out of the box sample [1]. There is a link "Edit this entry" on click of it opens component dialog.
[1] http://localhost:4502/content/geometrixx/en/blog/2009/06/geometrixx_user_grou.html
Views
Replies
Total Likes
Take a look at the out of the box sample [1]. There is a link "Edit this entry" on click of it opens component dialog.
[1] http://localhost:4502/content/geometrixx/en/blog/2009/06/geometrixx_user_grou.html
Views
Replies
Total Likes
Hi Sham, thank you for reply.
But I didn't see such link there
[img]2013-09-20_054511.jpg[/img]
Could you please specify where is it placed?
Views
Replies
Total Likes
[img]Link.png[/img]
Views
Replies
Total Likes
Thank you.
But I don't have the edit link there.
I'll try use cq:layout editbar and customize buttons view with CSS and JS.
Views
Replies
Total Likes
Views
Likes
Replies