Password fields in IE smaller than other fields
You create a new registration / login form. In all browsers except Internet Explorer all fields appear exactly the same size. In IE however password fields are smaller (shorter) than all other fields.
Most likely reason why password fields are smaller in IE is different font used in different types of fields.
To resolve, simply add following code to you Cascading Style Sheets .css file:
input {
font-family: sans-serif;
}
Obviously you can use any other font size.
Joomla - remove login form border
Depending on your template, Joomla registration and login forms may be displayed within a border.
If required this can be be removed by adding following code to your template .css file:
fieldset{
border:none;
}
Joomla 1.5
Joomla 1.6
Joomla 1.7
List all Joomla rated / voted articles
Joomla built in rating / voting plugin allows visitors to vote on your articles. You can view ratings in the front end at the top of each article, but there is no easy way to see all rated articles in one place. This can be done using a simple SQL query.
This assumes that you are using phpMyAdmin:
- Login into your Joomla site phpMyAdmin control panel.
- On left hand side click on your website database.
- Click on SQL tab
- Paste following SQL query and press Go
SELECT Content.id AS ID, title AS Title, rating_sum / rating_count AS Rating, rating_count AS Count, rating_sum AS Sum
FROM jos_content_rating
LEFT JOIN jos_content AS Content ON id = content_id
ORDER BY id
Change your database table prefix from jos_ to whatever you have in your database.
The query will return a table with:
Article ID
Article Title
Current Rating
Number of Votes
Rating Sum
Sorted by Article ID. You can click on column headings to sort by different criteria.
To avoid having manually copy and paste SQL query every time, your can save it as a view, by clicking Create View at the bottom of the page. View will be displayed in your database tables list.
Joomla – insert module into article
- Customize your Module
Extensions > Module Manager > [your module]
Customize your module as required.
Then go to Position field, delete existing entry and type your own custom position e.g. content_my_module. You can type pretty much any name, but don’t use existing built in positions such as left, right, top, user1, etc.
Save module - Enable "Load Module" Plugin
Extensions > Plugin manager > Content - Load Module
Make sure plugin is enabled and Style is set to No wrapping (raw output)
Save Plugin - Open your article and in place where you want the module to appear type where content_my_module is position name you created in step 2