joomla

Include document in joomla with PHP

Hi I'm very fresh to PHP world. Trying to do as I think very simple thing(?)- include external file in Joomla template. <?php include_once('templates/' echo $this->template '/includes/footer.php'); ?> But unfortunately it is not working. can someone please tell me how correct string should look like? Thank you in advance ...

rewite rule for two folders

Hi, I'm migrating my web from Joomla to Wordpress, in order to do so I need to set up access to a new subfolder to install wp. I have a htaccess file redirecting actual Joomla app to subdirectory /joomla/ I need access to /wp/ to set up and test before deleting /joomla/ directory. actual htaccess: <Files php.ini> order allow,deny de...

How To Integrate Custom Functions Into Joomla!

I recently began looking into Joomla as a platform for developing websites. I've read various articles, tutorials, etc. However, I still have't read anything related to creating dynamic content. For example, suppose I need to create a table for hotels, insert data and then retrieve and display that data, how would I go about doing thi...

Preloader question, preloader not on top of the page

Hello al, I have made a post yesterday (late in the evening), but that one wasn't very clear to you, so I hope this will be better. I have found a code which I'd like to use as a preloader for my website. It seems to work, but the problem is that the complete website is still visible. The maker of this script claims that the preloader ...

How to use Squid(Proxy and reverse proxy) with joomla

hi i want some optimization tips on joomla performance i used memcache but i dont now how to use proxy and reverse proxy () with joomla please help Thanks ...

Basic modal code login intergrated in Joomla login form

Hi, I have found a nice code for a basic-modal login dialog. I also have a Joomla website which I'd like to have the basic modal code intergrated to. For a example, please click the link beneath and choose the "login dialog box" link Login Dialog Box This is the HTML Part <!-- #dialog is the id of a DIV defined in the code below -->...

Getting visitors email ids in Joomla

How to let visitors of the website provide their email ids, optionally, for further future communication with them. Its not specifically a newsletter subscription or anything (but could as well be) but just a polite pop-up on visiting a page, asking them to provide their email address, if they wish to be contacted sometime in future. ...

Making joomla use innoDB and support transaction

I am new to joomla and have just discovered that it uses myISAM database engine by default. I already searched the joomla forum and extension directory, and even in google but got no useful result. Since joomla is such a big community, I am not sure why nobody seems to have an answer to it. I would like to know if there is any well-kno...

Redirecting from public_html to public_html/new/

I have Joomla site which was upgraded to newest version. New version is in /new/ folder. How can I instruct apache through the .htaccess file to redirect all requests to /new/ folder instead to public_html? ...

PHP variable from other file comes back as NULL

In one PHP file, I have this code: require_once $_SERVER['DOCUMENT_ROOT'] . '/custom/functions.php'; global $testVar; var_dump($testVar); In the functions.php file, I have this at the beginning, followed by a few other functions: function pr($s) { echo '<pre>', htmlspecialchars(print_r($s,true)), '</pre>'; } $testVar = 'hello wo...

Modal login form how to fit it in my current login form?

Hello all, Can somebody please explain me how this code fit in to my current login form? This is the Modal code: <!-- #dialog is the id of a DIV defined in the code below --> <a href="#dialog" name="modal">My new login form</a> <div id="boxes"> <!-- #customize your modal window here --> <div id="dialog" class="window"> ...

How can I create a new Joomla user account from within a script?

We're creating an XML API for Joomla that allows partner sites to create new accounts for their users on our website. We've created a standalone PHP script that processes and validates the API request, but now we need to actually create the new accounts. We were originally thinking about just doing a CURL call to submit the signup fo...

Product Image on front page

i am working with www.botguruz.com, i am uploadng product image from my admin(virtuemart), but it's not display in product's frontpage. it displays product detail link. how can i display product image in products front page. ...

Php form for registered users in joomla

Hi, I am using joomla cms for my website, I need to add a php form for example to edit their profile details of registered users. I have created a separate php form to do so. I could use the wrapper module to display this form for registered users. But when i copy the link for ex, http://localhost/joomla/edit-your-profile.php , public us...

What is best way to implement a survey in Joomla?

Hi, I'm planning to create a survey form in Joomla(1.5) that will have a lot of custom fields (name,address, email, date of birth and more...). Now I want to get your opinion on the best approach to do it. Is there a plugin to easily do that? Or I should really code it from scratch? Also I want add and integrate some payment gateway...

PHP to work across templates in Joomla

I'm trying to get a small set of php functions working that i need available on the entire page. I'm including them in my index.php main template via require_once "my_functions.php". They work in the index.php template; that's the good news. We have a plugin that let's us write php in our content items with the following syntax: {sour...

Joomla User creation hooks

Hey! Is it possible to create a hook when a user creates an account? I have googled and found some stuff on hooks and joomla but nothing really concrete. Anyone knows if this is possible? Or do I really have to mess with the code. I just want to create code that is upgrade safe. Thanks ...

Email address as username in joomla 1.0.15

Hi, I am using joomla 1.0.15 version. I have to integrate my php application with joomla admin backend. Is it possible to pass the username and password of php application to joomla admin end, . Its username and password is admin and admin. I need to use the same username and password for administrator/index.php .Please help me. ...

I have about two months to learn as much about Joomla as possible.

My company recently decided to turn their contract web development project (they finally brought their website in house) in to a full time position. As an established employee I have first crack at an interview. I've been deveoping at a semi-pro (some light freelancing and development of web aps for my company) level for a while now, but...

Reservation Solution for RealEstate integrating with Joomla

Hi, My client needs a Property (Just Land NO Houses) Reservation solution for their existing website (It runs in Joomla). I need some advice/Tips on what approach should I use. I'm looking for an Opensource solution that I can customize to my need. The Scenario: A buyer reserves a lot, A form appears gathers his details after that he...