Latest News

Lonely Planet named the top 10 best cities to travel to in 2020.  Popular cities like Denver, Dubai, Vancouver, and Washington DC made the list.  Meanwhile, lesser-known cities like Kochi, India; La Paz, Bolivia; Bonn, Germany; and Galway, Ireland are also must-see travel destinations. Salzburg, Austria has been named the top travel destination for the new year.  Visit Insider's homepage for more stories. Lonely Planet announced the top ten cities every traveler should visit in 2020, and some of them may surprise you.  Favorites like Denver, Dubai, and Vancouver made the list, but some of the other cities aren't as popular....
Read more...
The US military has announced that it is planning to send 20,000 soldiers to Europe for the largest US Army exercise in 25 years. Defender 2020 in Europe (Defender-Europe 20) will involve nearly 40,000 troops from the US and its allies and partners in the region, and it will at least in part focus on exercising the US military's ability to surge forces into the theater to respond to a crisis alongside allies and partners.  The Army is also planning a similar exercise in the Pacific as the service looks at what is needed to deter and, if necessary, confront not only...
Read more...
After Russia's seizure of Crimea in 2014, encounters between Russian and NATO forces became more frequent and, in many cases, less safe. One such encounter between Russian aircraft and the USS Donald Cook in 2016 was the "most aggressive" by the Russians in some time — here's how US sailors captured the tense moments. A senior Navy leader recounted the dangerous 2016 encounters in more detail, saying that in the closest pass a Russian Su-24 fighter's wingtip came within 30 feet of the ship — close enough that "if the guy sneezed he might have buried his wing into the Donald Cook,"...
Read more...
The North Atlantic was a central battleground during the world wars and the Cold War, serving as the strategic link between the US and Europe. With the opening of a new period of competition between the US and its NATO allies and a resurgent Russia, the North Atlantic is once again vitally important. Visit Business Insider's homepage for more stories. The National Defense Strategy issued by the Defense Department in 2018 declared a new era of great power competition with "revisionist powers" — namely, China and Russia. A new period of tension and competition with Russia has been evident in Europe...
Read more...
In Austria, the far-right has emerged from a Russia scandal largely intact and is poised to perform well in snap elections on Sunday just four months after the country's government collapsed.  The 2015 migrant crisis and deep anti-immigrant sentiment have empowered far-right parties across Europe. In Austria, the wave of nationalism brought the far-right into a governing coalition with the conservatives in 2017.  The coalition between the conservative party and the far-right cemented former Chancellor Sebastian Kurz's popularity and the far right's place in mainstream Austrian politics, while deepening polarization. Like populist parties across Europe, Austria's far-right is characterized by its opposition to...
Read more...
From impressive architecture to iconic cafes, the city of Prague has plenty to offer. History buffs should make time to visit Wenceslas Square and St. Vitus Cathedral. Travelers looking to experience the best of Prague's nightlife should visit Lucerna Music Bar and Cross Club. Visit Insider's homepage for more stories. With enchanting Baroque-style buildings, an ancient castle with stone-built walls, and a river running through the city's center, Prague has a unique charm. While spending nearly five months wandering the cobblestone streets of the Czech Republic's largest city, I came across a number of tourist destinations and hot spots that are...
Read more...
Extensions - Modules
PDF Print E-mail
Article Index
Extensions
Components
Modules
Plugins
Languages
All Pages

Module - Joomla! Extension Directory Modules

A more lightweight and flexible Extension used for page rendering is a Module. Modules are used for small bits of the page that are generally less complex and able to be seen across different Components. To continue in our book analogy, a Module can be looked at as a footnote or header block, or perhaps an image/caption block that can be rendered on a particular page. Obviously you can have a footnote on any page but not all pages will have them. Footnotes also might appear regardless of which chapter you are reading. Simlarly Modules can be rendered regardless of which Component you have loaded.

Modules are like little mini-applets that can be placed anywhere on your site. They work in conjunction with Components in some cases and in others are complete stand alone snippets of code used to display some data from the database such as Articles (Newsflash) Modules are usually used to output data but they can also be interactive form items to input data for example the Login Module or Polls.

Modules can be assigned to Module positions which are defined in your Template and in the back-end using the Module Manager and editing the Module Position settings. For example, "left" and "right" are common for a 3 column layout.

Displaying Modules

Each Module is assigned to a Module position on your site. If you wish it to display in two different locations you must copy the Module and assign the copy to display at the new location. You can also set which Menu Items (and thus pages) a Module will display on, you can select all Menu Items or you can pick and choose by holding down the control key and selecting multiple locations one by one in the Modules [Edit] screen

Note: Your Main Menu is a Module! When you create a new Menu in the Menu Manager you are actually copying the Main Menu Module (mod_mainmenu) code and giving it the name of your new Menu. When you copy a Module you do not copy all of its parameters, you simply allow Joomla! to use the same code with two separate settings.

Newsflash Example

Newsflash is a Module which will display Articles from your site in an assignable Module position. It can be used and configured to display one Category, all Categories, or to randomly choose Articles to highlight to Users. It will display as much of an Article as you set, and will show a Read more... link to take the User to the full Article.

The Newsflash Component is particularly useful for things like Site News or to show the latest Article added to your Web site.



Last Updated on Monday, 11 August 2008 06:00