We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2603
    • 104 Posts
    I have installed Ajax search.
    And after that when I try to manage pictures in Maxigallery (second one), and click to manage button, it drops me to the search result page and I modify the pictures of search result page - 46 (but on its template there are no any pictures) instead of my gallery (40).

    Here is the code:
    <!--SearchBar -->
    
    [!AjaxSearch? &ajaxSearch=`0` &AS_landing=`46` &tplLayout=`@FILE:assets/snippets/ajaxSearch/templates/alexLayout.tpl.html`!]
    
                                    <!--End SearchBar -->
                                
    
                          </tr>
                            <tr height="8px" style="font-size:1px;">
                                 <td> </td><td width="10px"> </td>
                                <td> </td><td width="10px"> </td>
                                 <td> </td><td width="10px"> </td>
                               <td> </td><td width="10px"> </td>
    <td bgcolor="#f9712f"> </td>
                                <td> </td><td width="10px"> </td>
                            </tr>  
                        </table>
                        </div>
                        <!--end TOP MENU-->
                    </td>
            	</tr>
                <tr height="228px">
                	<td width="1000px" colspan="2">
                        <!--radio & flashbanner table-->
                        <table border="0" cellpadding="0" cellspacing="0" width="1000px">
                            <tr height="228px">
                                <td width="252px">
                                    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','252','height','228','id','radio','align','middle','src','radio','quality','high','bgcolor','#000000','name','radio','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','radio' ); //end AC code
    </script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="252" height="228" id="radio" align="middle">
                                        <param name="allowScriptAccess" value="sameDomain" />
                                        <param name="allowFullScreen" value="false" />
                                        <param name="movie" value="radio.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	<embed src="radio.swf" quality="high" bgcolor="#000000" width="252" height="228" name="radio" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                                    </object></noscript>
                                </td>
                                <td width="748px">
    [!MaxiGallery? &id=`gallery` &gal_query_ids=`65` &disable_js_libs=`0` &display=`embedded` &smoothgallery_width=`748` &smoothgallery_height=`228` &max_pic_size=`748` &pic_use_watermark=`1` &pic_watermark_valign=`bottom` &pic_watermark_img=`assets/galleries/gallery.png` &pic_watermark_type=`image` &pic_use_imagemask=`1` &pic_mask_img=`assets/snippets/maxigallery/imagemask/mask2.png` &pic_mask_bgcolor=`141414` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showInfopane=`false` &smoothgallery_delay=`5000`!]
                                </td>
                            </tr>
                        </table>
                        <!--end radio & flashbanner table-->
                	</td>        
                </tr>
            </table>
            <!--end header table-->
        	<!--Body & Content table--> 
            <table border="0" cellpadding="0" cellspacing="0" width="1000px" bgcolor="#FFFFFF">   
            	<tr height="400px">
            		<td width="252px" valign="top">
                    	<!--left imgs table-->
                        <table border="0" cellpadding="0" cellspacing="0">
                        	<tr height="100px"><td width="252px"><a href="#"><img src="news/imgs/left_img_01.jpg" width="252" height="100" /></a></td></tr>
                            <tr height="100px"><td width="252px"><a href="#"><img src="news/imgs/left_img_02.jpg" width="252" height="100" /></a></td></tr>
                            <tr height="100px"><td width="252px"><a href="#"><img src="news/imgs/left_img_03.jpg" width="252" height="100" /></a></td></tr>
                            <tr height="100px"><td width="252px"><a href="#"><img src="news/imgs/left_img_04.jpg" width="252" height="100" /></a></td></tr>
                            
                        </table> 	
    
                        <!--end left imgs table--> 
                    </td>
                    <td width="516px" valign="top">
                    	<!--gallery boxes-->
    <br>
    <div class="tit">[*pagetitle*]</div>
    <br>
    [!MaxiGallery? &id=`gallery1` &pic_use_watermark=`0` &pic_use_imagemask=`0` &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &bigimg_linkstyle=`slidebox` &smoothgallery_timed=`true` &thumb_use_dropshadow=`1`!]
    <br>
    <br>
    
    
                        <!--gallery boxes-->                </td>


    Here is the code of alexLayout.tpl.html:
                                     <div class="dd" style="">
    
    [+as.showForm:is=`1`:then=`
    <form [+as.formId+] action="[+as.formAction+]" method="post">
    <table border="0" cellpadding="0" cellspacing="0">
    
                                   <tr><td valign="top" background="main_imgs/search.png" align="center" valign="middle" style="padding-top:4px;">
    <input type="hidden" name="advSearch" value="[+as.advSearch+]" />
    <input id="ajaxSearch_input" style="background:none; border:none; display:block; padding-left:10px;" size="16" height="22px" type="text" value="" border="0" name="search" value=""[+as.inputOptions+]>
    </td>
    <td width="54px" valign="middle">
    <input style="background:none; border:none; width:54px; height:22px; background-color:#f8712f; color:#333333; font-size:12px; font-weight:bold;" type="submit" value="Search"></td></tr> </table>
                                    </div> 
    


    How I can fix this error?

    Thank you!

    Alex
      Getting higher! | www.djabuzz.com
      • 5811
      • 1,717 Posts
      Try with <input style="background:none; border:none; width:54px; height:22px; background-color:#f8712f; color:#333333; font-size:12px; font-weight:bold;" type="submit" name="sub" value="Search"> in your layout template.
        • 2603
        • 104 Posts
        Coroico, I’ve tried this, but unfortunately it didn’t help. sad What else can it be?
          Getting higher! | www.djabuzz.com