WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • WB 2.8 RC1 and classic_theme - unzip
  • Print
Pages: [1]   Go Down

Author Topic: WB 2.8 RC1 and classic_theme - unzip  (Read 5776 times)

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
WB 2.8 RC1 and classic_theme - unzip
« on: July 18, 2009, 04:30:10 PM »
I just noticed that in WB 2.8 in classic_theme there is no checkbox to upload and unzip file  in media.htt file..

I added this code:
Code: [Select]
<!-- BEGIN main_block -->
----------------------------------------------------------------------------------
<script language="javascript" type="text/javascript">
function toggle() {
    var check = document.getElementById("file2");
    if (check.style.visibility == "visible") {
        for (i=2; i<=10; i++) {
            document.getElementById("file" + i).style.visibility = "hidden";
        }
        document.getElementById("delzip").style.display = "inline";
    } else {
        for (i=2; i<=10; i++) {
            document.getElementById("file" + i).style.visibility = "visible";
        }
        document.getElementById("delzip").style.display = "none";
    }
}
</script>
--------------------------------

<h2>{HEADING_BROWSE_MEDIA}</h2>

[code]

and also this one:

[code]
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
<tr>
------------------------------------------------------------------
    <td valign="top"><input type="checkbox" name="unzip" id="unzip"  onclick="toggle();" />
<label for="unzip">{TEXT_UNZIP_FILE}</label>
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
</td>

-----------------------------------------------------------------
<td>
        <input type="checkbox" name="overwrite" id="overwrite" value="yes" />
        <label for="overwrite">
        {TEXT_OVERWRITE_EXISTING} {TEXT_FILES}
        </label>
    </td>


but the checkbox is still not working..

I dont mind, but if someone can please check and update the WB 2.8 RC1 file on the WB home page :)

cheers[/code][/code]
Logged
Web developer

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: WB 2.8 RC1 and classic_theme - unzip
« Reply #1 on: July 18, 2009, 04:55:50 PM »
Hello,

that's correct and it should be this way. Reason: It is the classic theme from 2.7 and in 2.7 there was also not this option.
So classic_theme has the media handling like in 2.7, wb_theme has a media_handling with upload zip and image preview and argos_theme has another more advanced media_handling.

So no update is necessary, this is exactly the way it should be.

Matthias
Logged

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
Re: WB 2.8 RC1 and classic_theme - unzip
« Reply #2 on: July 18, 2009, 05:02:18 PM »
oh, ok, I thought it was bug:)

cheers
Logged
Web developer

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • WB 2.8 RC1 and classic_theme - unzip
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2