• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

What splash code

Something like "like us in facebook to view this content" or just a window with content?
 
I want to give just a warning.

The warning: "you do not want to appear in the gallery Upload photos stealth mode"

To do this, the site is opened and a small window pops up is displayed in the shade.

Then the user clicks on the button on and off loads the images as requested.

In short: The window, a warning is entered to the site
 
HTML:
<input type="button" id="redirect" value="show alert" />
<div id="alertWindow">
    You'll be redirect to google.com. Continue?
    <br /><br />
    <input type="button" id="btnOk" value="OK" /> <input type="button" id="btnCancel" value="Cancel" />
</div>

Code:
#alertWindow {
  display: none;
  text-align: center;
  border: 1px solid #333;
  width: 200px;
  height: 80px;
  border-radius: 5px;
  padding: 10px;
}
#btnOk, #btnCancel { width: 70px; }

Code:
$(function() {
    $("#redirect").click(function(){
      $('#alertWindow').show();
      return false;
    });
    $('#btnCancel').click(function() {
        $('#alertWindow').hide();
    });
    $('#btnOk').click(function() {
        location.href = 'http://www.google.com';
        return false;
    });
});

which pages will add these codes?
Can you help me?
 
First code should be added at the bottom of header.php, just before <div id="wrap">
Second code should be added to style.css
Third code should be added to theme.js

All in the theme folder.
 
That is another library. To achieve that you need to add jquery ui and then you will be able to use that.
 
In includes/template.functions.php you should find this:

Code:
<script type="text/javascript" src="'.__CHV_URL_SYSTEM_JS__.conditional_minify('jquery.uploadify-3.1_chevereto.js').'"></script>

And add above that:
Code:
<script type="text/javascript" src="'.__CHV_URL_SYSTEM_JS__.conditional_minify('jquery-ui.js').'"></script>

You can also include it in the theme header inside the <head> tag. Notice that in the example you have to upload the jquery ui library to the content/system/js folder and name it jquery-ui.js
 
Where will I find "jquery-ui.js "?

http://jqueryui.com/dialog/#modal adress given only the code

Code:
<!doctype html>
 
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>jQuery UI Dialog - Basic modal</title>
  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css" />
  <script>
  $(function() {
    $( "#dialog-modal" ).dialog({
      height: 140,
      modal: true
    });
  });
  </script>
</head>
<body>
 
<div id="dialog-modal" title="Basic modal dialog">
  <p>Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.</p>
</div>
 
<p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
 
 
</body>
</html>
 
but it did not work and a blank page appears.

site address yemliha24.webfactional.com

How did ?

1- jquery-ui.min.js download send ftp content/system/js
2-template.functions.php and add above that : <script type="text/javascript" src="'.__CHV_URL_SYSTEM_JS__.conditional_minify('jquery-ui.js').'"></script>


doing it and emptying
 
Sorry but is not in my scoope to enter in your FTP to solve this, I just fix Chevereto.
 
Back
Top