I have created a facebook application for addding page tab in any facebook page.
Everything is working fine but i am not able to change the icon the tab i am adding.
I am using following code of php sdk
if($facebook->api($tabid, 'POST', array(
'custom_name' => $tabtitle,
'image_url'=>$newname,
'is_non_connection_landing_tab'=>1,
'access_token'=>$mpagetoken
))
Please tell me where i am wrong in this ?
There is no such field as image_url in page tabs.
Actually tab icon is the application icon which is icon_url field of application object, and while some of fields may be edited by issuing POST request to https://graph.facebook.com/APP_ID?PROPERTY_1=PROPERTY_VALUE this field isn't marked as editable:
Not all app properties can be edited via the API, please refer to the properties in the table above for an indication of whether a property can be edited or not.
Related
When creating an event with the API:
https://developers.google.com/google-apps/calendar/v3/reference/events/insert
If I fill the fields source.title and source.url:
source.title string Title of the source; for example a title of a web page or an email subject.
source.url string URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
With the old interface, on the event I could see a read-only field, between "Calendar" and "Description":
Source [Link icon] The title of my link, from [source.title]
And "The title of my link, from [source.title]" was a link to [source.url]
With the new calendar interface, the same event instead shows:
[Email icon] This event was automatically created from an email. [View confirmation]
And [View confirmation] is a link to [source.url]
Am I missing something? Is that a bug on the new interface or is the API documentation deprecated for these fields?
The bug tracker link to that issue: https://issuetracker.google.com/issues/73334552
There was recently a large upgrade of the Google calendar web UI. This happend around October if memory servies.
This looks like a bug to me there have been a few of them asssoicated with the API and the new web UI not being updated and fully tested.
I am going to reach out to my contacts at Google to have someone check this in the mean time would you mind posting this on the issue tracker and pasting me the link? issue tracker
We are using Gravity form to send out notification email when a user signs up and registers for friend/family for an event, and it's embedded with following code:
[gravityforms action="conditional" merge_tag="{Do you want to register any family members or friends?:30}" condition="is" value="Yes"]
You have also registered:
{list:31}
[/gravityforms]
Since email styling only accept inline styling, how can I style the table that is embedded inside email when I don't have direct access to it?
You can format the email notification in the gravity form edit screen. Open your registration from for editing, go to 'Form Settings' -> 'Notifications' and at the bottom of the page check the 'Disable Auto-formating' box. Now you can write custom html into the 'Message' pane and format any way you like.
My colleague found where the table inside gravity form is coming from: wp-content/plugins/gravityforms/includes/fields/class-gf-field-list.php - get_field_input
So one needs to go to (line 393 in my file):
$list = "
I am trying to create a button which does exactly the same work of 'execute query' button in the smart bar.
Below are the steps I tried, but isnt working. Please tell me what am I doing wrong.
I am creating a simple form using Oracle XE Express Edition 11g and Oracle Forms 10g.
This is a very simple form that displays employee details (Form).
I created a button 'Display', which when pressed, calls execute_query;
When I clicked display button, it gives:
FRM:40202 : Field must be entered.
Additionally the cursor is blinking in the Employee ID field. The 'Execute Query' button in the 'Smart Bar' works fine.
Could you please show me how to make it work?
Ok Guys... Got the fix from a different forum.
Go to the property palette of the field where the cursor is (In my case it is Employee ID) --> Under 'Data' --> 'Required' --> set to 'NO'
The above method will work but a better approach is
in PLSQL Editor (button - When_button_pressed) - enter the below code
GO_BLOCK(NO_VALIDATE);
EXECUTE_QUERY;
Then in property palette --> Mouse Navigatable --> set to 'NO'
Save and run the form... You are good to GO.
write a query EXECUTE_QUERY(NO_VALIDATE);
then it will not show an error FRM:40202 : Field must be entered.
I have an browser based application built with Flash Builder (actually Flex 3.5) with a Java backend. The application works well. It has a default login page and users can always login and view products by typing the product id in an input field to display product and other info.
I will like to modify this application in such a way that a product page can be viewed by just including the product id in the url something like www.myserver.com/?product_id=1234577
I am completely at lost on how to implement this and not even sure if this is possible at all.
Yes, this is definitely possible.
The key details are from Pass url parameters to a swf (flash) movie:
Look at loaderInfo.parameters["product_id"] in your Flex code; as your application initializes, hook into your current logic that brings up info when you type in a product ID.
You may use this approach . You can pass parameters like (if embedded in jsp page)
var flashvarsWF = {};
flashvarsWF.product_id= '<%=productId%>';
And you can pass this flashvarsWF in
swfobject.embedSWF()
In flex main application(mxml), you can receive this as
var pId:String = this.parameters.productId;
On my web app's home page, when the user clicks the "About" hyperlink control (System.Web.UI.WebControls.HyperLink in my default.aspx), I need another browser window to open containing an existing about.htm file.
There are other hyperlinks for "Purpose" and "Description" and "How to" and I would like each to open another browser, so that the user can refer to these while performing operations.
You should place the following code in page_l;oad event,
Hyperlink1.Attributes.Add("target","_blank")
or
you can directly change the target property of a hyperlink control to _blank
This will open the the link in new browser window.
System.Web.UI.WebControls.HyperLink have a Target property that needs to be set with _blank value as shown on example at http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.hyperlink.target.aspx
Hope this helps...