Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-05 21:31:47

raspberryheaven
Member
From: Washington state USA
Registered: 2006-05-21
Posts: 52
Website

CSS and layout display wrongly in my submenus, help!

Hi,

Ages ago I got some good help here in building a submenu for my website at http://www.runjeeta.com/webdesign. I lost motivation but now I have it back and need some more help trouble shooting.

Why is main navigation bar not showing up at all on the right?
I tried working out it and I managed to get it to show up on the sub pages but it isn’t displaying on the page where it should.

Also, can someone help me figure out why the bottom image in my lay out is dislaying wrongly? I really cannot figure it out on my own. :(.

I will post my code, but sadly, I actually forget how to display my code here (what tag to use that highlights the code).

I really hope someone can give me good advice.

raspberryheaven

Last edited by raspberryheaven (2006-12-05 23:39:45)


“Words have no wings but they can fly a thousand miles.” (Korean Proverb)

Offline

#2 2006-12-14 02:58:32

raspberryheaven
Member
From: Washington state USA
Registered: 2006-05-21
Posts: 52
Website

Re: CSS and layout display wrongly in my submenus, help!

Hi, I think i did think of something,
If you go to

http://www.runjeeta.com/webdesign

you can see the error that is going on. tag_error <txp:else/> -> Textpattern Warning: unknown_tag This is the tag I was using to seperate the page webdesign from the subpages for that page. If its an error, what else can i do to create this sub menu effect I want?

please help!

Last edited by raspberryheaven (2006-12-14 03:23:07)


“Words have no wings but they can fly a thousand miles.” (Korean Proverb)

Offline

#3 2006-12-14 03:58:20

raspberryheaven
Member
From: Washington state USA
Registered: 2006-05-21
Posts: 52
Website

Re: CSS and layout display wrongly in my submenus, help!

Update: when I added </txp:if_article_list> to the page under <txp:article /> , the error went away, but it still made the subpages look very wonky.

Here is the full code, but due to the fact that I need to show this portfolio to someone NOW, i’m taking the sub menu down.

But I would still like help.

full code:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head> <title> Web Design</title> <link rel=“stylesheet” href=”<txp:css />” type=“text/css” media=“screen” />
</head>
<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>
</body>
</html>

Last edited by raspberryheaven (2006-12-14 03:59:34)


“Words have no wings but they can fly a thousand miles.” (Korean Proverb)

Offline

Board footer

Powered by FluxBB