Facebook like button: predefined text in the popup window - facebook-like

I need to specify a predefined text in the textarea that pops up when you click "like". How can I do that? (I am not talking about the description that you can set with og:description).

that section of the post is populated with a built-in like (from your app).
I don't think that there is a way to add text to a facebook like, unless the person who shares it wants to add a comment. If your app has special API privileges then you can probably add a personalized message. For that though, you have to apply and applications are closed at the moment. I hope this helps.

Related

How can I view all the content of redmine, such as projects and tickets, easily on the screen?

I'm using REDMINE.
I have a list of projects on the screen.
Is it possible to add details of the ticket content to this screen?
I'd like to look over the screen at once instead of clicking with the mouse, how do I do that?
Also, if you have any plugins or useful tips and so on, please let me know.
Tamazawa, I believe you might be referring to "My Page" of Redmine where you could use widgets to decide what you see on that dashboard - keep in mind that such dashboard s project independent, so it can display issues from many projects that you are a member of on 1 screen.
For instance from My Page, you should be able to select an "Issues" widget to Add and set it up to pull a list of items to display using a saved custom query.
That should give you a snapshot of tasks at hand, without the need to click around the screen too much.
You may need to set up your saved query such that:
Description and / or
Last notes
are checked (if you want to see issues at a glance, without the need to open each one separately).
Alternatively, you can skip that "My Page" idea altogether, if you're ok with just opening a saved query with Description and / or Last notes selected.

How to use ionic model to view and edit data? is it good approach?

I have saved data in sqlite. Now i want to edit data. I want to create a model and give list of saved records in it. when user click on any row display on model it will go into edit mode . Is it good approach or should i create another page ??
I think to provide them with edit button/icon and when they click on edit button you can change all labels to Text edit format.
reasons -
This will be a mobile app, hence user needs to touch on the screen to scroll/change to another page. if the user mistakenly clicks on the label then the label will get change to edit mode and I guess that's bad user experience.
Every time you need to save the changes when the user clicks on the label (more database operation for a single word change).
Instead of this just provide edit button/icon, when they click on edit button, make the same page change to edit mode and show them save button (replace edit button).
Hope this will help you.
I don't see the link with the data model. However, when it comes to design, it is better if the user clicks on a row to open a new page.
If you want to switch to an edition mode, then you need a button dedicated to this feature.
Think "WYSIWYG" --> "What You See Is What You Get".

Sitecore 7 Custom Experience Buttons Missing

Not sure why but I am not seeing the 'Applications' folder under 'Content'. All the tutorials out there mention editing the (/sitecore/content/Applications/WebEdit/Custom Experience Button) items to accomplish what I need.
My guess is I don't have view access to the core database in order to see these items or folders? If this isn't the case, how would I go about finding these buttons? Any help appreciated and I apologize if I didn't provide enough info but my goal is to add features to the page editor component toolbars.
To make this a formal answer...
First, login to desktop mode (on login screen, select "Desktop" from "Options" expander below form). Next, change database to core at bottom right:
Finally, re-open your content manager and you should see the /sitecore/content/Applications node.

Like Button customization

I'm trying to implement the Facebook Like button into a site and basically what I want is a very simple button that when clicked likes the corresponding facebook page and then opens it in a new window. I don't want the comments or the faces or the count, just the button and when clicked I don't want the option to add a comment. It just likes the page and opens it in a new tab, nothing more.
Any help would be appreciated.
Use this link
http://developers.facebook.com/docs/reference/plugins/like/
You can find answer for your question . Simply select the Layout to box_count or button_count . You will get simple like button .
If you want to use the facebook like plugin, the only customizations you can do are available here:
http://developers.facebook.com/docs/reference/plugins/like/
This will also generate the code on html5/iframe/xfbml into your application.

Is it possible to tell if a user has viewed a portion of the page?

As the title says on a website is it possible to tell if a user has viewed a portion of the page?
Will moving that portion to a separate iframe work? then if they scroll to the bottom, issue a get request for a small image file..forgot the name of the technique..
Update: It is called Web Bug..A Web bug is an object that is embedded in a web page or e-mail and is usually invisible to the user but allows checking that a user has viewed the page or e-mail. One common use is in e-mail tracking. Alternative names are Web beacon, tracking bug, tracking pixel, pixel tag, 1×1 gif, and clear gif.
If you are talking about to check if the user has actually viewed some part of the page you would need to install a web camera and track his eye-movement.
If you are talking about detecting how far the user has scrolled down the page, you can use Javascript to detect this in the OnScroll event. You can then fire some ajax to the server if you need to record this.
I'm not sure this would be ethical - but technically if you use javascript, you could detect the mouseover event of each paragraph tag in the document, and then AJAX that information back to the server. As the user scrolls down the page, they're likely to mouse over the paragraphs, and then you know at least approximately where they've read to.
Not reliably, no.
Simple example: I middle-click on a link, which opens it in a new background tab. I then decide against it, and close the tab without ever looking at it. Any JavaScript trick is going to report that I viewed everything above the fold.
More complicated example: A newbie user doesn't have the browser window maximised, and a portion of the browser window is off-screen. Any JavaScript trick is going to report as if the entire viewport is being viewed, so even restricting your query to only the cases where scrolling occurs will not help.
Unless you require a user action of some kind, all you will be able to tell is that they downloaded some portion, not that they actually looked at it.
Sure. Put that content inside a div, then in your html, with some javascript, capture the onmouseover event and do your work there. If they've put their mouse over something, it's a pretty safe bet that they've seen it, I'd say...
Hope this helps.