JOOMLA: Adding a header image to the Jforms extension
The default PHP file for Jforms can be found at:
joomla/components/com_jforms/views/form/tmpl/default.php
Take a look at the code, and you will see the following towards the start of the code:

You may need to get rid of the margin and padding for Jforms. this can be found in the CSS file:
joomla/components/com_jforms/views/form/default.css
v1.5.14 TinyMCE editor not displaying flash SWF
Seems that the tinyMCE editor in joomla version 1.5.14 is a little buggy. I’ve already encountered 2 problems with it, which after a few sleepless nights I’ve finally solved..
First problem:
The wysiwyg editor doesn’t have an icon to embed media.
Solution:
Open the plugin Editor – TinyMCE in the Plugin Manager (Extensions -> Plugin Manager) and set the parameters as follows:
- Functionality to Extended
Second problem:
After inserting a swf (Using the insert media button), the swf doesn’t display at all when viewing the site. On closer inspection of the code, you will notice that it’s magically changed from OBJECT to IMG
Solution:
Open the plugin Editor – TinyMCE in the Plugin Manager (Extensions -> Plugin Manager) and set the parameters as follows:
- Code Clean Up = Always
JOOMLA: Install problem with configuration.php
In the pre-installation checklist, you might get configuration.php marked with a NO. Just ignore this and continue with the installation.
Once the installation is complete, copy all the text inside the file configuration.php-dist, and save it to a new file called configuration.php. Open up your new file and copy in the server and ftp information that is shown in the final screen of the joomla installation. Upload the file to the root directory of your joomla installation.
Access phpMyAdmin on Plesk
> login to copanel
> Go to desired domain
> Go to databases.
> Click on desired database – Then you will find a link called “Web Admin”, click on that. It will redirect you to the PhpMyadmin tool.
VIRTUEMART: Login breaks CSS
Problem: Everytime a user logs in/out the page CSS breaks
On further investigation, I noticed that when I logged in or out, I was automatically taken back to the sites front page, and it was infact only the front page that was breaking. When naviagting to other pages on the site they all behaved correctly..
Simple fix: In the modules backend admin, I just changed the login redirection to stay on the same page that the user log’s in/out on, and everything has seemed to work fine since.
VIRTUEMART: vmMainPage – Where the heck is it?
A pesky little div class, that took me a while to track down.
In my project there were some styles attributed to it, which were breaking my layout – and I still haven’t been able to find where those styles are..
But I did find the PHP page that generates the div (So I just renamed the div, and applied my own styles)
components/com_virtuemart/virtuemart.php
Line 154
VIRTUEMART: Styling the left side bar cart
The PHP file can be found here:
/components/com_virtuemart/themes/default/templates/common/minicart.tpl.php
VIRTUEMART: Styling the ADD TO CART button
The following will remove the ADD To CART text entirely (This could be used if the button was an image):
components/com_virtuemart/themes/default/templates/product_details/includes/addtocart_form.tpl.php

Other modifications can be made using this line of code.
class: Gives the button a CSS class
value: gives the button text (ie: Add To Cart)
PHP files that create the Blog pages.
** CATEGORIES **
PHP file that creates the products:
components/com_content/views/category/tmpl/blog_item.php
PHP that creates the page
components/com_content/views/category/tmpl/blog.php
** SECTIONS **
PHP file that creates the products:
components/com_content/views/section/tmpl/blog_item.php
PHP that creates the page
components/com_content/views/section/tmpl/blog.php
** BROWSE PAGINATION **
components/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php
** FLYPAGES **
PHP file that creates the products:
components/com_content/views/article/tmpl/default.php
Removing the text heading on the frontpage
There is a text heading wrapped in a componentheading_ div class. To get rid of this, and display an image instead, look up this file:
components/com_content/views/frontpage/tmpl/default.php
Look for the div class componentheading, and wrap that div in a container div.
In your CSS file, set componentheading to display: none – and set a background image in your newly created container div.
leave a comment