background preloader

Joomla!

Facebook Twitter

NetreachWebDesign's Channel‬‏ Joomla 1.5 Module Position | Revision Technology. Joomla Tutorials - RokWebify Adding New Module Positions. There are many module positions in RocketTheme templates, however, you may want more or a particular position to suit your personal needs. Once you have grasped the concept of creating new module positions, inserting them into your index.php and assign CSS to them, you will be able to truely individualise your website. The process itself is relatively simple, you just need to know exactly what you wish to accomplish and begin the creation process.

This tutorial will go through the process of creating 3 types of module positions. The first, is adding a module position underneath the right position in the side column. Part One - Adding module positions in a columnar style 1. 2. This area of the index.php is responsible for loading and controlling the right position. <? <td class="right"> defines the column in which the position is located. <div class="padding"> as the name suggests, is responsible for the padding of the module position.

<? </div></td><? 3. After the fourth line, we added <? 1. Advanced Module Manager - Modules the right way | Joomla - Joomla Training Videos.

Template design

Joomla Hosting – Best Joomla Web Hosting Companies 2011 - 2010. Usage of <iframe> in joomla. Code: function searchDB() {$("#results").html(" ")$.post("dropcalc.php? Itemname="+$("#itemname").val(), function(res) {var returnValue = $.json.decode(res)var replacement = ""for(var i in returnValue) {replacement += ""for(var j in returnValue[i]) {replacement += ""+returnValue[i][j][1]+""+(returnValue[i][j][2]*100).toFixed(2)+"%"}replacement += ""} $("#results").html(replacement).fadeIn("normal")});}$(function() {setAutoComplete("itemname","hint","dropcalc.php? Names=");});// ]]></script></p><div><div id="page"><div id="content"><div id="box4" class="box"><h1 id="heading4" class="heading">Drop Calculator for the 5x server</h1><p class="heading">You can use this drop calculator to find which mob drops which item with the % chance.

<br /> Simply insert the name of the item you are looking for, and click on search. Make a file with the above in it. Ensure paths are correct. IN GLOBALS, 'NO EDITOR' in Modules disable the bloody thing. Make a custom module. Insert Hope that helps. Either use: and: How do you put a module inside an article? You will usually want to associate modules with articles in some way. The modules are allocated to module positions and the module positions appear somewhere on the Web page as determined by the template. However, it is sometimes useful to have a module actually embedded within the article. To insert a module inside an article, you publish the module to a position and load that position in the article as follows: Create a module and set its position to myposition. myposition can be any value that doesn't conflict with an existing template position. Type in the position myposition and press enter instead of selecting it from the drop-down list.

Loadmodule An alternative to "{loadposition xx}" is the "{loadmodule yyy}" variation which is handled by the same plugin. In this case the plugin looks for the first module who's type matches the string 'yyy'. Modules within Modules It is possible in Joomla! Modules on the Joomla! offline page. Last Updated: 08 November 2012 Created: 01 February 2010 Written by Babs Gösgens Babs is a webdeveloper (CSS, PHP) - working as freelancer for Yireo under the name CrossingHippos. She develops websites and webshops based on Joomla! , Magento and Molajo. Joomla! Overriding offline.php Within the Joomla! To create this template override, you will need to create a file named offline.php within the Joomla! Templates/foobar/offline.php Making changes Now that you have your own copy, you are free to make any change. Templates/system/offline.php Within the file you can find a little bit of PHP, but also HTML and other things.

Adding an offline message with style Now the cool thing is that you can also include module positions in this offline.php. <? And instead add a module position called offline_message: Next you'll need to log into the Joomla! Customize the login-module Instead of the ugly login-module you can also add a login-module instead using the same procedure. More ideas.

Extensions

Artisteer.