Help? Mambo Templates

Conor

New Member
Messages
3,570
Reaction score
0
Points
0
Hello,

Very proud of myself on my first mambo template: www.conor-omuiri.com/index/index.php

However I still have to work on it alot. One thing I NEED is to find out how to place a certain module under its specified header.

For instance, I want the calendar to appear underneath the header "Calendar".

If anyone has any ideas please tell.
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
Man thats awesome Conor!! I'll take a look at my mambo files shortly and see if I can find out anything for you.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
I saw some things misplaced in your code and i decided to modify abit but first save the original before using my modification..

The code in RED was above the <div id="box"> and so the the number of people on line appeared above who is online..
Code:
<hr width='50%'><br/>
<div id="box">
<h2>Who's Online</h2>
[COLOR=DarkRed]						<table cellpadding="0" cellspacing="0" class="moduletable">
						<tr>
				<td>
				We have 1 guest online				</td>
			</tr>

			</table>
			    				</ul>
    				
    				
    			</div>[/COLOR]
<hr width='50%'><br/>
    			<div id="box">
<hr width='50%'><br/>
    				<h2>Search</h2>

    				<form action='../Templates/St.Michaels/index.php' method='post'>
            <div align="center">
            <input class="inputbox" type="text" name="searchword" size="15" value="search..." onblur="if(this.value==') this.value='';" onfocus="if(this.value=='search...') this.value=';" /><input type="hidden" name="option" value="search" />

            </div>
            </form>
    			</div>
    		</td>
The code in red was above the <div id="box"> and so the calendar was above..

Code:
<hr width='50%'><br/>
    			<div id="box">
    			<h2>Calendar</h2>
						[COLOR=DarkRed]<table cellpadding="0" cellspacing="0" class="moduletable">
						<tr>
				<td>

				<link href="modules/mod_events_cal.css" rel="stylesheet" type="text/css" />
<table width="140">
<tr><td class="mod_events_monthyear">
<div align="center">August 2005</div>
</td></tr></table>
<table class="mod_events_table" cellspacing="0" cellpadding="2" ><tr class="mod_events_dayname">
<td class="mod_events_td_dayname"><font color="red">S</font></td>
<td class="mod_events_td_dayname">M</td>
<td class="mod_events_td_dayname">T</td>
<td class="mod_events_td_dayname">W</td>
<td class="mod_events_td_dayname">T</td>

<td class="mod_events_td_dayname">F</td>
<td class="mod_events_td_dayname">S</td>
</tr><tr>
<td class="mod_events_td_dayoutofmonth">31</td><td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=01&amp;Itemid=1">1</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=02&amp;Itemid=1">2</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=03&amp;Itemid=1">3</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=04&amp;Itemid=1">4</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=05&amp;Itemid=1">5</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=06&amp;Itemid=1">6</a></td>

</tr>
<tr><td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=07&amp;Itemid=1">7</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=08&amp;Itemid=1">8</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=09&amp;Itemid=1">9</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=10&amp;Itemid=1">10</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=11&amp;Itemid=1">11</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=12&amp;Itemid=1">12</a></td>
<td class="mod_events_td_todaynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=13&amp;Itemid=1">13</a></td>
</tr>
<tr><td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=14&amp;Itemid=1">14</a></td>

<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=15&amp;Itemid=1">15</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=16&amp;Itemid=1">16</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=17&amp;Itemid=1">17</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=18&amp;Itemid=1">18</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=19&amp;Itemid=1">19</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=20&amp;Itemid=1">20</a></td>
</tr>
<tr><td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=21&amp;Itemid=1">21</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=22&amp;Itemid=1">22</a></td>

<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=23&amp;Itemid=1">23</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=24&amp;Itemid=1">24</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=25&amp;Itemid=1">25</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=26&amp;Itemid=1">26</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=27&amp;Itemid=1">27</a></td>
</tr>
<tr><td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=28&amp;Itemid=1">28</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=29&amp;Itemid=1">29</a></td>
<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=30&amp;Itemid=1">30</a></td>

<td class="mod_events_td_daynoevents"><a class="mod_events_daylink" href="index.php?option=com_events&amp;task=view_day&amp;year=2005&amp;month=08&amp;day=31&amp;Itemid=1">31</a></td>
<td class="mod_events_td_dayoutofmonth">1</td>
<td class="mod_events_td_dayoutofmonth">2</td>
<td class="mod_events_td_dayoutofmonth">3</td>
</tr></table><table width="140"><tr><td class="mod_events_thismonth" align="center">
<a class="mod_events_link" href="index.php?option=com_events&amp;task=view_month&amp;Itemid=1&amp;month=08&amp;year=2005">This month</a>
</td></tr>
</table>
				</td>
			</tr>

			</table>[/COLOR]
    			</div>

I hope that helps.. Nice template..

the other modification was the <hr width='50%'><br/>.. it is a kind of separator.. I have not tested it..
 
Last edited:

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
just remove the

<hr width='50%'><br/>

from all the codes i provided above.. It could be the problem with my code.. :happy:
 
Last edited:

Conor

New Member
Messages
3,570
Reaction score
0
Points
0
I am wondering what you did with that second code. Whats all that red code from?
 
Top