Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Define Pages Editior - Maximum File Size?

    Quote Originally Posted by Website Rob View Post
    Always a good idea to Validate your code. Also, I would put your image code in a separate file and use a PHP include plus pre-loader code; will make things go faster.

    As it stands right now, many Browsers will lock up or not properly display the page.
    Validation has always baffled me and I've never found time to figure out all the errors that it spews out at me. This is my own site, built and maintained by me and I'm a complete amateur. Everything I know about web building is self taught, picked up from forums and a lot of trial and error. So yeah, I do tend to get a lot of validation errors :) That being said though, so does eBay.

    I'm 100% certain that anything older than Ie7 is going to make my site look like a scrambled dogs mess. Unfortunately, I have never found a reliable way to have ie6 on my PC os I just check ie7+, FF, Opera, Chrome and Safari.

    I hear what you're saying about a pre-loader. That's a brilliant idea! I'll Google for a good HTML utility. Ideally, something that dark-greys out the background while the page is loading and then stops when the page reaches 100%. Is there such a thing?

    Any pointers on how to use the PHP include to pull the html from a seperate file would be greatly appreciated.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Define Pages Editior - Maximum File Size?

    Quote Originally Posted by schoolboy View Post
    What are your file upload limits on C-Panel?

    Could this possibly also a reaction to file upload limits set in ZC?
    Quote Originally Posted by limelites View Post
    CPanel can't be the problem if it lets me upload massive files via FTP.

    Definitely seem like an upload limit that's set somewhere in ZC.
    No, it's not a ZC limitation. But if the content you're pasting is greater than your server's PHP setting for max_post_size then I'm not surprised that it's croaking.
    .

    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.

  3. #13
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Define Pages Editior - Maximum File Size?

    Quote Originally Posted by limelites View Post
    Everything I know about web building is self taught, picked up from forums and a lot of trial and error.
    I would say the majority of coders have learned the same, amateur or professional.

    So yeah, I do tend to get a lot of validation errors :) That being said though, so does eBay.
    eBay and similar large sites feel that Validation is not cost effective. They don`t realize how much money they are losing. Go to nike.com with Javascript turned off for an example of what I mean.

    I hear what you're saying about a pre-loader. That's a brilliant idea! I'll Google for a good HTML utility. Ideally, something that dark-greys out the background while the page is loading and then stops when the page reaches 100%. Is there such a thing?
    Pre-loaders can take a fair amount of time to learn but once you do, you can do anything you want with them.

    Any pointers on how to use the PHP include to pull the html from a seperate file would be greatly appreciated.
    Put all your Table code into a file, called imagesTable.txt or imagesTable.htm - makes no difference.
    Upload to the same place as your 'define_coming_soon.php' file.
    Add this code within your 'define_coming_soon.php' file:

    <?php
    include'imagesTable.txt';
    ?>


    Note: you cannot have LI tags within TD tags so remove all of them.

  4. #14
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Define Pages Editior - Maximum File Size?

    OK, I've split the file in two with a PHP include as described, thank you. Not sure how this helps but I did it anyway.

    Can't take out the <Li> tags though. Doing so stops the hover image appearing where it's supposed to... Seems to work well with the <li> tags though.

    I've had a scour on Google for a suitable pre-loader but most of it's over my head. Javascript is something that I find difficult to get to grips with. Anyone know of a good, reliable HTML pre-loader that's intelligent enough to know when the page has loaded and swithch off?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v154 Maximum file size
    By jenpen in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 29 May 2015, 05:41 AM
  2. Replies: 8
    Last Post: 22 May 2010, 04:47 PM
  3. Restrict Maximum Image upload file size ?
    By greentrees in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 May 2009, 03:37 AM
  4. Maximum file size for uploads
    By benjames in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Oct 2006, 08:18 AM

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