Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Adding an Image to Define Page Editor

    I've searched how to do this and my image isn't showing up for some reason.

    I ftp uploaded my image as a png at first, wrote out the code for it. That didn't work. So I saved the image as a gif and reuploaded, still didn't work. Tried out the html area editor. Nothing.

    I even went into languages/english/filename.php and that just made zencart angry.

    The url for the image works. I don't get why it's not working.

  2. #2
    Join Date
    Jan 2005
    Location
    Mosquito Coast, Texas
    Posts
    92
    Plugin Contributions
    0

    Default Re: Adding an Image to Define Page Editor

    A link would be helpful

  3. #3
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding an Image to Define Page Editor


  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding an Image to Define Page Editor

    It's not an image problem.
    Your page is breaking due to a system error, presumably something amuck with some PHP change you've made, or maybe you've marked that define page file with wrong permissions and it can't be accessed ... or something.

    FAQ on troubleshooting blank or partially-blank pages: https://www.zen-cart.com/tutorials/index.php?article=82
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding an Image to Define Page Editor

    admin>config>define page status
    all my pages are enabled at 1.

    i didn't make any customizations to the php files other than renaming the page titles and such. i've been using the About Us Page add-on: http://www.zen-cart.com/index.php?ma...roducts_id=182

    i'll try reuploading the files, see if that makes a difference.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding an Image to Define Page Editor

    And what do the myDebug log files reveal?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding an Image to Define Page Editor

    oh hell. i have 73 debug files.

    they all seem to be the same error though.

    [06-Sep-2010 14:53:54] PHP Warning: require(includes/languages/english/html_includes/FILENAME_DEFINE_PRICING.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/content/m/e/e/user/html/cb/includes/templates/mytemplate/templates/tpl_pricing_default.php on line 23
    [06-Sep-2010 14:53:54] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/english/html_includes/FILENAME_DEFINE_PRICING.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/m/e/e/user/html/cb/includes/templates/mytemplate/templates/tpl_pricing_default.php on line 23

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding an Image to Define Page Editor

    So, you've not defined the constant for FILENAME_DEFINE_PRICING yet.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding an Image to Define Page Editor

    i'm not sure what you mean by define the constant. do i just change 'page' to the file name?

    require($define_page);
    to this>
    require($define_pricing);

  10. #10
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding an Image to Define Page Editor

    You said you've been modifying the About Us files, but apparently you've missed updating these:
    Code:
    // About Us Filename Defines
      define('FILENAME_ABOUT_US', 'about_us');
      define('FILENAME_DEFINE_ABOUT_US', 'define_about_us');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. adding multiple pages to define page editor
    By dirtbikerzap in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 23 Sep 2011, 04:03 AM
  2. Can't Edit Define Main Page in Define Page Editor
    By robynannw in forum General Questions
    Replies: 2
    Last Post: 8 May 2010, 05:15 PM
  3. Adding page to Define Page Editor
    By redpostbox in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Aug 2007, 02:17 PM
  4. Adding pictures in Define Pages Editor
    By jemenvy in forum Customization from the Admin
    Replies: 1
    Last Post: 5 Apr 2007, 08:52 PM

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