Problems, need help? Have a tip or advice? Post it here.
12 posts Page 1 of 2
we're facing some issues here with social media links,
we're trying to link to my social media pages, but while doing so header images are disappearing on those pages, very weird as we didn't have any problems with static version of the site, issue came up when converting to couch cms,

please see the issue here: http://www.designdiverso.com/ambrosia.php
Can you please post the relevant code from the template here?
Thanks.
here it is


Code: Select all
<?php require_once( 'cms/cms.php' ); ?>
<cms:embed 'lang_getter.html' />
<cms:template title='Work Ambrosia' clonable='1' commentable='1'>
<cms:editable name="en_ambrosia_content1" type='richtext'/>
<cms:editable name="fi_ambrosia_content1" type='richtext'/>
<cms:editable name="en_ambrosia_content2" type='richtext'/>
<cms:editable name="fi_ambrosia_content2" type='richtext'/>
<cms:editable name="en_ambrosia_content4" type='richtext'/>
<cms:editable name="fi_ambrosia_content4" type='richtext'/>
<cms:editable name="en_ambrosia_content6" type='richtext'/>
<cms:editable name="fi_ambrosia_content6" type='richtext'/>
<cms:editable name="en_ambrosia_content8" type='richtext'/>
<cms:editable name="fi_ambrosia_content8" type='richtext'/>
<cms:editable name="en_ambrosia_content9" type='richtext'/>
<cms:editable name="fi_ambrosia_content9" type='richtext'/>
<cms:editable name="en_ambrosia_content10" type='richtext'/>
<cms:editable name="fi_ambrosia_content10" type='richtext'/>
<cms:editable name="en_ambrosia_content11" type='richtext'/>
<cms:editable name="fi_ambrosia_content11" type='richtext'/>
<cms:editable name="en_ambrosia_content12" type='richtext'/>
<cms:editable name="fi_ambrosia_content12" type='richtext'/>
<cms:editable name="en_ambrosia_content13" type='richtext'/>
<cms:editable name="fi_ambrosia_content13" type='richtext'/>
<cms:editable name="en_ambrosia_content14" type='richtext'/>
<cms:editable name="fi_ambrosia_content14" type='richtext'/>
<cms:editable name="en_ambrosia_content15" type='richtext'/>
<cms:editable name="fi_ambrosia_content15" type='richtext'/>
<cms:editable name="en_ambrosia_content16" type='richtext'/>
<cms:editable name="fi_ambrosia_content16" type='richtext'/>
<cms:editable name="en_ambrosia_content17" type='richtext'/>
<cms:editable name="fi_ambrosia_content17" type='richtext'/>



</cms:template>


