Fishpig magento2 Integration with wordpress - magento2

I want to show the wordpress posts on the magento2 page . SO I have enabled the fishpig wordpress integration extension .
And call/added the block code in the magento page content.
{{block class="FishPig\WordPress\Block\Post\ListPost" name="wp.post.list" template="post/list.phtml"}}
So it gives the setConnection() exception errors
Points :
I have used the different databases for word press and magneto.
How to integrate fish pig code get the posts from the word press database ?
Is i need to add the word press database in the any magneto 2 file ?
Please help me how to possible that ?
enter image description here
How Can i show the post detail page on click READ More button of the posts on the magento site ?
Now it is redirect to wordpress site (post detail page ) .
My Site installation directory is /news .
Site URL is : www.example.com/news
Home URL is : www.example.com/latest-news
Magento wordpress configuration showing this error
Your home URL (https://www.example.com/latest-news) is invalid.
This URL (www.example.com/latest-news) showing the list of posts but issue is post detail page redirect to 404 page .

You need to upgrade the extension to the latest version as this bug has now been fixed.

Related

Add Facebook tab for page for angular2 site

I want to add tab in my business page for angular2 site. For that I follow that steps :-
https://blog.hubspot.com/blog/tabid/6307/bid/26330/how-to-create-custom-tabs-for-facebook-business-pages.aspx
when I click on that particular tab its showing "can not Post error message" and when I try to hit this link :-
http://www.facebook.com/dialog/pagetab?app_id=12345678901234&next=https://www.aaa.com/#!/home
its remove home from this link and create that new link :-
https://www.aaa.com/#= and this link is not valid for my site.
Please tell me what I can do for angular2 site
its remove home from this link and create that new link :- https://www.aaa.com/#= and this link is not valid for my site.
You did not properly URL-encode the value - so the #!/home part belongs to the “outer” URL.
&next=https%3A%2F%2Fwww.aaa.com%2F%23%21%2Fhome
is what your URL to call the Page Tab add dialog should end with.

ALL products are redirecting to 404 error in magento 2.0

When I click on products in home page of my website, it is redirecting to some error page i.e u have typed wrong url. I am using magento 2.0. I am getting same error for all products. How to resolve it?????
but all products are displayed in categories as well as home page
Please follow the following step to solve this problem.
step 1:- Please login and open a category.
Step 2:- Please assign a product.
step 3:- Then save that category.
Now all product will be working fine.

OLD Page name exists in URL : Adobe CQ5

I am using CQ5 for one of my projects. I recently had an interesting problem. We had following page in our siteadmin -
MY-PORTAL-NAME/en/example.html
The the corrosponding URL was
MY-PORTAL-NAME/en/example.html
In my siteadmin I changed the name of page example to mydata and following URL is working fine
MY-PORTAL-NAME/en/mydata.html
But the problem is the old URL MY-PORTAL-NAME/en/example.html still exists. How can we solve this ?
The page was moved only in the author instance . The page is intact in publish instance , usually when you move an activated page the application prompts for moving the page in publish too. To fix this you can log into publish and delete the page or move the page back to old URL , deactivate it and then move it back to the new URL.

iphone childbrowser cordova :: Unable to load 2nd webpage

I am using ChildBrowser phonegap(Cordova) plugin, downloaded from Github
So far i am able to load my external page www.xyz.com/login.aspx, which has login id/pass and login button. Upon login button click with valid login data, my application should load www.xyz.com/tasks.aspx page. But blank screen is displayed. Please help to load correct page.
In log i can see following texts
New Address is : http://xyz.com/login.aspx
New Address is : http://xyz.com/tasks.aspx
but content of tasks.aspx is not displayed.
Has anyone faced such issue, or its plugin issue (if so, how to get fixed code from github?)
In my case Child browser is working fine , If you can able to navigate to "tasks.aspx" from login.aspx . I think in your coding wise no issue , if this page usage any flash content it will show blank , can you check this again.

Facebook "Like" button encoding

I've put like button on joomla site with cyrillic text:
http://womanew.kz/index.php/2011-10-22-01-42-12/2011-11-01-05-34-04/147-2011-11-07-06-22-02
When I push like button facebook's scraper incorrectly encodes the page.
Also I've created static test html page equal to this URL (http://womanew.kz/test.html), and it scrapes well.
All two pages have equal content, but the problem page is generated from Joomla PHP script.
Also I've noticed that scraper reencodes not full document (it keeps head block unchanged), please see its "See exactly what our scraper sees for your URL" debuging page on facebook.
What can I do to struggle this problem?
When I did this I use this manual and didn't have such problem. This is for Joomla website:
1.Go to the Facebook developer page here: http://developers.facebook.com/docs/reference/plugins/like-box
2.Enter the page number (found in your Facebook page URL) of your Facebook page.
3.If you don't have one, go to Facebook Create Page wizard and create a Brand >> Website page for your site.
4.Enter the height (typically 400 pixels) that you want for the Like widget
5.Click the Get Code button to generate the Facebook Code.
6.Open the Joomla Administrator on your site
7.Navigate to the Module Manager
8.Click the New button
9.Select Custom HTML
10.Paste the code into the HTML box (make sure the editor is turned off).
11.Give the module a name
12.Click the Hide Title radio button
13.Select the Module Position where you want the widget to appear
14.Click Save
Also, take a look at http://www.abolkog.com/portal/tutorials-how-to/100-how-to-add-a-facebook-like-box-to-your-joomla-site
Hope, it will help you!
I've found a bug in the site. One of joomla's modules was truncating UTF-8 strings in byte boundaries and this was created one-byte bug character in the page, after this character scraper starts using incorrect encoding.