How can i link my wordpress blog into the corona business sample app?

Hi,

I would like to link my wordpress blog into the corona business sample app. I would like it to link into “https://contrepcom.wordpress.com/” instead of the corona blog. Is it possible? What changes do i need to alter?

If it is not possible to link to my WordPress blog, I do have my own website. How do I link it to its feed or blog? 

Which is much easier to alter? Would like to get this done as soon as possible.

Thank you

Around line 151 of main.lua.

function myApp.showScreen2(event) myApp.tabBar:setSelected(2) local options = { feedName = "corona.rss", feedURL = "https://www.coronalabs.com/feed/", icons = "fixed", displayMode = "webpage", pageTitle = "Corona Labs" } composer.removeHidden() composer.gotoScene("feed", {time=250, effect="crossFade", params = options}) return true end

Rob

Hi, I have managed to change the feed.

However, I would like to change the following page bar color from orange to #ff3366 (255/255, 51/255, 102/255)

I have search everywhere for the fill code, still did not manage to find it.

May you assist me in finding it? Thank you!

Each scene has a widget.newNavBar (which is not a standard widget, but one in the widget-extras.lua file).  That entry is in the scene:create() function and looks like:

 local navBar = widget.newNavigationBar({ title = "Corona Labs Menu", backgroundColor = { 0.96, 0.62, 0.34 }, titleColor = {1, 1, 1}, font = myApp.fontBold }) sceneGroup:insert(navBar)

Simply change the backgroundColor table.

Rob

I have already changed that one, this is the one where you click on the blog topic, and it brings out the content. And the other one is where you click a picture in the photo gallery and it opens another window of the picture you have clicked.

You will have to change it in all scenes that use it. 

Rob

Around line 151 of main.lua.

function myApp.showScreen2(event) myApp.tabBar:setSelected(2) local options = { feedName = "corona.rss", feedURL = "https://www.coronalabs.com/feed/", icons = "fixed", displayMode = "webpage", pageTitle = "Corona Labs" } composer.removeHidden() composer.gotoScene("feed", {time=250, effect="crossFade", params = options}) return true end

Rob

Hi, I have managed to change the feed.

However, I would like to change the following page bar color from orange to #ff3366 (255/255, 51/255, 102/255)

I have search everywhere for the fill code, still did not manage to find it.

May you assist me in finding it? Thank you!

Each scene has a widget.newNavBar (which is not a standard widget, but one in the widget-extras.lua file).  That entry is in the scene:create() function and looks like:

 local navBar = widget.newNavigationBar({ title = "Corona Labs Menu", backgroundColor = { 0.96, 0.62, 0.34 }, titleColor = {1, 1, 1}, font = myApp.fontBold }) sceneGroup:insert(navBar)

Simply change the backgroundColor table.

Rob

I have already changed that one, this is the one where you click on the blog topic, and it brings out the content. And the other one is where you click a picture in the photo gallery and it opens another window of the picture you have clicked.

You will have to change it in all scenes that use it. 

Rob