Announcement

Collapse
No announcement yet.

Adding files to snapshot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Adding files to snapshot

    I want to be able to force the snapshot to include some files so they are included in the site folder when handed over to client..

    Particularly I have my own js compression files for additional js and some css is included in the main stylesheet as a variable/file content.

    I have been using this but it does not seem to work! I have it in the sub body code:

    Code:
    <script type="text/javascript">
    // src="create_swiftjc_min_pause.bat" // - Adds file to Snapshot
    // src="create_swiftjc_min.bat" // - Adds file to Snapshot
    // src="magiczoomplus.css" // - Adds file to Snapshot
    // src="fancybox-min.css" // - Adds file to Snapshot
    // src="bootstrap.min.css" // - Adds file to Snapshot
    // src="webslidemenu.css" // - Adds file to Snapshot
    </script>
    What am I doing wrong or is there a better way to do this?

    Thank you
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    I'm not in front of SD at the moment but can you perhaps add these files to the additional files list in Design > Additional Files

    Comment


      #3
      This may help:
      https://community.sellerdeck.com/for...y-company-logo

      Comment


        #4
        Yes but then they would be uploaded to the server which you do not need. Don't understand the relevence of the image map
        Jonathan Chappell
        Website Designer
        SellerDeck Website Designer
        Actinic to SellerDeck upgrades
        Graphicz Limited - www.graphicz.co.uk

        Comment


          #5
          SellerDeck doesn't parse everything it see in a src="filename.type" tag so you won't get that .BAT file working.

          You can send CSS files without loading them via e,g,:
          Code:
          <script>
          // <link rel="stylesheet" type="text/css" href="myfile.css" />
          </script>
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Thank you Norman, I will try that. I would like to preserve the bat files without uploading them as Duncan suggested.
            Jonathan Chappell
            Website Designer
            SellerDeck Website Designer
            Actinic to SellerDeck upgrades
            Graphicz Limited - www.graphicz.co.uk

            Comment


              #7
              Woiuld this work in the same way or does it need the full expression?

              Code:
              <script>
              // src="xx.css" // - adds file to snapshot
              // src="yy.css" // - adds file to snapshot
              // src="zz.css" // - adds file to snapshot
              </script>
              Jonathan Chappell
              Website Designer
              SellerDeck Website Designer
              Actinic to SellerDeck upgrades
              Graphicz Limited - www.graphicz.co.uk

              Comment

              Working...
              X