<!DOCTYPE html>
<html>
<head>
   <meta charset="utf-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=u(e),f=c.length,s=i(a,o,r),p=0;f>p;p++)c[p].apply(s,n);return s}function a(t,e){f[t]=u(t).concat(e)}function u(t){return f[t]||[]}function c(){return n(e)}var f={};return{on:a,emit:e,create:c,listeners:u,_events:f}}function r(){return{}}var o="nr@context",i=t("gos");e.exports=n()},{gos:"7eSDFh"}],ee:[function(t,e){e.exports=t("QJf3ax")},{}],gos:[function(t,e){e.exports=t("7eSDFh")},{}],"7eSDFh":[function(t,e){function n(t,e,n){if(r.call(t,e))return t[e];var o=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:o,writable:!0,enumerable:!1}),o}catch(i){}return t[e]=o,o}var r=Object.prototype.hasOwnProperty;e.exports=n},{}],D5DuLP:[function(t,e){function n(t,e,n){return r.listeners(t).length?r.emit(t,e,n):(o[t]||(o[t]=[]),void o[t].push(e))}var r=t("ee").create(),o={};e.exports=n,n.ee=r,r.q=o},{ee:"QJf3ax"}],handle:[function(t,e){e.exports=t("D5DuLP")},{}],XL7HBI:[function(t,e){function n(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:i(t,o,function(){return r++})}var r=1,o="nr@id",i=t("gos");e.exports=n},{gos:"7eSDFh"}],id:[function(t,e){e.exports=t("XL7HBI")},{}],loader:[function(t,e){e.exports=t("G9z0Bl")},{}],G9z0Bl:[function(t,e){function n(){var t=l.info=NREUM.info;if(t&&t.agent&&t.licenseKey&&t.applicationID&&c&&c.body){l.proto="https"===p.split(":")[0]||t.sslForHttp?"https://":"http://",a("mark",["onload",i()]);var e=c.createElement("script");e.src=l.proto+t.agent,c.body.appendChild(e)}}function r(){"complete"===c.readyState&&o()}function o(){a("mark",["domContent",i()])}function i(){return(new Date).getTime()}var a=t("handle"),u=window,c=u.document,f="addEventListener",s="attachEvent",p=(""+location).split("?")[0],l=e.exports={offset:i(),origin:p,features:{}};c[f]?(c[f]("DOMContentLoaded",o,!1),u[f]("load",n,!1)):(c[s]("onreadystatechange",r),u[s]("onload",n)),a("mark",["firstbyte",i()])},{handle:"D5DuLP"}]},{},["G9z0Bl"]);</script>
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">


   <title>ambrosia</title>


   <meta name="author" content="DesignDiverso" />


   <meta name="description" content="A digital-first marketing agency creating better brand experiences. Our philosophy is simple. Experiences build relationships. Relationships build brands." />

   <meta property="og:url" content="http://www.designdiverso.com/work/ambrosia" />
   <meta property="fb:page_id" content="" />
   <meta property="og:title" content="ambrosia" />
   <meta property="og:description" content="A digital-first marketing agency creating better brand experiences. Our philosophy is simple. Experiences build relationships. Relationships build brands." />
   <meta property="og:image" content="" />

   <meta itemprop="name" content="ambrosia" />
   <meta itemprop="description" content="A digital-first marketing agency creating better brand experiences. Our philosophy is simple. Experiences build relationships. Relationships build brands." />
   <meta itemprop="image" content="" />

   <meta name="twitter:card" content="summary" />
   <meta name="twitter:site" content="@designdiverso" />
   <meta name="twitter:site:id" content="" />
   <meta name="twitter:title" content="NuGo Nutrition" />
   <meta name="twitter:description" content="A digital-first marketing agency creating better brand experiences. Our philosophy is simple. Experiences build relationships. Relationships build brands." />
   <meta name="twitter:image"  content="" />












   <link rel="shortcut icon" href="../../favicon.png" type="image/x-icon" />

   <link rel="stylesheet" href="../../dist/css/case-studies.1649106894.css" id="main-styles" />


   <!--[if lt IE 9]>
      <script src="/js/dist/ie8.js"></script>
      <link rel="stylesheet" href="/css/ie8.css" />
   <![endif]-->
</head>
<body>

   <header class="nav-black" id="primary-nav">
      <div>
         <h1 class="logo"><a href="../../index.php">DesignDiverso</a></h1>
         <nav>
            <ul>
            <cms:pages masterpage="menu.php" page_name='main-menu'>
               <li><a class="active" href="work.php"><cms:get "<cms:show my_lang />_menu_content1"/></a></li>
               <li><a href="about.php"><cms:get "<cms:show my_lang />_menu_content2"/></a></li>
               <li><a  href="what-we-do.php"><cms:get "<cms:show my_lang />_menu_content3"/></a></li>
               <li><a  href="thoughts.php"><cms:get "<cms:show my_lang />_menu_content4"/></a></li>
               <li><a  href="contact.php"><cms:get "<cms:show my_lang />_menu_content5"/></a></li>
               
               <cms:php>
                        global $accepted_langs, $selected_lang;
                        foreach( $accepted_langs as $lang ){
                        $selected_class = ( $lang==$selected_lang ) ? ' selected' : '';
                        echo'<li><a href="<cms:show k_admin_link />switch.php?lang='.$lang.'&redirect='.urlencode($_SERVER["REQUEST_URI"]).'">'.strtoupper($lang).'</a></li>';
                        }
                        </cms:php>
               
            </ul>
            </cms:pages>
         </nav>
      </div>
      <a href="index.php" class="toggle menu"><span class="icon-menu"></span></a>
   </header>

   

   
   
   
   
      
         
         
         
         <style>
                        h1, blockquote > p:before, blockquote > p:after {
                color: #11a8ab;
            }
            .stat {
                background-color: #11a8ab;
            }
                                    .case-study-challenge p {
               color: #5f3822;
            }
                                    .case-study-approach {
               background-color: #5f3822;
            }
                                    .case-study-approach h1 {
               color: #ffffff;
            }
                                    .case-study-approach p {
               color: #ffffff;
            }
                     </style>
