joomla

How do you post content to a specific template position?

I purchased a template / theme from RocketTheme, but I can't figure out how to add content at a specific position. The templates have "module positions" that collapse. I'd like to add some content at one of the module positions. If I add articles, they seem to go into "mainbody". But I'd like to have content in other areas of the templ...

Connecting to 3rd party databse in Joomla!?

I need to connect to another database in Joomla! that's on another server. This is for a plugin and I need to pull some data from a table. Now what I don't want is to use this database to run Joomla!, I already have Joomla! installed and running on its own database on its server but I want to connect to another database (ON TOP of the c...

{PHP} Fatal error: Using $this when not in object context (Joomla)

Hi all, i don't really know php and have hit a brick wall. The problem is that my site is showing the following error... Fatal error: Using $this when not in object context in /hermes/web07/b2350/pow.thefoodie/htdocs/index.php on line 11 This is the begining of my index.php file... <?php /* Joomla templates by Joomladesigns.co.uk...

Joomla - how to move log in from home page to article page

Hi, http://www.linkmanagementgroup.com/ My problem is that i've got the log in on the Front Page (and homepage) but i need to move it so that it only appears with the "Link Associates" article page. <div id="logIn"> <jdoc:include type="modules" name="top" style="beezDivision" headerLevel="3" /> <jdoc:include type="modules" name="us...

JSite, JAdministrator in Joomla

I can find documentation for their super class JApplication, but I can't find documentation for either of these classes? ...

Extract primary key from MySQL in PHP

I have created a PHP script and I am lacking to extract the primary key, I have given flow below, please help me in how can i modify to get primary key I am using MySQL DB, working for Joomla, My requirement is tracking the activity like insert/update/delete on any table and store it in another audit table using triggers, i.e. I am doin...

Suggest me, is it a good idea to make changes in default Joomla code structure?

Suggest me, is it a good idea to make changes in default Joomla code structure? I need to keep an insert query after every insert/update/delete operation in Joomla administrator code. so that i can track the change i have made. Is it good idea to make the changes every where in the default code in Joomla default structure? ...

Nobody owner (99 99) in FTP caused by php functions !

I have a script (Joomla) that creates files and directories on the server. The problem is that it creates them under owner 99 99 (nobody) and after I can't delete or modify them by FTP without the help of the server admin. I think that is move_uploaded_file function of php. Is there any solution of this problem by the WHM or by the ser...

Joomla disable parent template ?

I am buildin facebook canvas app, and the code suppose to be generated in joomla component but I need to only output the content , excluding the default layout , any ideas? ...

How to use Joomla to allow users to create/update data on my site?

Right now Im using an extension called chronoforms but Im open to anything that works. I can make forms just fine, and it saves the submitted data to a table. Where I am stuck is, how do I then allow my front end users who filled out and submitted the form to go back, view their old answers, change them, and resubmit them or resave them....

Joomla syntax for mysql last inserted id?

What is the joomla syntax for mysql last inserted id? ...

Is there any inbuilt function to insert values in db used in Joomla framework?

Is there any inbuilt function to insert values in db used in Joomla framework? I am looking for the insert query in adminitrator folder for #__menu table and other tables, but i can only find the update select and delete queries on searching in Dreamweaver, So please tell me is there any inbuilt function that Joomla uses for insert quer...

URL rewriting in joomla

I need to rewrite url in joomla. But the url should not be showing "index.php" and no numbers (0-9) as well. 1st condition: The url cannot be " http://www.abc.com/index.php/components/article" rather than it should be "http://www.abc.com/components/article". 2nd condition: the url cannot be "http://www.abc.com/components/article/9" w...

How to get the required value displayed from the given array?

From below array i want the value of "_sql" to be displayed or we can I want to echo the "_sql" value, so what should be the syntax to display it in PHP code? JTableMenu Object ( [lft] => [rgt] => [home] => [_tbl] => #__menu [_tbl_key] => id [_db] => JDatabaseMySQL Object ( [name] => mysql ...

Can not get Joomla! JText to output translation.

Im writing an Joomla plugin but can not get the JText to output the right translation. Seems somehow that the *.ini will not load. in my configurationfile. (.xml): language/en-GB/en-GB.plg_content_rsstotable.ini in the .ini file: TECH_HOME=Technical homepage GUIDEDOC=Guide document ...

Reliable strtotime() result for different languages

There was always a strange bug in Joomla when adding new article with back-end displayed with a language other than English (for me it's Russian). The field "Finish Publishing" started to be current date instead of "Never" equivalent in Russian. For a site in php4 finally found that strtotime function returns different results for arbi...

Suckerfish CSS menu not expanding for submenu

My suckefish menu on site http://www.lendorlaw.com cut off the right side of my menu. when you hover over practice areas it cuts of the word LAW. Some assistance would be appreciated. ...

Convert PHP Joomla to the HTML

Hi, I've downloaded a PHP Joomla template, and I want to remove all PHP/Joomla statements from the code (I want to convert that code to the static HTML code) I don't know what to do with the e.g. <jdoc:include type="modules" name="left" style="user" /> <jdoc:include type="modules" name="user4" /> here is the code from the Index.php p...

Updating joomla site in production from developpement server

Hello everybody, I've two sites buit on joomla. Theye are respectivly hosted in two defferent servers. The first one is the developpement machine and the other is where is the production. I frequently modify articles, some files... in the developpement machine. I would like to know wether it is possible to update automatically the produ...

Multipage forms for joomla (looking outside the box)

I have created a number of forms using various Joomla components which have more or less worked successfully. Recently I have attempted to create mult-page forms - the forms work...but they are slow as molasses. Having spent a couple of weeks trying to resolve this and not seeing any signs of improvement ...... I wonder if anyone has e...