Template - site_header: The left menu bar
digibri 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Template - site_header: The left menu bar
digibri
OP
0
From: -
From: -
Template - site_header: The left menu bar
Super!
Thanks again Phillip.
B.
Super!
Thanks again Phillip.
B.
1 Re: Template - site_header: The left menu bar
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Template - site_header: The left menu bar
No, just copy the new code between
and the main menu code
No, just copy the new code between
<td valign="top" width="100%" bgcolor="#0066ff">
<table cellspacing="0" cellpadding="2" width="100%" border="0">
<tr>
<td valign="top" width="160" bgcolor="#0066ff">
and the main menu code
1 Re: Template - site_header: The left menu bar
digibri
OP
0
From: -
From: -
Template - site_header: The left menu bar
Ah, I get it - thanks.
Is it difficult to add another menu above the existing Main Menu?
B.
Ah, I get it - thanks.
Is it difficult to add another menu above the existing Main Menu?
B.
1 Re: Template - site_header: The left menu bar
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Template - site_header: The left menu bar
Basically, there are two tables. The first one is for the outline (see code above).
For a main menu without outline:
Replace:
with:
Basically, there are two tables. The first one is for the outline (see code above).
For a main menu without outline:
Replace:
<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
<tr>
<td>
<table cellspacing="1" cellpadding="3" width="100%" border="0">
<tr>
<td bgcolor="#008000">
<font face="Arial" color="#ffffff" size="2"><b>Main Menu</b></font></td>
</tr>
<tr>
<td bgcolor="#ffffff"><font size="2">
<li><a href="https://www.contentteller.com/index.php">Home Page</a><br /></li>
<li><a href="https://www.contentteller.com/category.php">News Category</a><br /></li>
<li><a href="https://www.contentteller.com/archive.php">News Archive</a><br /></li>
<li><a href="https://www.contentteller.com/review.php">Reviews</a></li>
<li><a href="https://www.contentteller.com/faq.php">FAQ</a><br /></li>
<li><a href="https://www.contentteller.com/poll.php">Polls</a></li>
<li><a href="https://www.contentteller.com/download.php">Downloads</a></li>
<li><a href="https://www.contentteller.com/glossary.php">Glossary</a></li>
<li><a href="https://www.contentteller.com/link.php">Web Links</a><br /></li>
<li><a href="https://www.contentteller.com/search.php">Search</a></li>
<li><a href="https://www.contentteller.com/ticket.php">Trouble Ticket</a></li>
<li><a href="https://www.contentteller.com/submitstory.php">Submit News</a></li>
<li><a href="https://www.contentteller.com/submitdownload.php">Submit File</a></li>
<li><a href="https://www.contentteller.com/page.php">Pages</a></li>
<li><a href="https://www.contentteller.com/plan.php">Plans</a></li>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
with:
<table cellspacing="1" cellpadding="3" width="160" border="0">
<tr>
<td bgcolor="#008000">
<font face="Arial" color="#ffffff" size="2"><b>Main Menu</b></font></td>
</tr>
<tr>
<td bgcolor="#ffffff"><font size="2">
<li><a href="https://www.contentteller.com/index.php">Home Page</a><br /></li>
<li><a href="https://www.contentteller.com/category.php">News Category</a><br /></li>
<li><a href="https://www.contentteller.com/archive.php">News Archive</a><br /></li>
<li><a href="https://www.contentteller.com/review.php">Reviews</a></li>
<li><a href="https://www.contentteller.com/faq.php">FAQ</a><br /></li>
<li><a href="https://www.contentteller.com/poll.php">Polls</a></li>
<li><a href="https://www.contentteller.com/download.php">Downloads</a></li>
<li><a href="https://www.contentteller.com/glossary.php">Glossary</a></li>
<li><a href="https://www.contentteller.com/link.php">Web Links</a><br /></li>
<li><a href="https://www.contentteller.com/search.php">Search</a></li>
<li><a href="https://www.contentteller.com/ticket.php">Trouble Ticket</a></li>
<li><a href="https://www.contentteller.com/submitstory.php">Submit News</a></li>
<li><a href="https://www.contentteller.com/submitdownload.php">Submit File</a></li>
<li><a href="https://www.contentteller.com/page.php">Pages</a></li>
<li><a href="https://www.contentteller.com/plan.php">Plans</a></li>
</font></td>
</tr>
</table>
1 Re: Template - site_header: The left menu bar
digibri
OP
0
From: -
From: -
Template - site_header: The left menu bar
Yes, this is exactly the code I've been experimenting with.
What puzzles me is that in all of the <table> tags in the template, the border is set as: border="0", and yet I'm seeing a black 1px outline for all the table elements.
I don't think you're using CSS to control this behavior, or am I mistaken?
I also noticed that the unordered lists don't include a <ul> or </ul> tag - so I'm suspecting that another PHP file is involved to parse site_head.php.
Am I on the right track here?
What I'm trying to do is have some table rows and cells be rendered without any border.
B.
Yes, this is exactly the code I've been experimenting with.
What puzzles me is that in all of the <table> tags in the template, the border is set as: border="0", and yet I'm seeing a black 1px outline for all the table elements.
I don't think you're using CSS to control this behavior, or am I mistaken?
I also noticed that the unordered lists don't include a <ul> or </ul> tag - so I'm suspecting that another PHP file is involved to parse site_head.php.
Am I on the right track here?
What I'm trying to do is have some table rows and cells be rendered without any border.
B.
1 Re: Template - site_header: The left menu bar
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Template - site_header: The left menu bar
Here as example the code of the main menu
Outline table:
Main table code:
Closing outline table:
Here as example the code of the main menu
Outline table:
<table cellspacing="0" cellpadding="0" width="160" bgcolor="#000000" border="0">
<tr>
<td>
Main table code:
<table cellspacing="1" cellpadding="3" width="100%" border="0">
<tr>
<td bgcolor="#008000">
<font face="Arial" color="#ffffff" size="2"><b>Main Menu</b></font></td>
</tr>
<tr>
<td bgcolor="#ffffff"><font size="2">
<li><a href="https://www.contentteller.com/index.php">Home Page</a><br /></li>
<li><a href="https://www.contentteller.com/category.php">News Category</a><br /></li>
<li><a href="https://www.contentteller.com/archive.php">News Archive</a><br /></li>
<li><a href="https://www.contentteller.com/review.php">Reviews</a></li>
<li><a href="https://www.contentteller.com/faq.php">FAQ</a><br /></li>
<li><a href="https://www.contentteller.com/poll.php">Polls</a></li>
<li><a href="https://www.contentteller.com/download.php">Downloads</a></li>
<li><a href="https://www.contentteller.com/glossary.php">Glossary</a></li>
<li><a href="https://www.contentteller.com/link.php">Web Links</a><br /></li>
<li><a href="https://www.contentteller.com/search.php">Search</a></li>
<li><a href="https://www.contentteller.com/ticket.php">Trouble Ticket</a></li>
<li><a href="https://www.contentteller.com/submitstory.php">Submit News</a></li>
<li><a href="https://www.contentteller.com/submitdownload.php">Submit File</a></li>
<li><a href="https://www.contentteller.com/page.php">Pages</a></li>
<li><a href="https://www.contentteller.com/plan.php">Plans</a></li>
</font></td>
</tr>
</table>
Closing outline table:
</td>
</tr>
</table>
Phillip,
I'm working on modifying the left menu bar stuff.
The default has 3 tables with links. It seems a bit non-trivial
to add a 4th table, so I'm trying to extend the top one and place
a blank and non-outlined table row between it and the "Main Menu" header row.
Where/how does the Storyteller CMS system know to draw an outline around these tables?
Thanks,
B.