We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20413
    • 2,877 Posts
    value=""[+as.inputOptions+]>

    ?
      @hawproductions | http://mrhaw.com/

      Infograph: MODX Advanced Install in 7 steps:
      http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

      Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
      http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
      • 2603
      • 104 Posts
      Actually I have 2 problems, but I wanted to start from the 1st smiley : with Ajax search doesnt managing, drops to searchresult.

      Anyway
      Quote from: doze at Feb 23, 2009, 05:04 PM

      Have you tried to validate the parsed HTML source of the document when the manage button is rendered to the page? You have posted couple times the document sources, but I don’t mean those, I mean the parsed html source from frontend. Try copy pasting it to w3 validator and see what it says..

      I’ve made this. Dont know where is the error, that gives this problem. Here is the code of the page when manage bnt is seen:
      <html>
      <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
      <title>AH FM SITE</title>
      <link rel="stylesheet" href="css/style.css" type="text/css" />
      
      <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
      			<style type="text/css">
      			#myGallery66
      			{
      			width: 748px;
      			height: 228px;
      			z-index:5;
      			display: none;
      			}
      			</style>
      <link rel="stylesheet" href="/AH/assets/snippets/maxigallery/smoothgallery/css/jd.gallery.css" type="text/css" media="screen" />
      	<script type="text/javascript" src="/AH/assets/snippets/maxigallery/smoothgallery/js/mootools.js"></script>
      	<script type="text/javascript" src="/AH/assets/snippets/maxigallery/smoothgallery/js/jd.gallery.js"></script>
      <link rel="stylesheet" href="/AH/assets/snippets/maxigallery/css/default.css" type="text/css" media="screen" />
      <link rel="stylesheet" href="/AH/assets/snippets/maxigallery/slimbox/css/slimbox.css" type="text/css" media="screen" />
      	<script type="text/javascript" src="/AH/assets/snippets/maxigallery/slimbox/js/mootools.js"></script>
      	<script type="text/javascript" src="/AH/assets/snippets/maxigallery/slimbox/js/slimbox_lang_en.js"></script>
      	<script type="text/javascript" src="/AH/assets/snippets/maxigallery/slimbox/js/slimbox.js"></script>
      
      <!-- Start QuickEdit headers -->
      <script type="text/javascript" src="manager/media/script/mootools/mootools.js"></script>
      <script type="text/javascript" src="assets/modules/quick_edit/javascript/QuickEdit.js"></script>
      <link type="text/css" rel="stylesheet" href="assets/modules/quick_edit/styles/toolbar.css" />
      <script type="text/javascript">
       Window.addEvent('load',function() {
        qe = new QuickEdit(2,66,'/AH/manager/','assets/modules/quick_edit',$('QE_Toolbar'));
       });
      </script>
      <!-- End QuickEdit headers -->
      </head>
      <!--<img src="imgs/flow.png" width="414" height="374" />-->
      <body>
      <!-- Start QuickEdit toolbar -->
      <div id="QE_Toolbar">
       <h1>QuickEdit</h1>
       <ul>
       <li>Content
        <ul>
         <li><a href="#" onclick="qe.open('1');return false;" title="Edit ">author</a></li><li><a href="#" onclick="qe.open('4');return false;" title="Edit ">date</a></li><li><a href="#" onclick="qe.open('content');return false;" title="Edit Document content">Document content</a></li><li><a href="#" onclick="qe.open('description');return false;" title="Edit You can enter an optional description of the document here.">Description</a></li><li><a href="#" onclick="qe.open('introtext');return false;" title="Edit Type a brief summary of the document">Summary (introtext)</a></li><li><a href="#" onclick="qe.open('longtitle');return false;" title="Edit Here you can enter a longer title for your document. This is handy for search engines, and might be more descriptive for your document.">Long title</a></li><li><a href="#" onclick="qe.open('pagetitle');return false;" title="Edit Type the name/ title of the document here. Try to avoid using backslashes in the name!">Title</a></li>
        </ul>
       </li> <li>Settings
        <ul>
         <li><a id="QE_ShowLinks" class="checkbox" href="javascript:qe.toggleLinks();">Show links</a></li><li><a href="#" onclick="qe.open('alias');return false;" title="Edit Here you can select an alias for this document. This will make the document accessible using:\n\nhttp://yourserver/alias\n\nThis only works if you're using friendly URLs.">Document's alias</a></li><li><a class="checkbox checked" href="#" onclick="qe.ajaxSave('cacheable', 'cacheable', '');return false;" title="Edit Leaving this field checked will allow the document to be saved to cache. If your document contains snippets, make sure this field is unchecked.">Cacheable</a></li><li><a class="checkbox" href="#" onclick="qe.ajaxSave('hidemenu', 'hidemenu', '1');return false;" title="Edit Select this option to show document inside a web menu. Please note that some Menu Builders might choose to ignore this option.">Show in menu</a></li><li><a href="#" onclick="qe.open('menuindex');return false;" title="Edit Menu Index is a field you can use for sorting document in your menu snippet(s). You can also use it for any other purpose in your snippets.">Menu index</a></li><li><a href="#" onclick="qe.open('menutitle');return false;" title="Edit Menu title is a field you can use to display a short title for the document inside your menu snippet(s) or modules.">Menu title</a></li><li><a class="checkbox checked" href="#" onclick="qe.ajaxSave('published', 'published', '');return false;" title="Edit Check this field to have the document published immediately after saving it.">Published?</a></li><li><a class="checkbox checked" href="#" onclick="qe.ajaxSave('searchable', 'searchable', '');return false;" title="Edit Checking this field will allow the document to be searched. You can also use this field for other purposes in your snippets.">Searchable</a></li><li><a href="#" onclick="qe.open('template');return false;" title="Edit Here you can select which template the document uses.">Template</a></li>
        </ul>
       </li> <li>Go
        <ul>
         <li><a id="QE_Manager" href="/AH/manager/">Manager</a></li><li><a id="QE_Help" href="http://www.modxcms.com/quickedit.html">Help</a></li><li><a id="QE_Logout" href="index.php?id=66&QuickEdit_logout=logout">Logout</a></li>
        </ul>
       </li>
       </ul>
      </div>
      <!-- End QuickEdit toolbar -->
      
      
      <!--[if IE]>
      <style type="text/css">
       .dd{
           margin-top:  -100px;
      }
      </style>
      
      
      <link rel="stylesheet" type="text/css" href="style/ie.css" />
      
      <![endif]-->
      
      <script type="text/javascript">
      <!--
      if(window.opera) {document.write('<link rel="stylesheet" type="text/css" .dd{
           margin-top: 0px; href="style/opera.css" />');}
      //-->
      </script>
      
       <table border="0" cellpadding="0" cellspacing="0" width="100%" class="flow">
       <tr><td align="center"><img src="main_imgs/flow.png" width="414" height="374" /></td></tr>
       </table>
      <!--container--> 
      <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr height="100%" style="background:url(main_imgs/top_back.jpg);"><td align="center">
      	<!--all content table-->
           <table border="0" cellpadding="0" cellspacing="0">
          <tr height="850px"><td width="1000px" valign="top">
          	
          	<!--header table-->
              <table border="0" cellpadding="0" cellspacing="0">
              	<tr>
              		<td rowspan="2" height="148px" width="252px"><a href="#"><img src="main_imgs/logo.png" width="252px" height="148px" /></a></td>
                      <td width="748px" valign="bottom" height="96px">
                          <script type="text/javascript">
      AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','748','height','82','id','news_banner_748x82_top','align','middle','src','news_banner_748x82_top','quality','high','bgcolor','#666666','name','news_banner_748x82_top','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','news_banner_748x82_top' ); //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="748" height="82" id="banner_748x82_top" align="middle">
                              <param name="allowScriptAccess" value="sameDomain" />
                              <param name="allowFullScreen" value="false" />
                              <param name="movie" value="news_banner_748x82_top.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#666666" />	<embed src="news_banner_748x82_top.swf" quality="high" bgcolor="#666666" width="748" height="82" name="news_banner_748x82_top" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                          </object></noscript>
                      </td>
              	</tr>
                  <tr height="53px">
                      <td>
                      	<!--TOP MENU-->
      
                          <div class="top_menu">
                          <table border="0" cellpadding="0" cellspacing="0">
                          	<tr align="center">
                                  <td><a href="http://alex-pro.net/AH/index.php?id=1#">NEWS</a></td><td width="10px"> </td>
                                  <td><a href="http://alex-pro.net/AH/index.php?id=4#">EVENTS</a></td><td width="10px"> </td>
                                  <td><a href="http://alex-pro.net/AH/index.php?id=7#">RADIO</a></td><td width="10px"> </td>
                                  <td><a href="http://alex-pro.net/AH/index.php?id=8#">VIDEO</a></td><td width="10px"> </td>
                                  <td><span>GALLERY</span></td><td width="10px"> </td>
                                  <td><a href="http://forum.ah.fm">FORUM</a></td><td width="10px"> 
                                  	<!--SearchBar -->
      
      
                                       <div class="dd" style="">
      
      [+as.showForm:is=`1`:then=`
      <form id="ajaxSearch_form"  action="index.php?id=46" 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="oneword" />
      <input id="ajaxSearch_input" style="background:none; border:none; display:block; padding-left:10px;" size="16" height="22px" type="text" border="0" name="search" value=" onfocus="this.value=(this.value=='Search here...')? '' : this.value ;"">
      </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> 
      
      
      
                                      <!--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">
      
      
      
      
      
      
      
      	<div id="myGallery66">
      	 
      	<div class="imageElement">
      	<h3></h3>
      	<p></p>
      	<a href="/AH/index.php?id=65&pic=177&from_id=66" title="" class="open"></a>
      	<img src="/AH/assets/galleries/65/events_3.jpg" class="full" />
      	<img src="/AH/assets/galleries/65/tn_events_3.jpg" class="thumbnail" />
      	</div>
      
      
      
      
       
      	<div class="imageElement">
      	<h3></h3>
      	<p></p>
      	<a href="/AH/index.php?id=65&pic=176&from_id=66" title="" class="open"></a>
      	<img src="/AH/assets/galleries/65/photo_2.jpg" class="full" />
      	<img src="/AH/assets/galleries/65/tn_photo_2.jpg" class="thumbnail" />
      	</div>
      
      
      
      
       
      	<div class="imageElement">
      	<h3></h3>
      	<p></p>
      	<a href="/AH/index.php?id=65&pic=175&from_id=66" title="" class="open"></a>
      	<img src="/AH/assets/galleries/65/photo_1.jpg" class="full" />
      	<img src="/AH/assets/galleries/65/tn_photo_1.jpg" class="thumbnail" />
      	</div>
      
      
      
      
      
      	</div>
      
      
      
                                  </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">Gallery 3</div>
      
      <br>
      
      
      	<center><form action="/AH/index.php?id=111&gal_id=66" method="post" name="activateadminform">
      	<input type="hidden" name="mode" value="admin" />
      	<input type="submit" value="Manage pictures" />
      </form></center>
      	<br />
      	
      
      
      
      
      
      
      
      
      
      	
      		<div class="thumbscontainer">
      			<ul class="thumbs">
      				
      
      
       
      <li>
      
      
      
      
       
      
      	<a href="/AH/assets/galleries/66/radio_1.jpg" rel="lightbox[maxigallery]" title=" - ">
      
      
      
      
      
      
      
      
      	
      	 	<img src="/AH/assets/galleries/66/tn_radio_1.jpg" class="thumbnail" title="  » Click to zoom ->" alt="  » Click to zoom ->" />
      	
      	</a>
      	
      </li>
      
      
      
      
      
       
      <li>
      
      
      
      
       
      
      	<a href="/AH/assets/galleries/66/sensation-white-2006-wallpaper-1-xxl.jpg" rel="lightbox[maxigallery]" title=" - ">
      
      
      
      
      
      
      
      
      	
      	 	<img src="/AH/assets/galleries/66/tn_sensation-white-2006-wallpaper-1-xxl.jpg" class="thumbnail" title="  » Click to zoom ->" alt="  » Click to zoom ->" />
      	
      	</a>
      	
      </li>
      
      
      
      
      
       
      <li>
      
      
      
      
       
      
      	<a href="/AH/assets/galleries/66/163085.jpg" rel="lightbox[maxigallery]" title=" - ">
      
      
      
      
      
      
      
      
      	
      	 	<img src="/AH/assets/galleries/66/tn_163085.jpg" class="thumbnail" title="  » Click to zoom ->" alt="  » Click to zoom ->" />
      	
      	</a>
      	
      </li>
      
      
      </ul>
      <ul class="thumbs">
      			</ul>
      		</div>
      	
      
      <br>
      <br>
      </td>
      
                          <!--gallery boxes-->                
                      <td width="232px"valign="top">
      
      
      
                      	<!--right imgs table-->
                          <table border="0" cellpadding="0" cellspacing="0">
                          	<tr height="100px"><td width="232px"><a href="#"><img src="news/imgs/right_img_01.jpg" width="232" height="100" /></a></td></tr>
                              <tr height="100px"><td width="232px"><a href="#"><img src="news/imgs/right_img_02.jpg" width="232" height="100" /></a></td></tr>
                              <tr height="100px"><td width="232px"><a href="#"><img src="news/imgs/right_img_03.jpg" width="232" height="100" /></a></td></tr>
                              <tr height="100px"><td width="232px"><a href="#"><img src="news/imgs/right_img_04.jpg" width="232" height="100" /></a></td></tr>
      
                          </table> 
                          <!--end right imgs table--> 
                      </td>
                  </tr>
              </table>
              <!--end Body & Content table--> 
              <!--footer-->
              <table border="0" cellpadding="0" cellspacing="0">
              	<tr height="50px">
                  	<td width="100px"><a href="#"><img src="main_imgs/foot_logo.jpg" width="100px" height="50px" /></a></td>
                      <td width="128px">
                      <div class="copy">
                      	ALL RIGHTS RESERVED<br>
      					© 2008 AH.FM
                      </div>
                      </td>
                                      <td width="540px" bordercolor="#FF6600">
                      <div class="foot_menu">
                      <a href="index.php?id=75" target="_self">ABOUT</a> | 
                      <a href="index.php?id=1">NEWS</a> | 
                      <a href="index.php?id=4">EVENTS</a> | 
                      <a href="index.php?id=7">RADIO</a> | 
                      <a href="index.php?id=99">VIDEO</a> | 
                      <span>GALLERY</span> | 
                      <a href="http://forum.ah.fm">FORUM</a> | 
                      <a href="index.php?id=89">PARTNERS</a> | 
                      <a href="index.php?id=98">CONTACT</a>                  </div>
                      </td>
                    <td width="232px" align="right">
                          <script type="text/javascript">
      AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','158','height','50','id','ap_banner','align','middle','src','ap_banner','quality','high','bgcolor','#000000','name','ap_banner','allowscriptaccess','sameDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','ap_banner' ); //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="158" height="50" id="ap_banner" align="middle">
                              <param name="allowScriptAccess" value="sameDomain" />
                              <param name="allowFullScreen" value="false" />
                              <param name="movie" value="ap_banner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" />	<embed src="ap_banner.swf" quality="high" bgcolor="#000000" width="158" height="50" name="ap_banner" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                          </object></noscript>
                      </td>
                  </tr>
              </table>	
              <!--footer-->
          </td></tr></table>
          <!--end all content table-->
      </td></tr></table>
      <!--end container-->
      
      
      
      			<script type="text/javascript">
      			function startGallery() {
      			var myGallery = new gallery($('myGallery66'), {
      			showArrows: false, 
      			showCarousel: false,
      			showInfopane: false, 
      			thumbHeight: 75, 
      			thumbWidth: 100, 
      			thumbSpacing: 10, 
      			embedLinks: false, 
      			fadeDuration: 500, 
      			timed: true, 
      			delay: 5000, 
      			preloader: true, 
      			slideInfoZoneOpacity: 0.7, 
      			carouselMinimizedOpacity: 0.4, 
      			carouselMinimizedHeight: 20, 
      			carouselMaximizedOpacity: 0.7, 
      			textShowCarousel: 'Pictures' 
      			});
      			}
      			window.onDomReady(startGallery);
      			</script>
      </body>
      </html>
      


      I’ve corrected 1 mistake after validating but nothing happened.
        Getting higher! | www.djabuzz.com
        • 2603
        • 104 Posts
        Quote from: doze at Feb 23, 2009, 05:04 PM

        But, If you have just a problem on managing some document because ajax search is on the same page, just create a separate document what you use to manage the galleries. You can use that document for all galleries, if they share the same image sizes and all. So create a document that does not have ajax search on the same page and use &is_target=`1` on the call, then in the other calls, use &manage_target=`id_of_the_document_you_created` parameter in every call.. Then when you click manage pictures button, you should be forwarded to that document without ajax search and it will manage the pictures from that gallery where you clicked the button.

        I’ve made as you told: created separate document (with blank template, id 111), put there :

        [!MaxiGallery? &is_target=`1`!]


        added to the call (n the template), wich I need to manage - &manage_target=`111`:
        [!MaxiGallery? &id=`gallery1` &manage_target=`111` &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`!]


        but it didnt help. :’(
          Getting higher! | www.djabuzz.com
          • 2603
          • 104 Posts
          Quote from: mrhaw at Feb 23, 2009, 05:24 PM

          value=""[+as.inputOptions+]>

          ?

          I’ve corrected to value="[+as.inputOptions+]"

          Problem is still exists.
            Getting higher! | www.djabuzz.com
            • 2603
            • 104 Posts
            I’ve fogotten to tell, that when I push "Manage" button (in this gallery wich I cant manage because of AS), and it drops me to the search result page, I see managing pictures form and I can add/manage pictures. And when I push "back to normal view", it goes to the search page. Those pics are’nt appearing anywhere.

            By the way, when I push "Search" button on this page with "Manage" button, it drops me to the same page (search results and form for adding pictures) as when I push button "Manage".
              Getting higher! | www.djabuzz.com
              • 20413
              • 2,877 Posts
              You are missing </form> closing for ajaxsearch as well!
                @hawproductions | http://mrhaw.com/

                Infograph: MODX Advanced Install in 7 steps:
                http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

                Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
                http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
                • 7923
                • 4,213 Posts
                Yes.. so it seems.. if only you had read my first post to this thread, we would have saved much time.. undecided

                Btw, you are also having some PHx problems as PHx syntax is printed to your rendered html source:
                [+as.showForm:is=`1`:then=`
                <form id="ajaxSearch_form"  action="index.php?id=46" method="post">
                


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."