Page 34 of 43 FirstFirst ... 243233343536 ... LastLast
Results 331 to 340 of 427
  1. #331
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Hi Digi,

    this issue is new to me, but I think ZC is translating the link, rather than Bookx.
    Do I understand correctly, in the author URL field in the backend you enter:
    Code:
    AUTHORWEBPAGE.com
    and in the html code you get the URL:

    Code:
    http://mydomain.com/catalog/index.php?main_page=redirect&action=url&goto=AUTHORWEBPAGE.com
    where "mydomain.com" is the domain of your website?

    Posts around the web with similar issues of a "redirect" instead of proper link URLs suggest, that this may have to do with some other problem. Could you see if you there is something helpful in your errorlog in the cache folder?

    On what page are you seeing this problem? product_info (detail ?) or product_listing or ...?

    Regards,
    p.

  2. #332
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Quote Originally Posted by philou View Post
    Hi Digi,

    this issue is new to me, but I think ZC is translating the link, rather than Bookx.
    Do I understand correctly, in the author URL field in the backend you enter:
    Code:
    AUTHORWEBPAGE.com
    and in the html code you get the URL:

    Code:
    http://mydomain.com/catalog/index.php?main_page=redirect&action=url&goto=AUTHORWEBPAGE.com
    where "mydomain.com" is the domain of your website?

    Posts around the web with similar issues of a "redirect" instead of proper link URLs suggest, that this may have to do with some other problem. Could you see if you there is something helpful in your errorlog in the cache folder?

    On what page are you seeing this problem? product_info (detail ?) or product_listing or ...?

    Regards,
    p.
    Ok I have an 11,000 strong books site which I wish to convert to the BookX system so at this point in time I have a brand new v1.5.4 system installed along with the BookX plugin so it's completely clean.

    I have entered the Author: A J Carella as my first author (under BookX Authors) and entered her webpage as: www.facebook.com/ajcarella - on the v1.5.1 site under the Author Info sidebox this works because she is treated as a Manufacturer.

    On the test site if I use the Author Drop-Down field in the sidebox (we won't be using the Author Type field) and select A J Carella I get a centre box with her description and the Webpage Author link. That link is my domain with a url redirect to her Facebook page. When I click the link it opens up a new browser tab but my Index page.

    Please feel free to try it it out:

    http://digibooks.org.uk/DB_Library_2018/ and select A J Carella from the author drop-down. It's all very basic as you will see but I want to get BookX cracked before I even attempt a massive update of our existing site :)

  3. #333
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Just going to check the cahe folder and error logs as well

  4. #334
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    I have the same behaviour here in my installation, so no need for cache error log from you at this time. Not sure with what ZC version this was introduced, since it was working back in 1.5.1 I think. Anyway, I will let you know what I find out.

    Regards,
    p.

  5. #335
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Quote Originally Posted by DigiBooks View Post
    Just going to check the cahe folder and error logs as well
    Nothing obvious that I can see .. delete all error logs and tried again biut no new logs created

  6. #336
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Quote Originally Posted by philou View Post
    I have the same behaviour here in my installation, so no need for cache error log from you at this time. Not sure with what ZC version this was introduced, since it was working back in 1.5.1 I think. Anyway, I will let you know what I find out.

    Regards,
    p.
    Much appreciated .. sorry to cause you a problem ;)

  7. #337
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Well, don't ask me why this was working before and now it isn't, but the "redirect&goto=..." etc. link conversion was indeed part of the BookX code.
    I have changed it and you can find an updated BookX distribution version 0.9.4revision8 at sourceforge. I will upload the new archive here at ZC.com as well, but it will probably take a little to show up in the download section.
    The only changes are in these two files:
    Code:
    ZEN-CART/includes/modules/pages/product_bookx_info/main_template_vars_product_type.php
    ZEN-CART/includes/classes/observers/class.bookx_observers.php
    Best regards,
    p.

  8. #338
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Hi
    I've made a extension for EP4 , the EP4Bookx , to import bookx product type by a csv file.
    It still only works with the default language ( it only imports your default language). If you have a book shop with more than one language, I think there's a way to get around, but not to fancy. Anyway, soon I hope to finish this part. If you use just one language, it's ok.
    Note: This is working with EP4.0.31 (or 30). EP4.0.32, will have some changes in the code, so I guess only then, there is a possibility to incorporate EP4Bookx with a zencart notifier.

    Anyway, it inserts, updates and deletes bookx fields, supports multiple authors and genres, doing them as you would for EP4 categories. So :

    Author A^Author B^Author C

    It has the ability to assign some default values to bookx fields, so if a fields is left empty ( intentionally or not ), the default value is used.

    Also about types with multiple authors : If you have a default type assign ( writer, or whatever ) , then in the file, things could go this way :
    We can fill all the fields
    Authors names: Author A^Author B^Author C
    Authors Type: Writer^Illustrator^Wirter

    But also
    Authors names: Author A^Author B^Author C
    Authors Type: (empty )

    So, all the authors are of type writer.

    Or
    Authors names: Author A^Author B^Author C
    Authors Type: Writer^Illustrator

    In this case, Author C would be writer .

    Well, hope you'll find it useful,
    Do your changes in a local environment, this is still in Beta. I'll try to fix and improve issues that could come up.
    For now, it's just a quick way to fill all bookx fields.

    It's on git : https://github.com/mesnitu/EasyPopulate-4.0-BookX

    Best regards

    Edit : Just to mention: it imports the name, not the authors, publishers description and images, etc...
    bookx_author_name
    bookx_author_type
    bookx_subtitle
    bookx_genre_name
    bookx_publisher_name
    bookx_series_name
    bookx_imprint
    bookx_binding
    bookx_printing
    bookx_condition
    bookx_isbn
    bookx_size
    bookx_volume
    bookx_pages
    bookx_publishing_date
    Last edited by mesnitu; 2 Feb 2016 at 11:18 PM.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  9. #339
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Quote Originally Posted by philou View Post
    Well, don't ask me why this was working before and now it isn't, but the "redirect&goto=..." etc. link conversion was indeed part of the BookX code.
    I have changed it and you can find an updated BookX distribution version 0.9.4revision8 at sourceforge. I will upload the new archive here at ZC.com as well, but it will probably take a little to show up in the download section.
    The only changes are in these two files:
    Code:
    ZEN-CART/includes/modules/pages/product_bookx_info/main_template_vars_product_type.php
    ZEN-CART/includes/classes/observers/class.bookx_observers.php
    Best regards,
    p.
    Ok that is just giving me www.facebook.com%2fajcarella instead of www.facebook.com/ajcarella
    Last edited by DigiBooks; 2 Feb 2016 at 11:32 PM.

  10. #340
    Join Date
    May 2014
    Location
    UK
    Posts
    317
    Plugin Contributions
    0

    Default Re: Creating an add-on "product type book" for ZC 1.5

    Quote Originally Posted by DigiBooks View Post
    Ok that is just giving me www.facebook.com%2fajcarella instead of www.facebook.com/ajcarella
    In the bottom left-link of the screen it is showing correctly but linking me to www.facebook.com%2ajcarella so it looks like the the last forward slash is being interpreted as a space character (although I would have thought that to be %20) not sure what %2 is.
    Last edited by DigiBooks; 2 Feb 2016 at 11:41 PM.

 

 
Page 34 of 43 FirstFirst ... 243233343536 ... LastLast

Similar Threads

  1. Why "No, Normal Shipping Rules" option for a "Product - Free Shipping" type?
    By ilikemike in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 31 Dec 2011, 12:34 AM
  2. Replies: 5
    Last Post: 11 Sep 2009, 04:51 AM
  3. Different "Sold Out" images for each product type
    By Starlyn in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 20 Mar 2009, 10:37 PM
  4. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 AM
  5. "Array()" line on "Update Address Book" page
    By vera in forum Managing Customers and Orders
    Replies: 10
    Last Post: 22 Sep 2006, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR