0
大家好,我在做的Joomla网站3展现在模态窗口视图
我想,当我打开一个模态窗口来执行任务,我显示了这一点,我这样做是模态的看法..
这是任务的路由器来执行
<?php $link = JRoute::_('index.php?option=com_projects&view=proyectos&task=este&id='. $item->id);?>
<div class="span4">
<a href="#.<?php echo $link; ?>" role="button" class="btn" data-toggle="modal">
<img src="<?php echo JURI::root()?>/<?php echo $item->imagenportada; ?>"/></a>
</div>
现在的模态窗口
<div id="<?php echo $link ?>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Save changes</button>
</div>
</div>
但鸵鸟政策工作。任何想法!
一些澄清,将有助于...像什么实际上是错误的..你有什么试过... – Craig 2013-02-18 23:12:44
你读过这个吗? http://docs.joomla.org/Creating_a_modal_form_field – 2013-02-19 11:21:29