如何在joomla 2.5.14中插入自定义示例数据(How to insert custom sample data in joomla 2.5.14)
我已经下载了joomla 2.5.14,所以我的问题是在安装joomla时发现了一个选项安装样本数据,我也在Load sample data下找到了这个选项(1b。可以插入自定义样本数据。为此,请选择一个可用的样本下拉列表中的数据,然后单击“安装示例数据”按钮)
但是我找不到选择我的样本数据的下拉列表而是安装而不是安装joomla给出的默认样本数据。 任何帮助将不胜感激 !!
I have downloaded joomla 2.5.14, so my issue is while installing joomla i found an option install sample data and i also found this option under Load sample data (1b. Custom sample data can be inserted. To do this, choose an available sample data in the dropdown and click the Install Sample Data button)
But i cannot find a dropdown to select my sample data and install rather than installing the default sample data given by joomla. Any help will be appreciated !!
原文:https://stackoverflow.com/questions/18015854
最满意答案
If you are using jquery ui dialog:
$('#foo').dialog('close');
Where
foo
is the id of the DOM element the dialog has been attached to.
相关问答
更多-
尝试这个: $dialog.dialog( "option", "buttons", { "Cancelar": function() { $dialog.dialog("close"); $(this).empty(); } }); $dialog.dialog('open'); 要么 $dialog.dialog( "option", "buttons", { "Cancelar": $.proxy(function() { ...
-
每次打开/关闭对话框时,请尝试重建对话框的HTML。 我认为你现在只是展示和隐藏它,所以它永远不会重置。 尝试这样的事情: $( "#quiz-link" ).click(function( event ) { // create a clone of your dialog var quiz_clone = $( "#quiz" ).clone().appendTo(body); quiz_clone.dialog({ open: function(eve ...
-
在对话框的右上角,将鼠标悬停在按钮的哪个位置,并且看到相当或不会有一些效果(按钮悬停)。 尝试点击它,看看它是否关闭。 如果它很接近,那么你只是丢失了您的包下载附带的图像精灵。 In the upper right corner of the dialog, mouse over where the button should be, and see rather or not you get some effect (the button hover). Try clicking it and seein ...
-
将您的代码更改为: $(".ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-icon-only.ui-dialog-titlebar-close").click(function (e) { alert('Hi'); // actions }); 你的
-
如果您正在使用jquery ui对话框 : $('#foo').dialog('close'); 其中foo是对话框附加到的DOM元素的id。 If you are using jquery ui dialog: $('#foo').dialog('close'); Where foo is the id of the DOM element the dialog has been attached to.
-
如何在其中关闭带有iframe的jQuery模态对话框?(How can I close a jQuery Modal dialog with an iframe in it?)[2022-12-13]
如果这意味着您想要从iframe内部关闭对话框,您可以尝试类似的东西 parent.$('#your-dialog-id').dialog('close'); 如果需要我可以提供一个完整的例子...... if that means that you want to close the dialog from inside the iframe, you could try something like that parent.$('#your-dialog-id').dialog('close'); ... -
在函数外部初始化对话框。 在加载成功之前,您也不应尝试打开对话框。 $(function () { $('label.answer').click(function (event) { openInDialog(this, event, 'http://localhost/Questions/Answer/2') }); }); var $dialog = $('').dialog( { autoOpen: false , modal: true , s ...
-
关于我的经验几乎没有注意到每个日期选择器(我在表单上有多个)必须具有不同的类属性名称。 在包含datepickers的partialview内部我讨厌以下javascript: $(function () { $(".meetingDate1").datepicker({ dateFormat: "dd/mm/yy" }); $(".meetingDate2").datepicker({ dateFormat: "dd/mm/yy" }); }); 然后在打开模态的主页面中返回部分视图,我 ...
-
你可以调用window.top.dialogClose(); 这应该够了吧。 You can call window.top.dialogClose(); That should do the trick.
-
您可以使用bootstrap模式回调。 $('#dialog').on('hidden.bs.modal', function () { $('.modal-body').html(''); }); You can use the bootstrap modal callback. $('#dialog').on('hidden.bs.modal', function () { $('.modal-body').html(''); });