Keyword

Dynamic extraField

  • ProZak
  • ProZak's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140388 by ProZak
Dynamic extraField was created by ProZak
Hi. I would ask for help in creating extrafields "EAN" to search books in bookstores.
Code search engine supports the following:
<script type="text/javascript">
    (function() {
        var a4bstag = document.createElement('script');
        a4bstag.type = "text/javascript";
        a4bstag.async = true;
        a4bstag.src = 'http://www.a4b-tracking.com/pl/buybox/NUMBER_EAN';
        document.getElementsByTagName("head")[0].appendChild(a4bstag);
    })();
</script>
<div id="a4b-book-widget"></div>

How would this work:
1. In editing the article, in the extrafield "EAN" enter the number of the EAN / ISBN.
2. The script takes EAN from extrafield and inserts it into the link in the code instead of NUMBER_EAN.
3. In article shows books EAN terms of the bookstore.

I hope that I have explained everything simple and understandable :)

I would be grateful for your help.

Lukas

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #140405 by Krikor Boghossian
Replied by Krikor Boghossian on topic Dynamic extraField
Hello,

I am not sure that this possible with K2's default extrafields.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum