- Joomla! 1.5 Templates Cookbook
- Richard Carter
- 276字
- 2021-08-05 16:14:05
Understanding Joomla! template positions
Positions within Joomla! templates let you customize where you can place modules and content in your Joomla!-powered website.
Getting ready
While you're reading this, we'll need the rhuk_milkyway template enabled, as this has quite a large number of options for positions within its template.
How to do it...
- View your Joomla! template in a web browser:
- Edit the address of the page you're currently on, adding
?tp=1
to the end of it: - If you now refresh the page, you'll see the template positions of the various content blocks on your website:
You can see the template positions in boxes at the top-left of each of the blocks of content within the website (for example, top[none outline], user3[none outline]).
How it works...
The ?tp=1
addition to the end of the address in your browser tells Joomla! to display information about the template positions, which makes it easy for us to see what Joomla! is doing. The extra information that Joomla! includes in brackets after that gives us additional information on what's happening in the template, which we don't need for now.
Does your URL already contain parameters?
If the end of the address of your Joomla! website already contains parameters (also known as query strings), for example, it looks like http://example.com/index.php?option=com_content&view=article&id=25&Itemid=28, then all you need to do is append&tp=1
to the end, like so: http://example.com/index.php?option=com_content&view=article&id=25&Itemid=28&tp=1.
There's more...
Sometimes, template positions can be misleading. Something assigned to the left
template position can appear in an area of the template you don't expect, depending on where Joomla! is told to insert it within the template.
See also
- Understanding the templateDetails.xml file
- Installing a Joomla! template
- DotNetNuke 5.4 Cookbook
- Hadoop核心技術(shù)
- 像攝影師一樣調(diào)色
- Illustrator CC 2018中文版入門與提高
- 新編三維CAD習題集
- SPSS統(tǒng)計分析
- Python 3 Object Oriented Programming
- Origin科技繪圖與數(shù)據(jù)分析
- 科技繪圖/科研論文圖/論文配圖設(shè)計與創(chuàng)作自學手冊:科研動畫篇
- Learning Ext JS
- 中文版3ds Max 2016基礎(chǔ)培訓教程
- 藝術(shù)二維碼設(shè)計與制作完全攻略 PHOTOSHOP+ILLUSTRATOR+FLASH
- AutoCAD 2016中文版自學視頻教程(標準版)
- Revit 2018中文版建筑設(shè)計從入門到精通
- MATLAB 2020數(shù)學計算從入門到精通