作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我喜欢在模式窗口中打开组件后端 View 。我所有的尝试都将我带到一个模态窗口,在模态窗口的 iframe 中显示整个后端。我使用此链接打开窗口:
<?php
$link = 'index.php?option=com_serveradmin&view=filehistory&layout=modal&id=' . (int)$file->id;
?>
<a href="<?php echo JRoute::_($link);?>" class="modal"
rel="{handler: 'ajax', size: {x: 875, y: 550}, onClose: function() {}}" >
<?php echo $file->orig_name; ?>
</a>
View 文件夹包含带有以下代码的 modal.php:
defined('_JEXEC') or die;
JHtml::_('behavior.modal');
?>
<h1>This is the file history</h1>
仅此而已,这就是我想在第一步中展示的全部内容。有人试过这个吗?有没有办法做到这一点?提前致谢。
最佳答案
您可以将 tmpl=component
添加到您的 url,这样 Joomla 将只呈现没有模板的组件。事实上,Joomla 将使用您当前模板中的 component.php
。
关于view - 如何在模态窗口中放置 Joomla 2.5 后端 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14768658/
我来自 Asp.Net 世界,试图理解 Angular State 的含义。 什么是 Angular 状态?它类似于Asp.Net中的ascx组件吗?是子页面吗?它类似于工作流程状态吗? 我听到很多人
我一直在寻找 3 态拨动开关,但运气不佳。 基本上我需要一个具有以下状态的开关: |开 |不适用 |关 | slider 默认从中间开始,一旦用户向左或向右滑动,就无法回到N/A(未回答)状态。 有人
我是一名优秀的程序员,十分优秀!