Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 07:37:59 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155526 Posts in 21713 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: WB 2.8 RC1 and classic_theme - unzip  (Read 576 times)
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« on: July 18, 2009, 03: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:
<!-- 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 Smiley

cheers[/code][/code]
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: July 18, 2009, 03: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
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #2 on: July 18, 2009, 04:02:18 PM »

oh, ok, I thought it was bug:)

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!