My app's Opengraph location is
https://developers.facebook.com/apps/141573619260829/opengraph
I can't create a new action on preview of Aggregation.
Details-
I can't submit my action "add".It says No Aggregations created for this Action Type but i have already created a Aggregation for add but when previewing I'm having a problem.I clicked "Add New" under Preview Actions: sector & I filled spaces with data & clicked create but it says Oops Something is wrong(when i filled with wrong data it displays the problem but when i filled all correctly it this plays Oops Something is wrong. Is this a know bug? please help me to solve this..
Related
I'm new to react-grid-layout, the problem is that the layoutItem parameter is coming as undefined. I didn't understand why.
enter image problem here
To know more about the project I have created a sample example with drag and drop. I have created a sandbox.
enter link sandbox here
I'm a complete newbie to Play framework as well as Scala. I'm stuck at the following scenario.
My frontend is coded in html. The input from a user and then reads the data in scala using HashMaps.
In html, there's a textbox by the id="replayZkUrlActual"
Scala Code on calling this page so as to read the text.
val formParams = request.body.asFormUrlEncoded
val replayZkUrlActual:String = formParams.get("replayZkUrlActual").flatMap(_.headOption).getOrElse(null)
I get the values correctly and I store the value from the textfield successfully. However, I need to display this value again whenever I click on submit button of my form in the same textbox (kind of autofill the previous value). I need "replayZkUrlActual" to display its value after clicking the submit button.
The same page opens on clicking the submit button.
Can anyone please help.
Thanks
Just follow these documentation to get rid of it
https://playframework.com/documentation/2.2.x/ScalaForms
I hope it will solve your problem
I'm using bootstrap tour, and everything is working fine.
What i'd like to do now, is create a "dismiss for now" button, that should display the tour next time the page is loaded.
In the local storage, when the tour ends, it creates a key called "tour_end" and the value is "yes", so, what i'm trying to do, is to call this:
tour.removeState("tour_end")
so that hopefully, next time the page is loaded, the key is missing and the tour will show up.
Unfortunately, the previous doesn't work, and it returns with this error:
_this.tour.removeState is not a function
any suggestion why this is not working? or the best way to achieve the "dismiss for now" behave?
Thanks a lot
Edit -
I solved this adding localStorage.removeItem("tour_end"); and it seams to work as expected.
I have a large form with a image upload field working ok.
Field is defined in model as:
$this->add('filestore/Field_Image','thumbnail_id');
Then I created two tabs inside form:
$tabs=$form->add('Tabs');
$main=$tabs->addTab('General');
$design=$tabs->addTab('Design');
And moved image field to design tab:
$design->add($form->getElement('thumbnail_id'));
Now I can't upload files. When I try I get the following javascript error
Error: cannot call methods on atk4_form prior to initialization; attempted to call method 'submitPlain
Is there any other way to move the field or have upload working again after moving it?
I was trying to use the same method ($design->add($form->getElement('my_element'));) to move a slider into another place on the page. That didn't work - I think it was because the slider input field is not placed on the page the same way as other input fields.
So I tried with the jQuery appendTo-method (I found the hint in a comment from romanish in a documentation page). That worked. But then I experienced the same problem as you - and in the end I gave up and solved the problem by editing the slider-class page.
So I can't help you, sorry, but I guess this points out that there is a general problem related to getting input from moved form elements.
I'm trying to put TinyMCE on my website. I figured out how to get it to show up, but I'm lost on how to process the content. In their example, they just have a link that references the top of the page and clicking on it somehow magically causes their dump.php script to execute. I don't understand what's going on here. Here is the link:
http://www.tinymce.com/tryit/basic.php
The "Submit" button at the bottom is really a link in a span element with href="#". The form action is dump.php. I want to know how they configured this to run without an actual submit button. Any help in understanding this is greatly appreciated!
To Get Content From Tinymce You Can Use GetContent Method of Currently ActiveEditor Instance
tinyMCE.activeEditor.getContent();
method is used to getting Content .. to Set The Content
tinyMCE.activeEditor.setContent("I Want Text To Be in Tinymce");
to find a perticular element in tinymce get body and find element
var body = tinyMCE.activeEditor.getBody();
$(body).find("#elem_id")
to get a full html
tinyMCE.activeEditor.getDoc().documentElement.innerHTML
hope that helps ..
Since I use PHP, I found this which is also useful:
http://www.tinymce.com/wiki.php/TinyMCE3x:How-to_implement_TinyMCE_in_PHP