joomla2.5

joomla get post data

允我心安 提交于 2019-12-12 01:20:45
问题 I'm creating joomla component and i have problem with accesing data from post in one view i have 6 inboxes 3 of them are chandled by JTable class and thats good, but other 3 i want to process, my fields: <input id="jform[team1_goals_players]" class="" type="hidden" name="jform[team1_goals_players]" value="2,2," aria-invalid="false"> <input id="jform_team1_goals" class="required" type="text" value="4" name="jform[team1_goals]" aria-required="true" required="required" aria-invalid="false">

Administrator URL '&' changed to '&'

烈酒焚心 提交于 2019-12-12 01:12:18
问题 I'm working on my localhost and on a system where all administrator URL's which contain a & , & is changed to & and that in turn breaks the system. What setting is doing this? What do I need to disable? My localhost is PHP 5.3. I have to mention that other Joomla system's are working perfectly fine and the & in the url are not converted to & . 回答1: There is no setting that can do this in Joomla 2.5 (as far as I know). The only think capable of doing such a thing would have to be a system

joomla prepends to 'path'

让人想犯罪 __ 提交于 2019-12-12 00:43:30
问题 my wife have a joomla 2.5 site She claims that she has done nothing except, installing and and subsequently uninstalling Koowa plugi, Ninja plugin and Ninjaboard component. Anyway after that the joomla 'path' have changed such that between the domain name and the path rendered by HTML, the joomla server now seems to insert "/index.php" or "/index.php/menu-item-name" for example clicking a link like the following: <a href="images/some_folder/xxx.JPG"> points to something like: http://www

Trying to validate HTML5 on Joomla 2.5 site but I have some meta-problems

允我心安 提交于 2019-12-11 21:24:18
问题 I´m currently trying to clean up a Joomla 2.5 site for HTML5 validation but I have a problem. The HTML5 validator is reporting the following errors: "Bad value og:title for attribute name on element meta: Keyword og:title is not registered." "Bad value og:type for attribute name on element meta: Keyword og:type is not registered" "Bad value og:url for attribute name on element meta: Keyword og:url is not registered" "Bad value og:site_name for attribute name on element meta: Keyword og:site

Pagination in front end Module Joomla

风格不统一 提交于 2019-12-11 21:04:03
问题 I've searching trough google for a way of adding pagination into a module, but i could only find information about adding it into components like here: How to add pagination for component front end (Joomla 2.5) Is it posible to implement this same principles to make a pagination for a module?, or a different approach is needed? 回答1: I think this is not the correct way of doing to try to implement pagination in a joomla module. Normally, only component are made to be able to use standard

How to add sortable columns in a Joomla component (table), both ASC and DESC with an arrow

倾然丶 夕夏残阳落幕 提交于 2019-12-11 19:28:43
问题 I have followed through the tutorial, http://docs.joomla.org/Adding_sortable_columns_to_a_table_in_a_component When I have followed all instructions there, I was able sort the columns, but with only ASC direction and there is no arrow indicator. Does anyone happen to know how to enable both ASC and DESC as well as arrow graphic indicator? Thanks a lot. 回答1: In the documentation it says something like below: ASC is right there. public function getListQuery() { $db = JFactory::getDbo(); $query

How to add pagination for component front end (Joomla 2.5)

核能气质少年 提交于 2019-12-11 18:43:21
问题 I am new in joomla, i want to know how to add pagination to component for FRONT END, from searching i found only pagination for back end only. 回答1: So by default there is no pagination in front-end (at least from my knowledge). It should work like in the backend. Adding the pagination from the backend in the front-end is not the smoothest thing on earth but this is how it should work: Your Model should extend JModelList In the View (view.html.php) you call the Pagination $this->pagination =

increasing php value memory limit

一个人想着一个人 提交于 2019-12-11 18:16:20
问题 I transferred the web directory of a site to new hosting. after importing the directory and the DB, I got this error: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 79 bytes) in /mnt/stor12-wc1-ord1/895923/www.youth-panel.com/web/content/libraries/joomla/database/database/mysql.php on line 712 I found my .htaccess file that was empty and added the line php_value memory_limit 256m, and it didn't work, I changed it to 512m, which is the highest that they

Which component's controller handle the form request of NEW item?

别来无恙 提交于 2019-12-11 17:11:22
问题 After checking this post, I know that Joomla use task=X.Y to call the controller to handle the request. But if I click NEW button on com_categories component, it will access the URL of /administrator/index.php?option=com_categories&view=items and containing the POST data as below: Then the URL get redirected to /administrator/index.php?option=com_categories&view=item&layout=edit . My question is why the URL /administrator/index.php?option=com_categories&view=items don't have the task=X.Y and

JFactory,JDatabase class not found in /var/www/joomla2.5/database.php

て烟熏妆下的殇ゞ 提交于 2019-12-11 15:47:36
问题 I am trying to make connection to my data base but i am getting error JFactory class not found /var/www/joomla2.5/database.php my code is $db= JFactory::getDBO(); I have also tried to make database connection externally but then iam getting the error JDatabase class not found <?php $option = array(); //prevent problems $option['driver'] = 'mysql'; $option['host'] = 'localhost'; $option['user'] = 'xxxx'; $option['password'] = 'xxxx'; $option['database'] = 'xxxx'; $option['prefix'] = 'cdri_';