Plugin Directory

Changeset 602619


Ignore:
Timestamp:
09/23/2012 08:00:05 AM (14 years ago)
Author:
ti2m
Message:

FAQ update, ignore publish folder

Location:
edge-suite/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • edge-suite/trunk/admin/manage.php

    r602441 r602619  
    108108  <input type="hidden" name="upit" value="yes" />
    109109  <input type="hidden" name="action" value="upload" />
    110   <p>Upload a new Adobe Edge composition in a zipped archive, allowed formats are zip and gz.</p>
     110  <p>Upload a new Adobe Edge composition in a zipped archive, allowed formats are zip and gz. </br>
     111      Minified projects are not supported yet, please use the raw project files and compress them to an archive.</p>
    111112  <p class="submit">
    112113    <input type="submit" class="button-primary" value="Upload" />
  • edge-suite/trunk/includes/edge-suite-comp-builder.inc

    r602441 r602619  
    258258    foreach ($ignored_files as $f) {
    259259      if (!is_dir($f)) {
    260         $filename = basename($f);
     260        $filename = substr($f, strlen($this->tmpDir));
    261261        if ($filename == $this->projectName . '.edge' || $filename == $this->projectName . '.html') {
    262262          $files_names_obsolete[] = $filename;
     
    268268    }
    269269    $this->setFileMessages($files_names_obsolete, 'The following files were ignored as they are not needed:');
    270     $this->setFileMessages($files_names_ignored, 'The following files were ignored as they are not supported:', 'warning');
     270    $this->setFileMessages($files_names_ignored, 'The following files were ignored as they are not needed/supported:', 'warning');
    271271
    272272    // Delete the tmp archive directory with all remaining files.
     
    599599      // Get dir path relative to project tmp base path without leading slash.
    600600      $rel_dir = substr($dir, strlen($src) + 1);
     601      if(substr($rel_dir, 0 ,8) === 'publish/'){
     602        continue;
     603      }
    601604      if (!file_exists($dest . '/' . $rel_dir)) {
    602605        mkdir_recursive($dest . '/' . $rel_dir);
  • edge-suite/trunk/readme.txt

    r602441 r602619  
    3030
    3131== Frequently Asked Questions ==
     32
     33= Animations don't show up =
     34Uploading worked but nothings shows up on the page. Things to check:
     35
     36* Edge Suite doesn't support minified/published projects yet. Just zip the raw project folder (without the publish folder)
     37
     38* Look at the source code of the page and search for:
     39
     40* "stage" - You should find a div container, if so HTML rendering went fine.
     41
     42* "_preloader" - You should find a script tag, if so JS inclusion went fine.
     43
     44* If "stage" or "_preloader" are not found, disable other plugins for testing to check if they might interferer.
     45
     46* Open the debug console in Chrome (mac: alt + cmd + j) or Firefox and check for JavaScript errors.
     47
     48* For testing remove all other fancy JavaScript like galleries, slideshows, etc. that are placed alongside the animation, the JS might collide.
     49
     50= Head Cleaner: Animations don't show up =
     51
     52Head Cleaner basically skips the processing of edge_suite_header() which is needed to inject the Edge Javascript.
     53Under Settings > Head Cleaner > Active Filters check the box "Don't process!" for "edge_suite_header" and click "Save options".
     54This stops Head Cleaner from "processing" ede_suite_header(), which basically means allowing edge_suite_header() (reverse logic).
    3255
    3356= PHP ZipArchive not found =
Note: See TracChangeset for help on using the changeset viewer.