joomla1.5

Using Joomla's baseurl to import javascript

Hi, I am trying to use Joomla's basurl to link to my javascript files like this: <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/js/music.js"></script> My code highlighting though seems out of whack and I am wondering if anyone knows how I should be writing this please? if I use it in the css link everythi...

problem in mail sending

I m sending mails through openinviter. Receiver gets two mails at a time. both mails are same. how can i solve it ...

use differen font in joomla

I need in one of my clients site to use the font they buy recently. I am using CMS JOOMLA and confused how to install this new font (Its in .ttf format). I read some articles while goggling that if we use font in joomla the user should also have the font installed in the system to view it. Please guide me how to install the font. ...

good 3d Video carousel script

Can anyone get me a good script for video carousel. I want it to use it with my Joomla/php. ...

Global setting of Resources menu in Joomla like Main menu

Hi, In Joomla there are Main Menu and Resources menu, the Main Menu is available on all pages but the Resources menu does not, how could we apply same setting to Resources menu so that we can access Resources menu as well? ...

Is there a more efficient way to run queries inside a loop? Memory issues.

I have a Joomla website that I've written a custom shopping cart component for. The user is basically purchasing codes we're storing in our database - these are associated with a printed incentive card. When the user checks out, I need to grab a chunk of codes from the database (however many they've purchased), then loop through the lis...

Joomla template show image thumbnail on frontpage

Using joomla 1.5 how do you add thumbnail images to the list of articles on the frontpage. What I am after is something similar to this http://templates.joomlart.com/ja_quartz/ (scroll down to the list under welcome to the frontpage) As you can see this shows the date, then a thumbnail image and then a snippet of the article with a r...

How to add new fields in cart of VirtueMart (Joomla!)

Hello, I am working on joomla and using joomla VirtueMart component.I created new fields in product detail page like color and size (drop down), Now I want to add that POST value (ex. $_POST["cmbColor"]) in shopping cart process and finally to be saved in database of VirtueMart.Please help me how to add these fields in cart. ...

jimport not working in Joomla 1.5

Hello! I have downloaded some sample code for openId in Joomla 1.5. I am learning as I go with this Joomla thing and re-learning some PHP things. So I'm basically terribly new to this entire Content Manager world. I am trying to make a little plug-in for authentication with openid but it seems to be just wrong. I have successfully debu...

Execute PHP script inside Joomla! cms once - geo based redirection

Hi I'm trying to figure the best way to execute a PHP script inside Joomla! I want to redirect users if they are not from X country (already have a database and the script) I found this extension but I want to make my own stuff http://bit.ly/daenzU 1) How could I execute the script once for each visitor? Working with Cookies? 2) As I'll...

Joomla Tooltip in Custom Component

I am creating a custom MVC component in Joomla and want to use tooltip to provide more information for specific field. I found this tutorial on Joomla docs website showing how to use tooltip. I followed the tutorial as close as possible but after page loads my tooltip is not display properly. I see My Title::My Description... blah blah...

Joomla Migation 1.0 to 1.5

Hi I have successfully upgraded My 1.0 installation to 1.5. Now my problem is how do I get all my components to be in the new install? I am running the legacy plugin but all my components didn't show up under Extension on the back end.... ...

Is there a way to access Joomla 1.5 user variables (like user id) from a Flex 4 application using a PHP Data Service?

I have written a script (in two files) that correctly displays a Joomla user id, like this: //this is testy.php define( '_JEXEC', 1 ); define('JPATH_BASE', dirname(FILE)); define( 'DS', DIRECTORY_SEPARATOR ); require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); $main...

Joomla : How to load template options depending on a specific menu Item

Hi I am developing a site based on Joomla 1.5 and I wanted to know how can we load varying template options dependiing on a menu item ID. A good example of what i am looking for is with the Gantry Framework (http://www.gantry-framework.org). Here you can change template settings on a per menu Item ID basis. A simple PHP or a jQuery s...

Joomla WordPress single signon

Hi I am developing a site based on Joomla 1.5 and using wordpress for the blog aspect for the site. I need help in user authentication part. I am looking for sharing the user session between both. Example : If a user loged into Joomla he gets logged into wordpress too are may be the reverse way. What I mean is let the user registratio...

Joomla Subsite Builder

hello all, I'm trying to build a New Joomla Site , which would be the Main Site and Users Registering to the site will be able to create their own Sub-sites. For. e.g. if main site is www.xyz.com then sub-sites would be usersname.xyz.com. The steps in the Main Site that will help users to create thier own site are :- 1. Select user Reg...

In Joomla, where should I put my classes that calculate?

I'm working on a joomla component that includes building a schedule. On any given day it needs to look at a set of rules (day of the week, date of the year, type of event) and return all of the possible start times. It would make sense to have a class that calculates these things, but I'm not sure it fits in the model or controller (and ...

How to logically evaluate best method for storing small data in a Joomla module?

I'm working on a new Joomla! module where I need to store a read-only data of about 40 key/value pairs with a keyword and corresponding URL link. There are several options but I'm not sure which one would be convenient for the programmer and fast-loading for the user. Or maybe because the data amount is so small it doesn't really matter ...

How can I install joomla modules automatically

Is there a CLI script I could run on the server (probably from cron) to install the new .zip file? I'm working on a joomla project and I would like a way to automatically have the new version installed on my remote test server when I commit. Currently I build the package and then have to log into the test server, select the file, upload...

Removing "prev" link from an article

Hi, I am new to Joomla. I want to remove only the "< prev" navigation link from one of my articles and keep the "next >" from one of my pages. Can someone help me how to do that ? Thanks in advance ...