Hi All,
I've done some research aon the forum and watched the source code of the menu module, but I could do not find the answer.
I would like to add a link the top part of the page that when clicked opens a popup window like the one to edit the album properties. How can I do it with the Gallery framework?
Thanks a lot in advance.
Ste
Posts: 27300
You need to add a special class to the link. For example the permissions dialog is done like:
<a class="g-dialog-link " href="/gallery3/index.php/permissions/browse/1"> Edit permissions </a>
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 34
Thanks Dave,
I managed to get the popup displayed with some static HTML. But the title bar does not show the title. How can I set the title bar text? Do I have to create a view? If so, where can I find information on how to create my own MVC in Gallery 3?
Thanks a lot in advance.
Ste
Posts: 722
Stick something like this at the top of your html and it should show up as the title bar:
<h1 style="display: none;">Title Goes Here</h1>
Posts: 34
Thanks! it worked.