<cms:pages masterpage='ambrosia.php' page_name='ambrosia'>
         <section class="case-study-header">
             <article>
                 <div class="content" data-fullscreen data-images="../../images/uploads/work/ambrosia644.jpg,../../images/uploads/work/ambrosia800.jpg,../../images/uploads/work/ambrosia.jpg">
                     <div class="align">
                         <h1 class="big"><cms:show k_page_title /></h1>
                         <h2><cms:get "<cms:show my_lang />_ambrosia_content1 "/></h2>
                         <a href="index.html#" class="scroll-btn" data-goto="[data-target='challenge']"><span class="icon-circle-arrow-down"></span></a>
                     </div>
                     <div class="case-study-info">
                         <section>
                             <article class="client-name">
                                 <p><cms:get "<cms:show my_lang />_ambrosia_content2 "/></p>
                             </article>
                             <article class="client-vertical">
                                 <p><cms:get "<cms:show my_lang />_ambrosia_content4 "/></p>
                             </article>
                             <article class="client-services">
                                 <p><cms:get "<cms:show my_lang />_ambrosia_content6 "/>                              
                                 </p>
                             </article>
                         </section>
                     </div>
                 </div>
             </article>
         </section>

                  <section class="case-study-challenge large" data-target="challenge" style="background-image: url(../../images/uploads/work/nugo_challenge_bg.jpg);">
             <article class="content">
                 <div>
                     <h1><cms:get "<cms:show my_lang />_ambrosia_content8 "/></h1>
                     <p><cms:get "<cms:show my_lang />_ambrosia_content9 "/></p>
                 </div>
             </article>
                            
                   <img src="../../images/uploads/work/ambrosia2.jpg" />
               
                      </section>
         
                  <section class="case-study-approach" style="background-image: url(../../images/uploads/work/nugo_approach_bg.jpg);">
             <article class="content">
                 <div class="align">
                     <h1><cms:get "<cms:show my_lang />_ambrosia_content10 "/></h1>
               <p><cms:get "<cms:show my_lang />_ambrosia_content11 "/></p>
                 </div>
             </article>
         </section>
         
         
         

                  <section class="case-study-slider" id="slider_1">
           <!--  <header class="slider-header">
                 <h1>Branding Strategy and Refresh</h1>
                                     <nav>
                        <ul>
                            <li><a href="index.html#" class="left" data-slider="1"><span class="icon-circle-arrow-left"></span></a></li>
                            <li><a href="index.html#" class="right" data-slider="1"><span class="icon-circle-arrow-right"></span></a></li>
                        </ul>
                    </nav>
                              </header>

             <div class="case-studies-swiper-container swiper-container">
                <div class="swiper-wrapper slides">
                   
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/ambrosia3.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/ambrosia4.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/ambrosia_logo.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_brandstrat_5.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_brandstrat_6.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_brandstrat_7.jpg" />
                                                                          </div>
                  
               </div>-->
            </div>
                            <nav class="slider-pagination circle-nav-fill"></nav>
                           <!--         <div class="slider-description">
                  <p>Through a deeper understanding of their target consumer we breathed new life into this decade-old brand by redesigning their existing identity. Using vibrant, approachable colors across all touchpoints, the new visual language entices consumers to try one of NuGo’s six protein bar lines.</p>
               </div>-->
                     </section>
         
                  <section class="case-study-slider" id="slider_2">
             <header class="slider-header">
                 <cms:get "<cms:show my_lang />_ambrosia_content12 "/>
                 <nav>
                        <ul>
                            <li><a href="index.html#" class="left" data-slider="2"><span class="icon-circle-arrow-left"></span></a></li>
                            <li><a href="index.html#" class="right" data-slider="2"><span class="icon-circle-arrow-right"></span></a></li>
                        </ul>
                    </nav>
                              </header>

             <div class="case-studies-swiper-container swiper-container">
                <div class="swiper-wrapper slides">
                   
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/ambrosia3.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/ambrosia4.jpg" />
                                                                          </div>
                  
                      <!--<div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_website_3.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_website_4.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_website_6.jpg" />
                                                                          </div>-->
                  
               </div>
            </div>
                            <nav class="slider-pagination circle-nav-fill"></nav>
                                       <div class="slider-description">
                  <p><cms:get "<cms:show my_lang />_ambrosia_content13 "/></p>
               </div>
                     </section>
         
                  <section class="case-study-slider" id="slider_3">
            <!-- <header class="slider-header">
                 <h1>Social Media</h1>
                                     <nav>
                        <ul>
                            <li><a href="index.html#" class="left" data-slider="3"><span class="icon-circle-arrow-left"></span></a></li>
                            <li><a href="index.html#" class="right" data-slider="3"><span class="icon-circle-arrow-right"></span></a></li>
                        </ul>
                    </nav>
                              </header>-->
            <!--<div class="case-studies-swiper-container swiper-container">
                <div class="swiper-wrapper slides">
                   
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_social_1.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_social_2.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_social_3.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_social_4.jpg" />
                                                                          </div>
                  
                      <div class="swiper-slide">
                                                       <img src="../../images/uploads/work/nugo_social_5.jpg" />
                                                                          </div>
                  
               </div>-->
            </div>
                            <nav class="slider-pagination circle-nav-fill"></nav>
                                    <!--   <div class="slider-description">
                  <p>Given the level of competition in the protein bar and consumer packaged goods market, driving awareness was paramount for NuGo. That’s why Digital Surgeons created a cohesive brand identity with a relevant and relatable feel on Social Media, engaging users and helping to build a community of loyalists and fanbassadors. Thanks to our clear social strategy, fans can count on NuGo to consistently deliver highly informative, relevant, and engaging content.</p>
               </div>-->
                     </section>
         
                  <section class="case-study-slider last" id="slider_4">
             <header class="slider-header">
              <cms:get "<cms:show my_lang />_ambrosia_content14 "/>
                              </header>
             <div class="case-studies-swiper-container ">
                <div class=" slides">
                   
                      <div class="">
                                                       <img src="../../images/uploads/work/ambrosia_logo.jpg" />
                                                                          </div>
                  
               </div>
            </div>
                                       <div class="slider-description">
                  <p><cms:get "<cms:show my_lang />_ambrosia_content15 "/></p>
               </div>
                     </section>
         
                  <section class="case-study-slider last" id="slider_5">
            <!--<header class="slider-header">
                 <h1>Brand Awareness </h1>
                              </header>
             <div class="case-studies-swiper-container ">
                <div class=" slides">
                   
                      <div class="">
                                                       <img src="../../images/uploads/work/nugo_brandawarness_1.jpg" />
                                                                          </div>
                  
               </div>
            </div>
                                    <div class="slider-description">
                  <p>In an effort to extend the brand beyond digital, we’ve begun designing and syndicating several pieces of out-of-home collateral. These ads were featured in Lifetime Fitness, an upscale fitness franchise, in order to measure the effect of on-site messaging in driving purchases.</p>
               </div>-->
                     </section>
         
         
         
         

                                          <section class="case-study-results">
                                     <article>
                                        <div class="content">
                                            <header class="results-header">
                                                <h1><cms:get "<cms:show my_lang />_ambrosia_content16 "/></h1>
                                                                           <p><cms:get "<cms:show my_lang />_ambrosia_content17 "/></p>

                  <!--   <div class="video results"><iframe src="http://www.youtube.com/embed/-atrJEGpzUw" frameborder="0" allowfullscreen=""></iframe></div>-->
                                                                    </header>
                                                             </div>
                                    </article>
                                        </div>
               </article>

                                  <!--<article class="case-study-awards">
                     <ul class="awards">
                         
                            <li>
                                <figure>
                                    <img src="../../images/uploads/awards/ima.png" />
                                    <figcaption>
                                        2014 Best-In-Class Website in Health and Nutrition
                                    </figcaption>
                                </figure>
                            </li>
                         
                            <li>
                                <figure>
                                    <img src="../../images/uploads/awards/davey.png" />
                                    <figcaption>
                                        2014 Silver Award - Websites: Food &amp; Beverage
                                    </figcaption>
                                </figure>
                            </li>
                         
                      </ul>
                  </article>-->
                           </section>
         </cms:pages>
                     <p class="project-btn">
               <a href="http://www.ambrosiaitaly.com" target="_blank" class="btn black">View Project</a>
            </p>
         
         <section class="case-study-share">
             <ul>
               <li><a href="https://www.facebook.com/sharer/sharer.php?u=http://www.designdiverso.com/ambrosia.php" target="_blank"><span class="icon-facebook"></span></a></li>
                 <li><a href="https://twitter.com/intent/tweet?url=http://www.designdiverso.com/ambrosia.php Food & Drink Case Study by @designdiverso -" target="_blank"><span class="icon-twitter"></span></a></p>
                 <li><a href="https://plus.google.com/share?url=http://www.designdiverso.com/work/ambrosia.php Food & Drink Case Study by DesignDiverso" target="_blank"><span class="icon-google"></span></a></li>
                 <li><a href="https://www.linkedin.com/shareArticle?mini=true&url=http://www.designdiverso.com/ambrosia.php &summary=Raising the bar &source=" target="_blank"><span class="icon-linkedin"></span></a></li>
              </ul>
         </section>

         <!--<nav>
             <ul>
                
                 <li>
                     <article style="background-image: url(../../images/uploads/work/nexxus_banner_700.jpg)" class="work-grid">
                         <a href="../nexxus/index.html">
                             <div class="content">
                                 <div class="align">
                                     <h2>The Next Era in Color Care</h2>
                                     <p>Nexxus</p>
                                 </div>
                             </div>
                             <img src="../../images/uploads/clients/clientsnexxus.png" class="client-logo" />
                         </a>
                     </article>
                 </li>
                
                 <li>
                     <article style="background-image: url(../../images/uploads/work/workcamelbak-thumb.jpg)" class="work-grid">
                         <a href="../camelbak/index.html">
                             <div class="content">
                                 <div class="align">
                                     <h2>Hydrating A Brand's Digital Footprint</h2>
                                     <p>CamelBak</p>
                                 </div>
                             </div>
                             <img src="../../images/uploads/clients/clientscamelbak.png" class="client-logo" />
                         </a>
                     </article>
                 </li>
                
             </ul>
         </nav>-->
      
   <footer class="primary-footer">
      <div class="content">
         <div class="careers">
            <cms:pages masterpage="menu.php" page_name='main-menu'>
            <p><span class="icon-circle-arrow-right"></span><cms:get "<cms:show my_lang />_footer_content"/> </p>
            </cms:pages>
         </div>
         <div class="social">
            <ul>
               <li ><a href="https://www.facebook.com/designdiverso" class="icon facebook" target="_blank"><span class="icon-facebook white"></span></a></li>
               <li><a  href="https://twitter.com/designdiverso"  class="icon twitter" target="_blank"><span class="icon-twitter white"></span></a></li>
               <li><a  href="https://www.linkedin.com/company/design-diverso"  class="icon linkedin" target="_blank"><span class="icon-linkedin white"></span></a></li>
               <!--<div><a href="" class="icon flickr" target="_blank"><span class=""></span></a></div>-->
            </ul>
         </div>
      </div>
   </footer>
   
   <!--[if lt IE 8 ]>
   <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
   <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
   <![endif]-->

   <!--[if lt IE 10]>
      <script src="/dist/js/polyfill.2147483647.js"></script>
   <![endif]-->





   
   <script src="../../dist/js/case-studies.885572731.js"></script>




     <script>
       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

       ga('create', 'UA-24497287-1', 'auto');
       ga('send', 'pageview');

     </script>

   <script>
      (function(w,d) {
      w.hj = w.hj || function() {(w.hj.q=w.hj.q||[]).push(arguments);};
      w._hjSettings = { hjid: 753 };
      var s = d.createElement('script');
      s.src = '//insights.hotjar.com/static/client/insights.js';
      d.getElementsByTagName('head')[0].appendChild(s);
      }(window,document));
   </script>
    
     <!-- Piwik -->
     <script type="text/javascript">
       var _paq = _paq || [];
       _paq.push(['trackPageView']);
       _paq.push(['enableLinkTracking']);
       (function() {
         var u="//www.designdiverso.com/analytics/";
         _paq.push(['setTrackerUrl', u+'piwik.php']);
         _paq.push(['setSiteId', 1]);
         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
       })();
     </script>
     <noscript><p><img src="//www.designdiverso.com/analytics/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
     <!-- End Piwik Code -->



