1 00:00:00,000 --> 00:00:04,000 So, far we have setup some content for this Web site the Content that 2 00:00:04,001 --> 00:00:09,001 consistently shows up in the middle of the page, we've created our first module, 3 00:00:09,002 --> 00:00:13,002 a Menu module, which displays a page as well. 4 00:00:13,003 --> 00:00:18,003 Modules go well beyond menus though a module is any bit of functionality that 5 00:00:18,004 --> 00:00:23,004 you'd like to display in some area other than the main part of the Web page. 6 00:00:23,005 --> 00:00:27,005 It could be something that displays in the Header, the Footer, the left or the 7 00:00:27,006 --> 00:00:31,006 right columns, across the top, or even inside an article. 8 00:00:31,007 --> 00:00:33,007 There are several modules that come with 9 00:00:33,008 --> 00:00:36,008 Joomla! by default and will cover those in the next few videos. 10 00:00:36,009 --> 00:00:42,009 The big question is how do you get a module to display in certain parts of the Web page? 11 00:00:42,010 --> 00:00:47,010 Every template comes with certain module positions, these are positions coded 12 00:00:47,011 --> 00:00:52,011 by the person who created the template, which will ultimately contain 13 00:00:52,012 --> 00:00:56,012 the modules for that page, if there are any modules assigned to that page. 14 00:00:56,013 --> 00:01:01,013 There is an easy trick to peek at where module positions are located within our template. 15 00:01:01,014 --> 00:01:02,014 If you're familiar with Joomla! 1.5 16 00:01:02,015 --> 00:01:08,015 You might be familiar with something called the TP=1 trick 17 00:01:08,016 --> 00:01:12,016 for displaying module positions on the Web page, that will trick happens to be 18 00:01:12,017 --> 00:01:14,017 disabled by default in Joomla! 3.0. 19 00:01:14,018 --> 00:01:18,018 You'll have to turn it on in order to use this particular trick. 20 00:01:18,019 --> 00:01:22,019 So, let me show you how to turn on this particular trick, show you what the trick is 21 00:01:22,020 --> 00:01:27,020 and now I'll show you where your module positions are located inside of a template. 22 00:01:27,021 --> 00:01:31,021 So, to do this will top into the back end of Joomla! 23 00:01:31,022 --> 00:01:37,022 and we're going to go to Extensions, Template, Manager and we're going to go 24 00:01:37,023 --> 00:01:41,023 to the Options here inside the Template Manager, and we're going to do this 25 00:01:41,024 --> 00:01:46,024 Preview Module Positions, which right now is disabled, we want to enable it, 26 00:01:46,025 --> 00:01:47,025 and say Save and Close. 27 00:01:47,026 --> 00:01:51,026 If you notice here these icons that are next to the names of these templates, 28 00:01:51,027 --> 00:01:55,027 some of them have turned into little eyeballs, the template we are currently 29 00:01:55,028 --> 00:01:58,028 using for the front end of the Web site is called Protostar. 30 00:01:58,029 --> 00:02:02,029 I know that, because this is the site template rather than in ministry or template, 31 00:02:02,030 --> 00:02:07,030 and there's a star by indicating that this is the default template for the Web site. 32 00:02:07,031 --> 00:02:10,031 So Protostar is what we are working with right now. 33 00:02:10,032 --> 00:02:15,032 If I click on this eyeball right next to the Protostar template, this will open 34 00:02:15,033 --> 00:02:22,033 up a New tab and inside of this New tab is this page were I have got this 35 00:02:22,034 --> 00:02:26,034 red text indicating where all of my module positions are located. 36 00:02:26,035 --> 00:02:29,035 So I have a module positions sort of up here in the upper right corner called 37 00:02:29,036 --> 00:02:34,036 position zero 0, I have one across the top called Position 1 that's where we put our menu. 38 00:02:34,037 --> 00:02:39,037 I have a banner position here across the top, I have a position 8, which would 39 00:02:39,038 --> 00:02:43,038 give me a left side of the screen where I could position elements on the left of 40 00:02:43,039 --> 00:02:49,039 the screen, or position 7 on the right, a position 3 is just above my Content, 41 00:02:49,040 --> 00:02:53,040 position 2 just below it and I have a footer position as well, and then finally 42 00:02:53,041 --> 00:02:57,041 at the bottom there is a debug position, that would be a great place if you're a 43 00:02:57,042 --> 00:03:02,042 developer, you could dump any kind of debugging code and so forth you can put 44 00:03:02,043 --> 00:03:04,043 down there in that particular position. 45 00:03:04,044 --> 00:03:10,044 So, that is all of the module positions that are available here to us in the 46 00:03:10,045 --> 00:03:12,045 template and where they're going to go. 47 00:03:12,046 --> 00:03:16,046 That's going to be really helpful to us, as we start working with modules inside 48 00:03:16,047 --> 00:03:20,047 of this Web site and we need to be clear on where those modules are going to be 49 00:03:20,048 --> 00:03:25,048 assigned so that we know where they appear on the front end of the Web site.