Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Sub Menu Advice
Hi all,
A couple months ago or so I got a lot of useful help from this board in making submenus for this template I am adapting. Since then I stopped working on this project but now want to complete it. I went back to the original post and worked some stuff out but still have a couple questions.The page can be found here: http://www.runjeeta.com/webdesign
What you see on this page is a sub menu that I want under the heading Web Design. I’ve tinkered with this a lot and can’t figure out a couple things.
A. How do I get the secondary (sub menu) at the bottom of the page now, to acutally show up higher on the page under Web Design, as apposed to “web desgin” as it is now?
B. How can I get my sub menu pages to show the navigation bar properly? I’ve gotten so far, but there is something wrong with the code, and it’s not actually placing right on the page…
C. on the single sub-pages, the css is mucking up (the footer is specifically)… Any ideas as to why?
Here is the code:
<body>
<div id=“page”>
<div id=“top”></div>
<div id=“wrapper”>
<div id=“header”>
<h1><txp:link_to_home class=“site_name”><txp:sitename /></txp:link_to_home></h1>
</div>
<div id=“content”>
<txp:if_article_list>
<txp:article limit=“1” status=“sticky” />
</div>
</div>
<div id=“sidebar”>
<div id=“noindent”>
<ul>
<li>
<form action=”<txp:site_url />” method=“get”>
<h2>Search</h2>
<input type=“text” name=“q” value=”“ id=“s” size=“15” />
</form>
</li>
<li>
<h2>Links</h2>
<txp:linklist form=“plainlinks” sort=“date desc” break=“br” /> <h3> Submenu</h3>
<dl>
<dt><txp:section link=“y” name=“webdesign” title=“y” /></dt>
<txp:if_section name=“webdesign”>
<txp:article_custom form=“menu-item” limit=“6” section=“webdesign” />
</txp:if_section>
</dl>
</ul>
</div>
</div>
<txp:else />
<!—<p>Now we’re viewing a single article, AKA one of the sidebar articles</p>—>
<div id=“sidebar”>
<div id=“noindent”>
<ul>
<li>
<form action=”<txp:site_url />” method=“get”>
<h2>Search</h2>
<input type=“text” name=“q” value=”“ id=“s” size=“15” />
</form>
</li>
<li>
<h2>Links</h2>
<txp:linklist form=“plainlinks” sort=“date desc” break=“br” /> <h3> Submenu</h3>
<dl>
<dt><txp:section link=“y” name=“webdesign” title=“y” /></dt>
<txp:if_section name=“webdesign”>
<txp:article_custom form=“menu-item” limit=“6” section=“webdesign” />
</txp:if_section>
</dl>
</ul>
</div>
</div>
<txp:article />
</txp:if_article_list>
<div id=“footer”> <p> Proudly powered by <a href=“http://www.textpattern.com”>Textpattern</a> | <txp:feed_link label=“RSS” section=“article” flavor=“rss” /> </p> </div>
</div>
Thank you for any help,
raspberryheaven
Last edited by raspberryheaven (2006-11-13 00:03:11)
“Words have no wings but they can fly a thousand miles.” (Korean Proverb)
Offline
Pages: 1