<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-3.newrelic.com","licenseKey":"bd6f8bf348","applicationID":"3454891","transactionName":"NlVRYhdRCEVZAkMPXg8fcEMWRAlbFxZYFFpOXkZRCh0IQ0wTXhJYDl4=","queueTime":0,"applicationTime":752,"atts":"GhJSFF9LG0s=","errorBeacon":"bam.nr-data.net","agent":"js-agent.newrelic.com\/nr-476.min.js"}</script></body>
</html>


<?php COUCH::invoke(); ?>


KK wrote: Can you please post the relevant code from the template here?
Thanks.
Thanks.
we're trying to link to my social media pages, but while doing so header images are disappearing on those pages,
Couldn't spot anything in the code you posted which could be causing this.
very weird as we didn't have any problems with static version of the site, issue came up when converting to couch cms
This should make it very easy to debug the problem.
Since you have a working static version with you, simply do a view-source of the Couchified version and compare the header images code with the static one. If you have used Couch right, the two versions should be functionally identical as Couch does not add a single byte of HTML markup on its own accord.

Please do a careful comparison and you should see the problem.
after careful comparison of the code and trying debugging we're still facing same issue, direct links on bottom don't work, actually we just noticed that in mobile view also menu doesn't show in my work inner/sub pages, please kindly see check it out here:

