رفتن به مطلب

moh6973

عضو تالار جوملا
  • تعداد ارسال ها

    3
  • تاریخ عضویت در سایت

  • آخرین بازدید

درباره moh6973

  • درجه
    عضو تالار جومینا

آخرین بازدید کنندگان پروفایل

243 بازدید کننده پروفایل
  1. moh6973

    مشکل در رابطه با کامپوننت سئوالات

    سلام. فایل edit.php <?php /* Copyright © 2012 Sweta ray. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" @license GNU/GPL http://www.gnu.org/copyleft/gpl.html Questions for Joomla This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/> Questions for Joomla Version 0.0.1 Created date: Sept 2012 Creator: Sweta Ray Email: admin@phpseo.net support: support@phpseo.net Website: http://www.phpseo.net */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); /* JHtml::_('behavior.keepalive'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.calendar'); JHtml::_('behavior.formvalidation'); */ $doc = JFactory::getDocument(); $doc->addStyleSheet("components/com_questions/media/simple-question.css"); $config = JFactory::getConfig(); if ($config->get('captcha') != '0') { JPluginHelper::importPlugin('captcha'); $dispatcher = JDispatcher::getInstance(); $dispatcher->trigger('onInit','dynamic_recaptcha_1'); } ?> <div class="questionbox"> <div class="questions_filters"> <ul><li><a href="<?php echo JRoute::_("index.php?option=com_questions&view=questions"); ?>">Home</a></li><li><a href="<?php echo JRoute::_("index.php?option=com_questions&view=form&layout=edit"); ?>"><?php echo JText::_("COM_QUESTIONS_ASK_A_QUESTION"); ?></a></li> </ul></div> </div> <h1>EDIT</h1> <form action="<?php echo JRoute::_('index.php?option=com_questions&view=question&id='. QuestionsHelper::getAlias((int)$this->item->id)); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data"> <div class="formelm"> <?php echo $this->form->getLabel("name");?> <?php echo $this->form->getInput("name");?> </div> <br /> <div class="formelm"> <?php echo $this->form->getLabel("email");?> <?php echo $this->form->getInput("email");?> </div> <br /> <div class="formelm"> <?php echo $this->form->getLabel("title");?> <?php echo $this->form->getInput("title");?> </div> <br /> <div class="formelm"> <?php echo $this->form->getLabel("text");?> <?php echo $this->form->getInput("text");?> </div> <br /><br /><br /><br /><br /> <div class="formelm"> <?php echo $this->form->getLabel("catid");?> <?php echo $this->form->getInput("catid");?> </div> <br /> <div class="formelm"> <?php echo $this->form->getLabel("qtags");?> <?php echo $this->form->getInput("qtags");?> </div> <div class="formelm"> <?php echo $this->form->getLabel("groups");?> <?php echo $this->form->getInput("groups");?> </div> <br /> <div style="display:none;"> <label for="LastName">You normally wont see this field. If you can please leave it empty.</label> <input id="LastName" name="LastName" type="text" /> </div> <br /> <?php $params = JFactory::getApplication()->getParams(); //parse config options $recaptcha = (int) $params->get('recaptcha'); $config = JFactory::getConfig(); if ($config->get('captcha') != '0') { if($recaptcha){ ?> <div id="dynamic_recaptcha_1"></div> <?php } }?> <br /> <?php //HIDDEN FIELDS echo $this->form->getInput("id"); echo $this->form->getInput("userid_creator"); echo $this->form->getInput("userid_modifier"); echo $this->form->getInput("submitted"); echo $this->form->getInput("modified"); echo $this->form->getInput("question"); echo $this->form->getInput("parent"); echo $this->form->getInput("votes_positive"); echo $this->form->getInput("votes_negative"); echo $this->form->getInput("impressions"); echo $this->form->getInput("published"); echo $this->form->getInput("chosen"); echo $this->form->getInput("alias"); ?> <input id="jform_ip" type="hidden" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>" name="jform[ip]" /> <input type="hidden" name="task" value="form.save" /> <input type="hidden" name="return" value="" /> <?php echo JHTML::_( 'form.token' ); ?> <div class="buttons"> <button type="button" onclick="Joomla.submitbutton('form.save')"> <?php echo JText::_('JSAVE') ?> </button> <button type="button" onclick="Joomla.submitbutton('form.cancel')"> <?php echo JText::_('JCANCEL') ?> </button> </div> </form> <?php /**********Kindly dont remove this credit. For getting any support from us this link should be intact************/ CopyrightHelper::copyright(); ?>
  2. moh6973

    مشکل در رابطه با کامپوننت سئوالات

    جوملا نصبی بوده و فقط این کامپوننت مشکل داره
  3. moh6973

    مشکل در رابطه با کامپوننت سئوالات

    دوستان سلام کاپوننت فارسی شده سئوالات را از سایت جومینا دانلود و نصب کردم.همه چیز درست کار می کند. جز یک موضوع - آنهم زمانی که قرار است سئوال ارسال شود. کاربران با نام کاربری وارد شده و زمان ارسال سئول دکمه ذخیره کار نمی کند. form.save اکشن دکمه ذخیره است که متاسفانه جواب نمیدهد. آدرس سایت نصب شده: http://chrpd.ir
×
×
  • افزودن...