osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Can anyone recommend a PDF maker contribution?

This is a discussion on Can anyone recommend a PDF maker contribution? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi all. As the subject states, What I was really wondering if there is a mature contribution, could you recomend ...

      
  1. #1
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default Can anyone recommend a PDF maker contribution?

    Hi all. As the subject states,

    What I was really wondering if there is a mature contribution, could you recomend one.


    Cheers

    Van..

  2. #2
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    I need to be able make one big pdf file...with all products etc. -or is that to much to ask?

    Van...

  3. #3
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    Well, I thought I'd give 'Catalog products PDF reports V1.4' a try.

    I ran into these problems.....

    in admin/includes/boxes/tools.php

    //Admin begin
    // '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' .
    // '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>');
    // '<a href="' . tep_href_link(FILENAME_PDF_CATALOGUE) . '" class="menuBoxContentLink" target="_BLANK">' . BOX_TOOLS_PDF_CATALOGUE . '</a><br>';


    tep_admin_files_boxes(FILENAME_BACKUP, BOX_TOOLS_BACKUP) .
    tep_admin_files_boxes(FILENAME_PDF_CATALOGUE, BOX_TOOLS_PDF_CATALOGUE) .
    tep_admin_files_boxes(FILENAME_BANNER_MANAGER, BOX_TOOLS_BANNER_MANAGER) .
    some more files........

    //Admin end

    My question to you is: Why are these links in at the top commented out. And how do I go about creating a @valid : tep_admin_files_boxes(FILENAME_PDF_CATALOGUE, BOX_TOOLS_PDF_CATALOGUE).

    entry??

    What files do I have to edit...

    Again thanks for your time and guriuing.......

    Van

  4. #4
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    To explain it a little bit better....

    You see at step 6 you are spoused to

    6 - In /includes/boxes/tools.php, put line :

    '<a href="' . tep_href_link(FILENAME_PDF_CATALOGUE) . '" class="menuBoxContentLink" target="_BLANK">' . BOX_TOOLS_PDF_CATALOGUE . '</a><br>' .

    but the above a href (links are commented out and generated some way different with the tep_admin_files_boxes syntax.

    Please explain what is the differense.

    Van....

  5. #5
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    If I use the a href link I get a

    Parse error: parse error in /home/ofgnryef/public_html/catalog/admin/includes/boxes/tools.php on line 35

    line 35 contains: '<a href="' . tep_href_link(FILENAME_PDF_CATALOGUE) . '" class="menuBoxContentLink" target="_BLANK">' . BOX_TOOLS_PDF_CATALOGUE . '</a>';

  6. #6
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    and in the catalog i got these....

    Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/ofgnryef/public_html/catalog/includes/functions/database.php:13) in /home/ofgnryef/public_html/catalog/includes/functions/database.php on line 13


    WELL I MUST SAY THAT I AM SOMEWHAT XXXXX NOW!

    I am following the installation instructions: Are they correct are or is it just my own stupidity>?

    >>>

    This script work for OSCommerce 2.2 today snapshot.
    If the script do not work for an older snapshot ask me for one of my older script. << Can i contact you some how...
    ________________
    | Installation |
    |______________|

    In Admin Directory
    ------------------


    1 - Copy "pdf_catalogue.php", "fpdf.php", "pdf_config.php'
    and "font" directory at the Admin root

    2 - In /includes/application_top put line :

    define('FILENAME_PDF_CATALOGUE', 'pdf_catalogue.php');

    4 - In /includes/languages/english.php put line :

    define('BOX_TOOLS_PDF_CATALOGUE', 'Generate catalog(s)');

    5 - In /includes/languages/french.php put line :

    define('BOX_TOOLS_PDF_CATALOGUE', 'Générer catalogue(s)');

    6 - In /includes/boxes/tools.php, put line :

    '<a href="' . tep_href_link(FILENAME_PDF_CATALOGUE) . '" class="menuBoxContentLink" target="_BLANK">' . BOX_TOOLS_PDF_CATALOGUE . '</a><br>' .


    In Catalog Directory or where is your Oscommerce catalog
    ---------------------------------------------------------

    1 - Make directoy /catalogues. chmod 755

    2 - Copy adobe_pdf.gif in /images

    3 - Copy "pdf_catalogue_info.php" at root

    Copy includes/languages/french/pdf_catalogue_info.php under includes/languages/french/pdf_catalogue_info.php

    Copier includes/languages/english/pdf_catalogue_info.php under includes/languages/english/pdf_catalogue_info.php

    4 - In /includes/application_top put line :

    define('FILENAME_PDF_CATALOGUE', 'pdf_catalogue_info.php');

    5 - In /includes/languages/french.php put line :

    define('BOX_INFORMATION_PDF_CATALOGUE', 'Catalogue téléchargable');

    6 - In /includes/languages/english.php put line :

    define('BOX_INFORMATION_PDF_CATALOGUE', 'Downloadable catalog');

    7 - In /includes/boxes/information.php with other links, put line :

    '<a href="' . tep_href_link(FILENAME_PDF_CATALOGUE, '', 'NONSSL') . '">' . BOX_INFORMATION_PDF_CATALOGUE . '</a><br>' .

  7. #7
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    05/16/2003 - Catalog products PDF reports V1.4 Author: Gurvan Riou

    I did a search on the forum.. ON Gurvan Riou; got 0 results....what is happenig today .....???

    any ideas where he can be contacted admin?

  8. #8
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    too see problem live.

    http://www.insituconservation.com/catalog/

    see under quick search

  9. #9
    Member
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    69
    Rep Power
    0


    Default

    Managed to get this e-mail: gurvan.riou@laposte.net

    however returned

    The following addresses had permanent fatal errors ----- <Core:gurvan.riou@laposte.net>

    well well, to day is not my day....

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    vandiike, You are making this too complicated. Very simple. MAX admin does not use the same box structure as MS2, which the mod is written for, so you cannot use the link structure they provide.

    How about this - just copy one of the other links, then replace the defines so they match the current structure. Not a big leap there.

    So add this:

    Code:
    tep_admin_files_boxes(FILENAME_PDF_CATALOGUE, BOX_TOOLS_PDF_CATALOGUE) .
    on any line in the array, before this line:

    Code:
    tep_admin_files_boxes(FILENAME_WHOS_ONLINE, BOX_TOOLS_WHOS_ONLINE));
    I have added this mod to several stores, and it works fine. If you are getting a parse error, it is not related to the added link, unless you messed up the syntax.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Page 1 of 2 12 LastLast

Similar Threads

  1. Contribution help
    By offnetrob in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-02-2006, 01:57 PM
  2. PDF DataSheet Maker
    By HumanEasy in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 04-28-2004, 09:25 AM
  3. any contribution?
    By superkor in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-20-2003, 11:04 AM
  4. Anyone created penpal and match maker shop?
    By laonux in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-23-2003, 08:19 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
  •