http://www.designdiverso.com/sonokogroup.php

there's six of them all affected. Could you please help us find the bug and solve this?

Truly appreciated


quote="KK"]Thanks.
we're trying to link to my social media pages, but while doing so header images are disappearing on those pages,
Couldn't spot anything in the code you posted which could be causing this.
very weird as we didn't have any problems with static version of the site, issue came up when converting to couch cms
This should make it very easy to debug the problem.
Since you have a working static version with you, simply do a view-source of the Couchified version and compare the header images code with the static one. If you have used Couch right, the two versions should be functionally identical as Couch does not add a single byte of HTML markup on its own accord.

Please do a careful comparison and you should see the problem.[/quote]
after careful comparison of the code and trying debugging we're still facing same issue
OK. So did you find any difference between your static version and the one generated by Couch?

Can you let me know in more detail what exactly is not working? Is the HTML output wrong or what? What is your page is supposed to do normally and what is it doing now?

Please let me know in detail.
ok, thought I've been clear enough, hope this help, social media links at the very bottom of the page don't work, they don't redirect to respective urls.
in Mobile view on iphone menu doesn't appear at all making impossible to navigate on work inner pages, they're 6 pages.

This is one of those affected: http://www.designdiverso.com/sonokogroup.php

Menu Issue seems to affect only safari browser, while social media broken links is also on other browsers chrome, uf



