- Posts: 846
- Thank you received: 92
JSON output
12 years 8 months ago - 12 years 8 months ago #141196
by lionel75
JSON output was created by lionel75
Hi
1-Can we display hikashop product easely with a specific layout like article blog layout (OPTION # Leading # Intro Articles # Columns #Intro ) . Is there some documentatoin , tutorial ?
2-which way is the best easy way ( jed extension, php coding ) if i want to be able to have in the web page a json file from subset of hikashop product ( filter base on categories .. price ? ) .
3-in a way i want to use premade filter search in the server side that ll be use in the client side in json format mix with javascript template . The best ll be that since the parameters for serch filter is already know that the json file could be generate when need form the Back End and store in OS file system !
regard's
1-Can we display hikashop product easely with a specific layout like article blog layout (OPTION # Leading # Intro Articles # Columns #Intro ) . Is there some documentatoin , tutorial ?
2-which way is the best easy way ( jed extension, php coding ) if i want to be able to have in the web page a json file from subset of hikashop product ( filter base on categories .. price ? ) .
3-in a way i want to use premade filter search in the server side that ll be use in the client side in json format mix with javascript template . The best ll be that since the parameters for serch filter is already know that the json file could be generate when need form the Back End and store in OS file system !
regard's
Last edit: 12 years 8 months ago by lionel75.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #141251
by nicolas
Replied by nicolas on topic JSON output
Hi,
1. I'm not sure I understand what you want to display ? Could you give more details ? hat do you mean with what you wrote in the parenthesis ?
2.3. PHP coding will be necessary.
1. I'm not sure I understand what you want to display ? Could you give more details ? hat do you mean with what you wrote in the parenthesis ?
2.3. PHP coding will be necessary.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #141277
by lionel75
Replied by lionel75 on topic JSON output
thank's
it is a shame there is no extension that generate json file of items from component object type !!
it is a shame there is no extension that generate json file of items from component object type !!
Please Log in or Create an account to join the conversation.
12 years 8 months ago #141286
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic JSON output
Hi,
Joomla have the project to integrate a web service system in order to have the possibility to serialize every kind of data.
The project was targeted for Joomla 3.2 but it missed the deadline.
In our opinion, it would be better to have something in Joomla itself for such serialization and web-service. If all component have to embed their own web-service system they won't be able to communicate correctly or to integrate between them.
In our side, we made some tests like the WebService system in HikaSerial. But I am not convince enough that this implementation is a good thing (or the best way) for HikaShop.
If you have some ideas, we will be pleased to read them.
Regards,
Joomla have the project to integrate a web service system in order to have the possibility to serialize every kind of data.
The project was targeted for Joomla 3.2 but it missed the deadline.
In our opinion, it would be better to have something in Joomla itself for such serialization and web-service. If all component have to embed their own web-service system they won't be able to communicate correctly or to integrate between them.
In our side, we made some tests like the WebService system in HikaSerial. But I am not convince enough that this implementation is a good thing (or the best way) for HikaShop.
If you have some ideas, we will be pleased to read them.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
12 years 8 months ago - 12 years 8 months ago #141361
by lionel75
Replied by lionel75 on topic JSON output
Hi
i was aware of support Json for joomla 3.x . i think it is better is joomla handle json for all "extension"
my problem seem come to
1- json
$.getJSON(xxx]').attr(xx),
2 some code appear in the end of the page
i really don't know how this occur
i was aware of support Json for joomla 3.x . i think it is better is joomla handle json for all "extension"
my problem seem come to
1- json
$.getJSON(xxx]').attr(xx),
2 some code appear in the end of the page
i really don't know how this occur
Last edit: 12 years 8 months ago by lionel75.
Please Log in or Create an account to join the conversation.
12 years 8 months ago - 12 years 8 months ago #141380
by lionel75
Replied by lionel75 on topic JSON output
Hi
Hi
1-- Since hikashop don't use jquery and osm use it , i have a look to hikashop.js and i try to change
function stopPropagation() { this.cancelBubble = true; }
to
function stopPropagation() { this.cancelBubble = false; }
and it is working now !!!
I think this code is refer to how event is capture by DOM hiearchy function .
Is it safe to do the change i make in this javascript code ?
2-- the end of the file is truncate
</body></html> seem remove refer to my index.php code !!
<script > content is truncated
Regard's
www.javascripter.net/faq/canceleventbubbling.htm
javascript.info/tutorial/bubbling-and-capturing
Hi
1-- Since hikashop don't use jquery and osm use it , i have a look to hikashop.js and i try to change
function stopPropagation() { this.cancelBubble = true; }
to
function stopPropagation() { this.cancelBubble = false; }
and it is working now !!!
I think this code is refer to how event is capture by DOM hiearchy function .
Is it safe to do the change i make in this javascript code ?
2-- the end of the file is truncate
</body></html> seem remove refer to my index.php code !!
<script > content is truncated
Regard's
www.javascripter.net/faq/canceleventbubbling.htm
javascript.info/tutorial/bubbling-and-capturing
Last edit: 12 years 8 months ago by lionel75.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #141458
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic JSON output
Hi,
If it is working for you, I don't know what I can tell you.
Regards,
If it is working for you, I don't know what I can tell you.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds