I am browsing through all the current Magento extensions via Magento connect. It takes a very long to go page by page through this list and is cumbersome. Is there any API available that gives a list of all the available extensions or a Index list of these extensions.
Your help will be appreciated.
Related
I have the below site structure. When you access the site MyWebsite.com by default the page being loaded is Home item under Korea (MyWebsite/Korea/Home).
What I need to do is:
When the site is being access in china the default homepage should be the one under china (MyWebsite/china/Home). Same thing with Japan, when the site is access or browse in japan the default homepage should be the one in Japan(MyWebsite/Japan/Home). Other than this, the default homepage should be the one under in Korea.
How to do this? And what is the best of doing this in Sitecore.
I am experimenting about Geolocation HTML5 API to determine the location. Then redirects to the appropriate page once I know the location. But I am hesitant becuase I am thinking that there maybe a better way of doing this in Sitecore.
Your advice and help is greatly appreciated.
Thanks,
Your options appear to be:
Use a geoIP lookup service in a pipeline to redirect the user based on their location - Maxmind provides a free implementation that will give you the country.
You can change your approach slightly - using geoip to persoanlise the homepage using Sitecore's personalisation engine. This way you have 1 home page, but present different components to a user depending on their location. this is ideal if the content varies but the overall site structure is the same for each site.
If the sites are fundamentally different then you can set them up as separate sites in Sitecore and bind them to different host names i.e mysite.jp, mysite.cn etc. With your current set up you may experience problems with cross links - i.e visitors on the chinese site being able to access korean pages.
The final option (which i believe is now available in sitecore 8) is to have 1 homepage and vary the presentation by language. This was not previously possible as the layout field was shared.
To expand on this option - Sitecore 8 has changed the way that the page layout is created. Previously the __Renderings field was shared across all language versions. This is still the case however there is now the addition of a _FinalRenderings field. If you open an item and look at the presentation > details view from the ribbon you will see two tabs - shared layout and final layout. It is this final layout that can be varied across language versions. If you open the page in page editor then it is this final layout that you are editing. See the following blogs for a more detailed explanation:
http://www.seanholmesby.com/presentation-details-changes-in-sitecore-8-how-renderings-are-stored/
http://roundedcube.com/Blog/2015/exploring-sitecore-8-versioned-layouts
To implement this, open your base homepage - Korean i think in your example and create a new language version in say Japanese (here is a link to a useful tool from the Sitecore marketplace to instantly copy all the content from the Korean version - not sure if it works on 8 though https://www.cognifide.com/blogs/sitecore/quickly-create-new-language-versions-on-your-sitecore-cms/ )
Once you have your Japanese version open the presentation details and start editing the layout. If you now publish and view the Korean page you should see a different layout to the Korean version.
Once you have done this, you will solve your problem by using Sitecore language settings to control your content - if the user changes language, or if you go to www.mysite.com/jp-jp then you should see the Japanese version of the homepage
As #Moorag suggests, a Geo IP service (or local database) is a common way to achieve location based redirection. There are already modules in the Sitecore marketplace to help with this. Here's a good one:
Geiolite Lookup Provider
.. and here are some good posts on the subject:
Sitecore GeoIP Country Resolving - Jump to Lightspeed
Sitecore GeoIP: Helping The First Visit
If you're concerned about the overhead that doing a lookup entails, then a lighter weight option is to try to initially determine the country/language using the user's browser settings which are included as part of the request. This post has the code to achieve it:
Get language and country from a browser in ASP.NET
It's less accurate, but can be a good "first pass" option before going to the Geo IP lookup if it fails.
I am working on sitecore 8, I have installed MongoDB and I am wondering how i can get the Social Media enable in my sitecore. I want to show the latest twitter feed of the organization on page. Through some search I got to know sitecore 8 have given this feature out of the box.
Could anyone help me in this.
Thanks in advance.
Why do you need to do it via Sitecore?
Twitter has page for creation widgets: https://twitter.com/settings/widgets/new (You should be logged in to Twitter to create widget). You are able to create any widget for organization (by Twitter username), for tag (by Twitter hashtag), etc. You can copy code from Twitter to your sublayout and use it.
It has sense to do it using Sitecore Social only if you want to show different Twitter spots for different Twitter users.(But you said that you want to do it for organization). In this case, please follow documentation on dev.sitecore.net or sdn.sitecore.net
widgets are soon to be deprecated, try to use https://publish.twitter.com/ instead, it provides several options to customize how you want the feed to be viewed, and you'll only need to include the html in the layout or specific view you want in sitecore.
I've seen a similar question asked a few times, but usually it is from people trying to find out which Page is currently accessing their Tab app. (Which you can do by inspecting the signed_request.)
I'm trying to build a UI that will show the user all the Pages that he/she is an Admin of, and then display which of those Pages have my Tab app already installed. I'd like to make a FB graph API call to either a) get the list of Pages that have my Tab app installed or b) get a yes/no answer for whether a particular Page has it installed. Is this possible?
As a fallback, I will make a table in my database to track Page IDs whenever a Page views my Tab (using the aforementioned signed_request) but this won't be as good, because it won't know when someone has uninstalled the Tab from a Page.
To be complete (for future readers): this does not require manage_pages. You can also use the FB app's token. Also see: Check if page tab app is still installed
In the general case, 'no', without keeping track on your side via the signed_request but if you're already obtaining manage_pages access from the user it's pretty trivial to check if a particular app (i.e, yours) is installed on the page
See the page documentation for details, relevant part:
You can test if a specific app is installed on a page profile tab by issuing an
HTTP GET to PAGE_ID/tabs/APP_ID. If the app is installed, this will return the
following fields:
(you'll need the page access token from the user's /accounts connection for that call
Does Facebook support Google's ajax crawling specification and, if so, what do you need to do to implement it?
I am trying to get the Facebook "Like" button to work with AJAX crawlable urls as defined here: code.google.com/web/ajaxcrawling/docs/specification.html
I have this url which I can go to directly and it loads. Note the "#!" in the url:
http://www.idkshouldi.com/?#!idkDetails_idkKey=agppZGtzaG91bGRpcmMLEiljb21faWRrc2hvdWxkaV93ZWJfc2VydmVyX2dhZV9vYmpfSWRrVXNlciIDamltDAsSKWNvbV9pZGtzaG91bGRpX3dlYl9zZXJ2ZXJfZ2FlX29ial9JZGtJdGVtGN6kBgw
When I "Like" this page it should crawl this "escaped fragment" url:
http://www.idkshouldi.com/?_escaped_fragment_=idkDetails_idkKey=agppZGtzaG91bGRpcmMLEiljb21faWRrc2hvdWxkaV93ZWJfc2VydmVyX2dhZV9vYmpfSWRrVXNlciIDamltDAsSKWNvbV9pZGtzaG91bGRpX3dlYl9zZXJ2ZXJfZ2FlX29ial9JZGtJdGVtGN6kBgw
Why won't it crawl this page? The Facebook linter is not properly crawling my page. If one uses the Facebook linter tool here: developers.facebook.com/tools/debug
It won't properly crawl an AJAX enabled URL with the "#!" in it. This is Google's specification. What Facebook's lint crawler needs to do is to replace the "#!" with "_escaped_fragment_". It doesn't appear to do that with my AJAX enabled links.
This is also a big problem for me, but unfortunately it appears Facebook does not support this Google URL notation. Facebook's crawler/parser does not translate from hash bang (#!) to an _escaped_fragment_ format URL.
Like you I have tested my page on Facebook's URL linter and it only picks up static Open Graph tags within the dynamic original page, rather than the page-specific Open Graph tags in the _escaped_fragment_ server-side variant of my page. Unfortunately, this means that Facebook sees my Open Graph tags as site-specific, rather than page specific.
It is rather an irony that this appears to be unsupported as Facebook uses this approach itself to allow Google's crawlers to pick up Facebook pages.
One potential workaround, that may help you a little bit, is:
1) Use your _escaped_fragment_ page version in Facebook links
2) Add an automatic redirect to your _escaped_fragment_ variant to the proper version.
This should mean that Facebook will pick up the proper meta tags, and the user will click the link and end up on the correct page. The downside of this approach is that the user has to know the rather ugly _escaped_fragment_ URL. In other words, it will probably only be you that knows it, unless you add some sort of 'generate shareable link' button to your page.
It is surely only a matter of time before Facebook adds support for this as single-page hash bang sites are only going to become more prevalent.
I have a Publishing Portal site and I need to add some announcements to some of the pages. I've read an article which says that i have to create an announcement list to be able add an announcement web part but i can't seem to find any resources on how i can add an announcement list.
Any help will be greatly appreciated.
TIA!
Your problem is that you have not activated the relevant feature on the site settings page. You need to go to the site collection site settings page. Then select Site Actions - manage site features
Then activate the feature called Team Collaboration lists. You will now be able to create an announcement list
From the home page of your site (or from any page really) you should see a "View All Site Content" link on the top of the navigation menu.
View All Site Content http://friendfeed.s3.amazonaws.com/86fed07f0809beefaeeaee0013ee2b952079bc09
Click on that link and it will show you a dashboard listing all of the SharePoint lists that have been provisioned for the current site. Click on the Create button to create a new SharePoint list.
Create new SharePoint List http://friendfeed.s3.amazonaws.com/6c0b244801826f8b3ee01811211b88668ba8f713
From there you will see the option to create an Announcments list (under the Communications header). Complete the wizard to complete the list.
Once the list is created you can select Edit Page from the Site Actions menu on any SharePoint page in the site and then select a "Add a Web Part" on the web part zone you want to put your Announcements web part into. You should now see a web part listed with the same name as your Announcements list that you just created.
Select that web part to add it to the page and display.
Hope that helps. If this isn't the answer to your problem leave a comment or update your question with clarification and I will try to help.
Giving you direct instructions on how to create the list would most likely leave you more lost than ever. If this is a publishing portal, there's a lot more to learn beyond just creating a list. Content must be approved, and is versioned. I'd strongy advise you not to start poking around in there as you run a large risk of messing up the portal. Don't get stressed by people demanding you perform such things without having received any training. Grab yourself a coffee, flip your boss the finger and watch some pertinant webcasts on http://office.microsoft.com/en-us/sharepointserver/FX101211721033.aspx
Hope this helps,
Oisin