Joomla 1.5 system messages in modal window? - joomla

I have made a link, that gives me Joomla's registration edit form into a modal window. Everything is okay with this but, when user click on save button, loads the whole homepage in to modal window with a message that says everything saved. How can I make it just load the system message in to modal window and not the whole home page?

set tmpl=component & format=raw in the controller before calling for the template. Your system msgs div should be inside the component to be shown.

Related

Close modal dialog page and refresh the page Oracle APEX

I am trying to close a modal dialog page after changes have been made and then refresh the edit form that was underneath the modal dialog in Oracle Apex.
I tried using dynamic action to close the dialog, but it seems that the dynamic action proceeds the processing step, resulting in the data not being saved into the database after the modal dialog has closed.
modal dialog = page
edit form = page
modal dialog is a pop out on the edit form
Is there a way to close the dialog, while saving the data and also refresh the edit form?
I think there is a way to also redirect to previous page but I do not know how to do that.
Yes there are many ways to close the dialog box while saving the data.
you can use the process for dialog close, process should be after your process which is saving data.
Javascript: please refer below link
http://ashishtheapexian.blogspot.in/2017/06/refresh-region-of-base-page-when.html
https://apex.oracle.com/pls/apex/f?p=1200008:15:132444785184935::NO:RP:P15_POST_ID:142
Branching :
You can create a branch after processing point. this will redirect and close the dialog after saving you data to the database.
Refresh Page when Dialog is closed. Click here
this blog will give enough information about how to refresh the Page when model dialog closed (cross icon).
We can trigger a dynamic action when user press cross icon in model dialog. This will archive by pasting the following code in Model dialog property-> Dialog -> attribute:
close: function(event, ui) {apex.navigation.dialog.close(true,{dialogPageId:7});}
And one more thing we need to keep in mind that "chained property" set to Yes for page to refresh. Here 7 is model dialog page number. Above given code will trigger dialog closed event.

Oracle Apex 5.1: Edit link in report not working

I have made an interactive report with a From. My report is made by joining two database tables. After creating the report and the form page I changed my Form Type from "Normal" to "Modal Dialogue" in page designer and also made several changes in the form page.
When I run the report page and click the "Edit" link in the report the form page appears but the form field is not fetching any data to be updated. Also there is no "Delete" button and "Save" button in the from which are supposed to be there.
Could anyone help me correct the edit link so that when I click the edit link I can edit data and save or delete?
When I run the report page and click the "Edit" link in the report the form page appears but the form field is not fetching any data to be updated.
What are the values in session? Did you check those ? After changing Normal page to Modal page make sure you are passing ITEM and Value to you're modal page when user clicks on EDIT link.
Also there is no "Delete" button and "Save" button in the from which are supposed to be there.
This button must be conditional. Lets say for an example i wanted to see Delete and Save button when One of my page item have some value(where by i can make sure i'm editing something in this case) if not then i am creating new stuff so i don't need to see Delete and Save button.

How do I view last pages output in debugger

I have events set to fire throughout the website on button and link clicks etc.
For this particular button, on click, the page loads, displays for a second the GA Debugg output and then redirects to a new page before I've had a chance to read the output from the button click event.
Is there a way in GA Debugger to view the last pages output?
I'd suggest installing the ObservePoint plugin - you can enable a "persistent" mode that won't clear the console on page refresh.
https://lh6.googleusercontent.com/lKLkVzXtUv5vKaUkGr7XcuDp4fPfKpjd9vS7xl0Ci9N7WUY1Jvt6t4CNfxWLqYn6pOMG1j9F=s640-h400-e365-rw
ObservePoint doesn't format the GA params as nicely as the debugger, but it's serviceable.

Ordering issue in modal window

I have a problem with a component that loads in to a modal window. I am using the Alpha User Points system and it has a component that gives you a full list of yous site's users. It also gives you the ability to order by username, by points etc. If I use it outside of modal window it works fine. If I use it in to modal window, ordering don't work!!! When I put my mouse over table's headers, outside of modal window gives this...javascript:tableOrdering('aup.referreid','asc','');In to modal window I see this...javascript:tableOrdering('aup.referreid','asc','');?ml=1 Using Firebug, I remove this ?ml=1 and it works into modal also!!! So the question is, why in to modal window gives this ?ml=1, what is this? And how will I remove it?
Well here is the answer... I use the Modalizer extension of nonumber.nl. I was loading my component through modalizer's modal box, this is why I had this issue. So, if anyone use Modalizer to popup components and have the same problem with me, just go to modalizer's Plugin Manager, find the option Convert Links inside Window and disable it!!! But, after this, if you want to add link in to modal window and you don't want to show-up the whole front page but only the component or what ever this is, you have to add at the end of the link this &ml=1.

ASP CascadingDropDown control does not reload on postback

I have a web form page that contains two modes: View and Edit. When in view mode, I do not load the CascadingDropDown control. When in edit mode, I do load the CascadingDropDown control.
When in edit mode, the user also has the ability to click another edit button to enable a set of checkboxes and then click update. Clicking these buttons while in edit mode causes the web form to be posted back to the server for process. When the form is redisplayed (still in edit mode) some dropdowns have values to choose and others have nothing. I programatically create the cascading drop down controls in the pre-render phase ever time the page is loaded. I noticed the AjaxControlToolkit script code is not in the output HTML when the user posts back but it is the first time they come into this page.
Seems like I need a way to get the Toolkit to load its scripts after postback? I cannot use update panels either because new dropdowns are added after postback.

Resources