JSON output

  • Posts: 846
  • Thank you received: 92
10 years 9 months ago #141196

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

Last edit: 10 years 9 months ago by lionel75.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 9 months ago #141251

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.

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
10 years 9 months ago #141277

thank's

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141286

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,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
10 years 9 months ago #141361

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

Attachments:
Last edit: 10 years 9 months ago by lionel75.

Please Log in or Create an account to join the conversation.

  • Posts: 846
  • Thank you received: 92
10 years 9 months ago #141380

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


http://www.javascripter.net/faq/canceleventbubbling.htm

http://javascript.info/tutorial/bubbling-and-capturing

Attachments:
Last edit: 10 years 9 months ago by lionel75.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 9 months ago #141458

Hi,

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum