How to make 2 calls in one page? For example Ditto and Maxigallery.
I tried so:
[[Ditto? &startID=`7` &tpl=`radio` &sortBy=`pub_date` &sortDir=`DESC` &hiddenFields=`tvauthor` &summarize=`7` &paginate=`1` &paginateAlwaysShowLinks=`1`]]
[!MaxiGallery? &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/news.png` &pic_watermark_type=`image` &pic_use_imagemask=`1` &pic_mask_img=`assets/snippets/maxigallery/imagemask/mask.png` &pic_mask_bgcolor=`000000` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showInfopane=`false` &smoothgallery_delay=`9000`!]
And in template: [*content*]
How to make this correct?
Thank you
Getting higher! | www.djabuzz.com
Thank you for your answer. I tried your new code. Works fine, but I dont understand the difference ...
Quote from: dev_cw at Feb 04, 2009, 06:30 PM
2 calls on a single page is no problem, specially for unrelated snippets like Ditto and MaxiG. What is the problem you are having?
I dont know how to make this

What should I write in content and what should I write in template?
Also dont know how to make Ajax search. Do you know some good tutorial or example?
Getting higher! | www.djabuzz.com
Quote from: dev_cw at Feb 06, 2009, 05:53 AM
I use the content, and will either place code directly in te template, or indirectly in the form of chunks. There is a cool method in the wiki for using TVs to define which chunks show on a page. http://wiki.modxcms.com/index.php/Create_TV-Based_Chunks
Thank you!

Sometimes things are simpler than you imagine. But now I have another problem with content

When I insert maxigallery call dirrectly into template, "manage" button is inactive.
<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? &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/news.png` &pic_watermark_type=`image` &pic_use_imagemask=`1` &pic_mask_img=`assets/snippets/maxigallery/imagemask/mask.png` &pic_mask_bgcolor=`000000` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showInfopane=`false` &smoothgallery_delay=`9000`!]
</td>
</tr>
</table>
<!--end radio & flashbanner table-->
</td>
</tr>
</table>
<!--end header table-->
dont know what to do
Getting higher! | www.djabuzz.com