KK wrote:
after careful comparison of the code and trying debugging we're still facing same issue
OK. So did you find any difference between your static version and the one generated by Couch?

Can you let me know in more detail what exactly is not working? Is the HTML output wrong or what? What is your page is supposed to do normally and what is it doing now?

Please let me know in detail.
I didn't understand the problem until your last reply. The best way to avoid this type of back-and-forth is to be as descriptive as possible at the outset.

Open your web developer console (Ctrl + Shift + K in Firefox) and click on one of the social links. You have JavaScript errors; there is an extraneous script tag right before your Google Analytics script which is causing a syntax error.
thank you for your reply and help, we have partially fixed the issue, links open now however they won't open a new tab..any ideas why this could happen?

and most importantly menu issue is still there, in mobile view on safari browser menu doesn't show rendering impossible navigation, could you please help us find out what's wrong with it?
we tried hard, debugging but eventually failed to spot the problem


cheesypoof wrote: I didn't understand the problem until your last reply. The best way to avoid this type of back-and-forth is to be as descriptive as possible at the outset.

Open your web developer console (Ctrl + Shift + K in Firefox) and click on one of the social links. You have JavaScript errors; there is an extraneous script tag right before your Google Analytics script which is causing a syntax error.
As implied in my previous post, you have a JavaScript event listener bound to clicks on the social links. It is that JS which is interfering with the default behavior (with target="_blank") of opening the page in a new window/tab.

In Firefox, right click on a link, hit Q to inspect the element and you will see "ev" next to it. Click on that icon to pinpoint the responsible script.

I don't have access to non-iOS Safari. Nevertheless, this is outside the scope of Couch. In the past I have had success consulting some of the freenode IRC channels. I am sure they won't disappoint...
12 posts Page 1 of 2