I have a javascript function called from Joomla 2.5 that, when executed, must show a lightbox popup.
How can i show the message in popup programmatically?
A good way I guess is to find out how the function is called, so call it again from your part.
For a pure programatic staff you can use other lightbox lib and integrate it in joomla. Like:
Lightbox 1
Lightbox 2
There is a joomla module too for this kind of purpose. I didn't try any of these, I just suggest.
Joomla module
Related
I have just started to develop a plugin for redmine 3.
And, I'd like to hide some menu items from the top_menu or the project menu.
I know I can use the delete_menu_item helper.
But I don't know the names of the menu items.
Is there a way to get the names of the menu items,
maybe through "rails console" or something?
Thanks.
Well you can use the Redmine Custom CSS plugin. It allows you to use custom CSS styles for your redmine. You can add a CSS style that hides the menu items. You can get the ids of the menu items using the browser developer tools. For example Chrome Developers toolbox.
I created an article in admin and want to show a pop-up with click event. I tried the following things:
Using script tag.But it did not work. And showed value to front side.
Used module fancybox and module simple pop-up. But they are showing error. I think because the core jquery file is loaded after the fancybox js file. But I did not know any way to change order of js files in head .
Could any body help me? I am new to joomla . Thanks in advance.
I found the solution. I added fancybox js in templates js and fancybox css in templates. Then $(".modalbox").fancybox();. Then adding div in articles admin.
I am doing a project in Django and i want to have some google maps displayed in my site. So, i installed django-easy-maps and successfully used it in a sample template. So, i am ready with my maps.
The interface i want to implement is this
http://i49.tinypic.com/sowm74.png
I want to display the maps where the Hellow World! container is and with different links on the sidebar i want to refresh the map being displayed on user click without reloading the page.
I did some researching and it seems Ajax is the solution...
Can anybody tell me how i might achieve this (with or without Ajax ) ?
Sorry for sounding like a noob but i am fairly new to this.
The basic steps are:
Create a view for the Google Maps section to the right. This view does not return a full HTML page but only the HTML for that section (which contains your Google Maps map).
When the user clicks on a link on the left, use JavaScript to perform an ajax call to request that page. In short this means: attach an event handler to the onclick event of those links and in code you can perform an ajax call .Many people use a JavaScript library for this purpose, such as jQuery (which has $.ajax()).
You can then use JavaScript to put the received HTML inside the container on the right (using $.html()).
Hello freinds I need help as to how can I add 2 iFrames in the Joomla's Default Back-end Template Khepri.
I want to show the Hosting cPanel and also another application's Control Panel in these iFrames.
Kindly help.
The correct way to do this is to add a new module to the admin. Log in to your Joomla admin then select Extensions > Module Manager > Administrator.
This will get you to the modules manager for the administrative area. It works just like the front end. Click New module, then select Custom HTML and put your iFrame code in there.
i have a big Joomla 1.5 Problem. I'll create my own Gallery Component/PlugIn and want to add an AJAX Sorting possibility.
In the Backend i want to reorder the Images by Drag&Drop in an Gallery. It works, but for the Output i have the following Problem:
I send the AJAX Request to
index.php?option=com_cwgallery&controller=gallerie&task=ajax
As i told you, it works, but i want to display the result in a Layer. But Joomla always sends the complete Template and the Result back.
How can i disable sending the Admin Template??? Hope you understand what i mean?
Thanks,
Sascha
Add &format=raw to the end of your URL.