joomla

How do you get the language from a session in Joomla?

I have some code that sets the lang var to the site default language. $lg = &JFactory::getLanguage(); $lg = explode('-',$lg->_default); $dlg = $lg[0]; if(!JRequest::getWord('lang', false )) JRequest::setVar('lang', $dlg ); however before setting it to $dlg I would like to find out if the language is stored in the user information ...

How to get current Joomla user with external PHP script

I have a couple PHP scripts used for AJAX queries, but I want them to be able to operate under the umbrella of Joomla's authentication system. Is the following safe? Are there any unnecessary lines? joomla-auth.php (located in the same directory as Joomla's index.php): <?php define( '_JEXEC', 1 ); define('JPATH_BASE', dirname(__FILE...

Virtuemart databse connection in Joomla 1.1

Hi All, I'm modifying the Product Form to add in a field that allows a tagline for products. In the database, I've created a new field in the jos_vm_product table and added an entry in the $fields array in the ps.product.php file. In my product.product_form.php file I've used this code to insert the tagline into the database: <textare...

Paging doesn't work in the Joomla Article Manager in the admin section

I inherited a Joomla site that is having a problem with the article manager in the admin section. The pagination doesn't work! If I click the page number, forward, back, or page size, nothing happens! So I found out that someone had previously installed the iJoomla SEO plugin, but it never worked so they removed it. I think it is incompa...

Help! Joomla Templates!

Hi Everyone, I need to make this design: http://www.stephburningham.com/lmg/ into a joomla template but I've never made a joomla template before and the tutorials are so complex! Can anyone start me off? Thanks a lot, Steph ...

Joomla Version in MySQL Database

Hello: I have a crashed/hacked Joomla installation (Files and Folders only) Database has NOT been compromised so I have the DB which is in Good Condition. I need to find out what was the installed version of Joomla that was live, so I can download that exact version package and reinstall it on a new location. Is there a table or an ent...

What is the best solution for a blog with e-commerce?

Hi! While there are loads of Joomla vs Wordpress posts out there, none address which is best suited to a blog with an attached online store. I anticipate having about 40 or so articles and want the full set of blogging features- tags, comments, talkback, sharing options, SEO functionality, support for ads etc. The online store will co...

Joomla user registration plugin

I am interested in customizing the authentication method for a Joomla website. There is a comprehensive tutorial on how to make a custom authentication plug-in, however a plug-in of that sort customizes the behavior on each log-in. The behavior I need to implement should occur only once during registration. Is there any way to implemen...

Joomla - template dissapearing

Hello, I have a Joomla Website located at http://www.MikeSilvis.com, and upon going to the site initially everything looks fine. However if you go into the site and click any link say web-design You can see that the default template is no longer being displayed. I have tried changing to a different template but that does not seem to ...

Jquery cycle plugin image resizing issue opera

I am using the cycle plugin within Joomla and it works fine on IE6,FF,SAFARI,CHROME however when you view it in OPERA breaking happens. It loads fine but when it brings in the next slide and every consequent slide after that it re-sizes them to what i can only assume to be the browswe window's width and height. here's my javascript <s...

Why does Joomla debug show 446 queries logged and 446 legacy queries logged?

I have been called in to fix the performance of a Joomla site that was already setup. I look at the debug output and it shows the same queries twice, once for queries logged and again for legacy queries logged. My guess is that it is actually running the same queries twice make for just under 900 queries per page (hope I am wrong) The ...

about currency change in joomla virtuemart.

how can i embed currency dynamically in virtuemart into another component in joomla ...

How can I add HTML near the </body> tag within a Joomla Module?

I am quite new to using Joomla. I have created a custom module, however I would like to add some code near the </body> tag (or near the opening <body> tag) so it is guaranteed to be not nested in any tables whatsoever that might be in the template. I have located details on how to do this within a content plug-in, however I would like ...

joomla - SEO settings and mod_rewrite

Hi I'm using Joomla 1.5.14 and I configured SEO as in the following image Now I need to map a few old URL to the new site let's say that I need to map htp://mysite/old.html to the new Joomla page http://mysite/index.php?option=com_content&amp;view=article&amp;id=32&amp;Itemid=70 I added in my .htaccess file the following Rew...

Getting 500 error with Joomla, when creating an Article

When I try to add an article from the administrator section, I get the 500- An error has occurred! DB function reports no errors. It's hard for me to figure this out, when we had someone else set this up for us. The problems seems to be when I try to add a new page. I can edit existing pages though. I've been trying to add my google c...

replace tiny mce with ckeditor in joomla

hi I have a joomla project. In this the text editor is tiny mace. But there is no option to upload a pdf file. So I want to implement Ck editor or fck editor instead of tiny mce. I have downloaded ck editor and install as usual way (admin side ->extension->install- uninstall section) and disabled the tiny mce in Plugin Manager. But I ca...

Hide Joomla Template in Controller

Hey Guys, i have a big Joomla 1.5 Problem. I'll create my own Gallery Component/PlugIn and want to add an AJAX Sorting possibility. In the Backend i want to reorder the Images by Drag&Drop in an Gallery. It works, but for the Output i have the following Problem: I send the AJAX Request to index.php?option=com_cwgallery&controller=gal...

Reducing load time, or making the user think the load time is less

I've been working on a website, and we've managed to reduce the total content for a page load from 13.7MiB's to 2.4, but the page still takes forever to load. It's a joomla site (ick), and it has a lot of redundant DOM elements (2000+ for the home page), and make 60+ HttpRequest's per page load, counting all the css, js, and image requ...

Ck editor file uploading - getting internal server error 500

Hi, We have a web site with domain http://209.59.154.150/~phnxaudi/,. To develop this website we have used Joomla framework, and we have used Ckeditor in it, for uploading files(pdf, images etc ). Also we have installed Ckeditor in the server. But for some reason we are getting an internal 500 server error. Could anyone please help us ...

Is there any possibility of changing the MySQL DB table's field name or adding a new field in Joomla in any project?

Is there any possibility of changing the MySQL DB table's field name or adding a new field in Joomla in any project? I need this information because I have to apply the Triggers for the tables.. Please Help ...