We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39060
    • 14 Posts
    Can anyone help me?
    I got HTML5 template to integrate it to Modx for the first time and stuck at the very beginning - I can't integrate it! I create a new template, put info to 'Name of template' and 'Description' fields, then the code and press save button, but my info dissapears - the template has no name (it's just got its ID in brackets) and 4 lines of code:

    <!DOCTYPE html>
    <html lang="ru">
    <head>
    <title>


    and I'm really sorry that I have to put this big piece of code here, but I really don't know where to look for a mistake:

    <!DOCTYPE html>
    <html lang="ru">
    <head>
    <title>�лавна� - �о�ог�а� �алина �омб�ов�ка�</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/layout.css" type="text/css" media="all">
    <link rel="stylesheet" href="css/style.css" type="text/css" media="all">
    <script type="text/javascript" src="js/jquery-1.6.js" ></script>
    <script type="text/javascript" src="js/cufon-yui.js"></script>
    <script type="text/javascript" src="js/cufon-replace.js"></script>  
    <script type="text/javascript" src="js/Konkord-Retro_400.font.js"></script>
    <script type="text/javascript" src="js/PhillippScript_400.font.js"></script> <!-- ��и�� мен�-->
    <script type="text/javascript" src="js/atooltip.jquery.js"></script> 
    <script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript" src="js/script.js"></script>
    <script type="text/javascript">
        Cufon.replace('h2', {fontFamily: 'Konkord-Retro'});
        Cufon.replace("#menu li a", {fontFamily: 'PhillippScript'});
        Cufon.replace("#menu li a", {fontSize: '30px'});
        Cufon.replace("#menu a", {
            hover: true});
         
    </script>
    <!--[if lt IE 9]>
        <script type="text/javascript" src="js/html5.js"></script>
        <style type="text/css">
            .aToolTip, .box1, .box1 .inner { behavior: url(js/PIE.htc); }
        </style>
    <![endif]-->
    <!--[if lt IE 7]>
        <div style='clear:both;text-align:center;position:relative'>
            <a href="<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img" target="_blank" rel="nofollow">http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img</a>
     src="<a href="http://www.theie6countdown.com/images/upgrade.jpg"" target="_blank" rel="nofollow">http://www.theie6countdown.com/images/upgrade.jpg"</a>
     border="0" alt="" /></a>
            </div>
    <![endif]-->
    <link rel="stylesheet" href="<a href="http://modx.com/assets/components/discuss/themes/modx/css/index.css"" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/css/index.css"</a>
     type="text/css" />
    <link rel="stylesheet" href="<a href="http://modx.com/assets/components/discuss/themes/modx/css/jquery-ui-1.8.16.custom.css"" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/css/jquery-ui-1.8.16.custom.css"</a>
     type="text/css" />
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/jquery-1.6.2.min.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/jquery-1.6.2.min.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/jquery.scrollTo-min.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/jquery.scrollTo-min.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/jquery-ui-1.8.16.custom.min.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/jquery-ui-1.8.16.custom.min.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/discuss.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/discuss.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/sh/shCore.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/sh/shCore.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/sh/shAutoloader.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/sh/shAutoloader.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/sh/shDiscuss.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/sh/shDiscuss.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/dis.sticky.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/dis.sticky.js"></script></a>
     
    <script type="text/javascript">// <![CDATA[
    DIS.url = "/";DIS.shJsUrl = "<a href="http://modx.com/assets/components/discuss/themes/modx/js/sh/";DIS.config.connector" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/sh/";DIS.config.connector</a>
     = "<a href="http://modx.com/assets/components/discuss/connector.php"" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/connector.php"</a>
     
    // ]]></script>
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/dis.post.modify.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/dis.post.modify.js"></script></a>
     
    <script type="text/javascript" src="<a href="http://modx.com/assets/components/discuss/themes/modx/js/dis.post.buttons.js"></script>" target="_blank" rel="nofollow">http://modx.com/assets/components/discuss/themes/modx/js/dis.post.buttons.js"></script></a>
     
    <link rel="stylesheet" href="http://modx.com/assets/components/discuss/themes/modx/css/index.css" type="text/css" />
    <link rel="stylesheet" href="http://modx.com/assets/components/discuss/themes/modx/css/jquery-ui-1.8.16.custom.css" type="text/css" />
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/jquery.scrollTo-min.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/discuss.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/sh/shCore.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/sh/shAutoloader.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/sh/shDiscuss.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/dis.sticky.js"></script>
    <script type="text/javascript">// <![CDATA[
    DIS.url = "/";DIS.shJsUrl = "http://modx.com/assets/components/discuss/themes/modx/js/sh/";DIS.config.connector = "http://modx.com/assets/components/discuss/connector.php"
    // ]]></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/dis.post.modify.js"></script>
    <script type="text/javascript" src="http://modx.com/assets/components/discuss/themes/modx/js/dis.post.buttons.js"></script>
    </head>
    <body id="page1">
    <div class="body1">
        <div class="main">
    <!-- header -->
            <header>
                <div class="wrapper">
                    <ul id="icons">
                        <li><a href="<a href="http://vk.com/club18944249"" target="_blank" rel="nofollow">http://vk.com/club18944249"</a>
     target="_blank" class="normaltip" title="� кон�ак�е - �алина �омб�ов�ка�"><img src="images/icon1.png" alt=""></a></li>
                        <li><a href="<a href="http://www.odnoklassniki.ru/group/51923002458231"" target="_blank" rel="nofollow">http://www.odnoklassniki.ru/group/51923002458231"</a>
     class="normaltip" title="�днокла��ники - �алина �омб�ов�ка�"><img src="images/icon2.png" alt=""></a></li>
                        <li><a href="#" class="normaltip" title="Linkedin"><img src="images/icon3.png" alt=""></a></li>
                    </ul>
                </div>
                <div class="wrapper">
                    <h1><a href="index.html" id="logo"></a></h1>
                    <nav>
                        <ul id="menu">
                            <li class="first" id="menu_active"><a href="index.html">�лавна� </a></li>
                            <li><a href="Lisa.html">��ай�</a></li>
                            <!--<li><a href="Tom.html">Tom</a></li>
                            <li><a href="Links.html">Links </a></li>-->
                            <li><a href="Album.html">�л�бом</a></li>
                            <li><a href="Contacts.html">�он�ак��</a></li>
                        </ul>
                    </nav>
                </div>
                <div class="slider_box">
                    <div class="slider">
                        <img src="images/img1.jpg" alt="" title="">
                        <img src="images/img2.jpg" alt="" title="">
                        <img src="images/img3.jpg" alt="" title="">
                        <img src="images/img4.jpg" alt="" title="">
                        <img src="images/img5.jpg" alt="" title="">
                    </div>
                </div>
            </header>
    <!-- / header -->
        </div>
    </div>
    <div class="body3">
        <div class="main">
    <!-- content -->
            <article id="content">
                <div class="wrapper">
                    <div class="pad">
                        <h2>�об�о <span> �ожалова��!</span></h2>
                        <p>This theme is one of <a href="" target="_blank">С��Ч�ТЬ �СХ������</a> created by TemplateMonster.com, optimized for 1024X768 screen resolution. It is also XHTML & CSS valid. </p>
                        <p><a href="" class="list">Wedding Template</a> goes with two packages: with PSD source files and without them. PSD source files are available for free for the registered members of Templates.com. The basic package is available for anyone without registration.</p>
                    </div>
                </div>
            </article>
    <!-- content / -->
        </div>
    </div>
    <div class="body2">
        <div class="main">
    <!-- footer -->
     
            <footer>
                �еб-�ай�� о� 
    <a rel="nofollow" href="<a href="http://www.prosto24.org"" target="_blank" rel="nofollow">http://www.prosto24.org"</a>
     target="_blank">"��о���� �е�ений"</a>
     
                2012
            </footer>
     
    <!-- / footer -->
        </div>
    </div>
    <script type="text/javascript"> Cufon.now(); </script>
    <script type="text/javascript">
       $(window).load(function() {
       $('.slider').nivoSlider({
            effect:'fold', //Specify sets like: 'fold,fade,sliceDown, sliceDownLeft, sliceUp, sliceUpLeft, sliceUpDown, sliceUpDownLeft' 
            slices:17,
            animSpeed:500,
            pauseTime:8000,
            startSlide:0, //Set starting Slide (0 index)
            directionNav:true, //Next & Prev
            directionNavHide:false, //Only show on hover
            controlNav:true, //1,2,3...
            controlNavThumbs:false, //Use thumbnails for Control Nav
            controlNavThumbsFromRel:false, //Use image rel for thumbs
            controlNavThumbsSearch: '.jpg', //Replace this with...
            controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
            keyboardNav:true, //Use left & right arrows
            pauseOnHover:true, //Stop animation while hovering
            manualAdvance:false, //Force manual transitions
            captionOpacity:1, //Universal caption opacity
            beforeChange: function(){},
            afterChange: function(){Cufon.refresh();},
            slideshowEnd: function(){} //Triggers after all slides have been shown
        });
    });
    </script>
    <script type="text/javascript">
            var DISModifyPost = $(function() {
                DIS.config.attachments_max_per_post = 5;
                DIS.DISModifyPost.init({
                    attachments: 1
                });
            });</script>
    <script type="text/javascript">
            var DISModifyPost = $(function() {
                DIS.config.attachments_max_per_post = 5;
                DIS.DISModifyPost.init({
                    attachments: 1
                });
            });</script>
    </body>
    </html>


    Will be greateful for any sort of help!
      Иногда, пока мозг думает, задница успевает принять такое решение, что тараканы в голове апплодируют стоя.
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      Maybe check your user permissions. I'm not privy to Evo anything having never used it before, but it kinda sounds like you can't create templates.
        Frogabog- MODX Websites in Portland Oregon
        "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
        Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • 10487 MODX Staff
        • 1,535 Posts
        Also, looks to me like you might have a database/connection encoding issue - seems a bit of coincidence to me that the template fails to save anything past the first russian character encountered in the template. (I'm also assuming that the template name is in russian?)

        Just something to double-check anyway smiley
          Garry Nutting
          Senior Developer
          MODX, LLC

          Email: [email protected]
          Twitter: @garryn
          Web: modx.com
          • 9995
          • 1,613 Posts
          could it be a database coalition problem? -> utf-8 general
            Evolution user, I like the back-end speed and simplicity smiley
            • 16278
            • 928 Posts
            There seem to be a lot of invalid link references from line 32 on:
            <a href="<a href="<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img"" target="_blank" rel="nofollow">http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img"</a>
             target="_blank" rel="nofollow"><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img</a>" target="_blank" rel="nofollow">http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img</a></a>
             

            etc. Search and replace gone crazy, perhaps?
            ;) KP
              • 39060
              • 14 Posts
              Guys, thanks a lot to all of you ! The problem was in .htaccess smiley
                Иногда, пока мозг думает, задница успевает принять такое решение, что тараканы в голове апплодируют стоя.