Customize jBackapp for K2 items
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
9 years 2 weeks ago - 9 years 2 weeks ago #4442
by alphaa
in "services.js ", I changed :
section_a : ...
section_b : ...
section_c: "end-point>?action=get&module=k2&resource=items&cats="L"&limit="X"&subs="M""
};
var content = "<end-point>?action=get&module=k2&resource=items/"
My problem is the section works well, but once I arrived on the content page, there is no blank page .nothing s poster.
Last edit: 9 years 2 weeks ago by alphaa.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 2 weeks ago #4445
by admin
Becuase you need to bind different data. The response for articles is different from the response for K2 items.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
9 years 2 weeks ago #4447
by alphaa
I see, what solution would you suggest me? Should I completely change the configuration of this:
"
getContentItem: function(id, successCallback, errorCallback){
$http.get(content + id)
.success(function(data, status, headers, config) {
successCallback(data);
"
or not?
Another thing is that I have an issue I'd like to fit my application if only that walk bien.It's Another thing is that I have an issue I'd like to fit my application if only that walk bien.C'est :
market.ionic.io/plugins/card6-ionic-card-theme
I would like to have your opinion. Thanks and sorry for my English.(use google translate
)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 2 weeks ago #4450
by admin
Hi,
my suggestion is to print out the "data" response in the console and check out which fields you need to print in your view. Sorry if I cannot go deeper than this, but this is a question more related to the Ionic code on the client side.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.155 seconds