Page 17 of 39 FirstFirst ... 7151617181927 ... LastLast
Results 161 to 170 of 381
  1. #161
    Join Date
    Aug 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    How long does it take for the new version of the plugin to show up on the Add-Ons Page? Are they usually this slow?

    Thanks,
    Bill

  2. #162
    Join Date
    Oct 2009
    Posts
    12
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    I finally got the checking if the video field in database is filled function done. Just need a little copy-paste so ill explain it to you guys. This adds a column to your prodcut listing showing if there is a flash file or not linked to the product.

    You need to edit one of the excisting columns so i picked WEIGHT (so this function can be turned off or on when you disable WEIGHT at Admin->Product Listing)

    Go to includes/modules/product_listing.php and then go to case 'PRODUCT_LIST_WEIGHT':

    Delete the whole code within the case 'PRODUCT_LIST_WEIGHT': and the break; tag. Then add the following code:

    Code:
        $sql5 = "select * from " . TABLE_PRODUCT_EXTRA_FIELDS . "
                where products_id = '" . $listing->fields['products_id'] . "'";
    
        $files = $db->Execute($sql5);
        $products_video = $files->fields['video'];
    
    if (!empty($products_video))
    { 
    $lc_text = 'This product has a flash file'; 
    
    } else {
    
    $lc_text = '';
    
    }
    This is a quick solution and i havent tested it fully yet, but it seems to work perfect. Good luck

    Example:
    http://alturl.com/in5vr
    (check the column to the left named Movie)

  3. #163
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Hi

    I seem to almost have this working with the latest zen cart (1.3.9h) but not quite ....

    When I go to look at one of the files, I get the following error message:

    Forbidden

    You don't have permission to access /product_extra_files/ on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    Any idea what I need to do? I have changed the permissions ... and uploaded the document (a pdf) but cannot get it to open.

    Arrrgghhh ... so close and yet so far. When I hover over the link, it shows the folder but not the particular file ...

    Any help, gratefully received ...

    Gillian

  4. #164
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    You shouldn't be able to view that folder in a browser - only thru ftp.

    If the file itself isn't showing in the link, then something isn't working.

    At this point, I'll send the newest version via email since it hasn't been added to this site. Obviously, whoever is in charge is on vacation.

    Just PM me with your email address.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  5. #165
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    The newest version for 1.3.9h is up in the contributions finally:
    http://www.zen-cart.com/index.php?ma...oducts_id=1331
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  6. #166
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Hi Delia

    I have gone through the new files and merged the changes to my Zen Cart. However, I still cannot get it to work entirely. Attached is a screen shot of what is showing.

    The top section are some fields I altered using product_weight as a starting point. Most of those work (except one which inexplicably will work if I populate it from the database but not from the admin pages).

    Below are your extra fields. The first is a Youtube video but all I get is text. The other documents are pdf but when I go to click on them I get the following error message ...

    Forbidden

    You don't have permission to access /product_extra_files/ on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    Any ideas what I am doing wrong?

    Many thanks.


    Gillian
    Attached Images Attached Images  

  7. #167
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,360
    Plugin Contributions
    23

    Default Re: Product Extra Fields for text, pdfs and flash

    I would guess you are on zen cart version 1.3.9g - upgrade to h, the problems have been fixed.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  8. #168
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Hi Delia

    No, I have already upgraded to h ...


    Gillian

  9. #169
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Hi

    I have compared all files and ensured that I have everything updated correctly (using 1.3.9h and product_extra_fields ver. 5)

    Slowly getting closer but still not got it working ...

    Now when I add a file (e.g. Redwood.pdf), I can see the file in the link ... See the attached jpg. At the top of the attachment you can see it shows that the pdf has been successfully added and at the bottom it shows the location of the file when I hover over the link ...

    For some reason, it is showing the product_extra_fields folder as being in the Admin folder. I had put it into the main folder ... So that is the first problem ....

    Next, when I update the product, and then hover over the link, it no longer shows the document, nor does it show it as being in the ADMIN folder ... so there is something going wrong there.

    Also, when I go to the store, the file is not showing up ... still just going to the folder and not the file itself.


    Any ideas?


    Gillian

  10. #170
    Join Date
    Nov 2009
    Posts
    59
    Plugin Contributions
    0

    Default Re: Product Extra Fields for text, pdfs and flash

    Oops here is the attachment ...
    Attached Images Attached Images  

 

 
Page 17 of 39 FirstFirst ... 7151617181927 ... LastLast

Similar Threads

  1. Replies: 1
    Last Post: 10 Sep 2013, 10:09 PM
  2. Can I add two extra fields for inputting time and date delivery wanted?
    By Desjames in forum Managing Customers and Orders
    Replies: 2
    Last Post: 20 Jun 2010, 08:56 PM
  3. Extra pages and flash movie
    By g.nencini in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2009, 11:51 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