Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-07-14 17:43:59

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Newbie question

If there is only the default page template, there must be a tag somewhere ;) Can you post the code of that page?

Offline

#14 2010-07-14 17:46:39

esebm
New Member
Registered: 2010-07-13
Posts: 9

Re: Newbie question

Here’s the 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">

<head>

	<txp:if_individual_article>
		<title><txp:ob1_title order="%article,%section,%sitename" separator=" : " /></title>
	</txp:if_individual_article>

	<txp:if_article_list>
	<txp:if_section name="tag">
		<title><txp:site_name /> : Paintings tagged &quot;<txp:tru_tags_tag_parameter />&quot;</title></txp:if_section>

	<txp:if_section name="">
	<txp:if_category>
		<title><txp:ob1_title order="%category,%sitename" separator=" : "/></title>
	<txp:else />
		<title><txp:site_name /> : Austin, Texas abstract fine art oil paintings and spiritual artwork for sale</title>
	</txp:if_category>

<txp:else />		<title><txp:ob1_title order="%section,%sitename" separator=" : "/></title>

	</txp:if_section>

	</txp:if_article_list>

<txp:if_section name=""><meta name="description" content="Austin, Texas artist Mickie Bellah paints original, one-of-a-kind fine art abstract and surrealist oil paintings and custom astrology birth chart paintings based on the colors of the Zodiac signs in your horoscope." /><txp:else />

<txp:if_category><txp:article form="meta-description" status="sticky" limit="1"/></txp:if_category>

<txp:if_individual_article>
	<txp:article form="meta-description"/>
</txp:if_individual_article>
</txp:if_section>

	<meta name="keywords" content="<txp:output_form form="keywords-sitewide"/>
<txp:if_category><txp:article form="meta-keywords" status="sticky" limit="1" /></txp:if_category><txp:if_individual_article><txp:article form="meta-keywords" /></txp:if_individual_article> "/>

<txp:if_section name="manual">
     <meta name="robots" content="noindex,nofollow" />
<txp:else />
<META NAME="ROBOTS" CONTENT="NOODP"/>
<meta name="robots" content="index,follow" />
</txp:if_section>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="TextPattern" />

	<link rel="stylesheet" href="<txp:link_to_home />anthurium.css" type="text/css" />
	<link rel="stylesheet" type="text/css" media="print" href="<txp:css n="print" />" />
	<txp:feed_link flavor="rss" format="link" section="abstract-art-gallery" />

	<script src="/mint/?js" type="text/javascript"></script>

<txp:if_article_category name="zodiac-series">
<txp:output_form form="javascript-hide-div" />
</txp:if_article_category>


</head>

<body>
	<div id="rap"><!-- added -->

		<!-- head -->
		<txp:link_to_home><div id="masthead"><!-- renamed from header -->
		<h1 id="header"><span class="no-display"><txp:site_name /></span></h1>
		</div></txp:link_to_home>
			<div id="main">
				<div id="hmenu">
					<div id="hnav"></div>
				</div><!-- end hmenu -->

				<!-- content -->
				<div id="content">

<txp:if_section name="test">
<div class="post">
<txp:article />
</txp:if_section>


				<txp:if_section name="tag">
				<div class="post">
					<txp:tru_tags_if_tag_search><h3 class="posttitle">Paintings tagged: <txp:tru_tags_tag_parameter /></h3></txp:tru_tags_if_tag_search>
					<txp:tru_tags_handler form="gallery-list" limit="10" />

					<div class="tag-cloud">
						<txp:tru_tags_cloud />
					</div>
				</txp:if_section>

				<txp:if_section name="abstract-art-gallery">
				<div class="post">
					<txp:if_individual_article>
						<div align="center">
						<p><txp:if_first_article> <!-- Nothing to see here. -->
						<txp:else />Previous: <txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
						</txp:if_first_article>
							&nbsp;|&nbsp;
						<txp:if_last_article> <!-- Nothing to see here. -->
						<txp:else />Next: <txp:link_to_next><txp:next_title /></txp:link_to_next>
						</txp:if_last_article>
						</div>

						<txp:article form="gallery" />

					<txp:else/>
						<txp:article_custom allowoverride="0" form="default" id="13" pgonly="0" />
						<txp:rss_suparchive_bycat section="abstract-art-gallery" form="gallery-list" status="4" limit="3" />
					</txp:if_individual_article>

				</txp:if_section>


				<txp:if_section name="">  <!-- if default section -->

					<txp:if_category>
					<div class="post">
						<h3><txp:category title="1" /></h3>
<txp:wet_if_page page="1"><txp:article allowoverride="0" form="category-stickies" limit="1" pgonly="0" searchall="0" searchsticky="0" status="5" /></txp:wet_if_page>
						<txp:article allowoverride="0" form="gallery" listform="gallery-list" limit="12" />

						<hr class="clear" />

						<p align="center" class="pageturners"><txp:newer>&lt; Previous page</txp:newer> &nbsp;&nbsp;&nbsp;<txp:older>Next page &gt;</txp:older></p>

					<txp:else />


<!-- Art Gallery links -->

	<a href="<txp:link_to_home />category/astrology-birth-chart-paintings">
	<div id="astro-paintings">
		<span class="no-display">Astrology Birth Chart Paintings</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/luminescence-series">
	<div id="luminescence-series">
		<span class="no-display">Luminescence Series</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/1-surrealistic-abstracts">
	<div id="surrealistic-abstracts">
		<span class="no-display">Surrealistic Abstracts</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/zodiac-series">
	<div id="zodiac">
		<span class="no-display">Zodiac Series</span>
	</div>
	</a>

<!-- end art gallery links -->
<hr style="clear:both;width:0px;"/>
<div class="post">
					<txp:article_custom form="default" allowoverride="0" id="2" pgonly="0" /> <!-- display welcome message -->

					<h3>Recent Comments</h3>
					<txp:wet_recent_comments limit="6" showcomment="yes" maxwords="12" striptags="yes" dateformat="%b %e" />
					<strong><a href="<txp:link_to_home />comments">More Comments...</a></strong>

				</div> <!-- close post div -->

<div style="margin:5px;" align="center"><a href="http://www.theanimalrescuesite.com/tpc/ARS_linktous_468x60_01"><img alt="The Animal Rescue Site" src="http://www.greatergood.com/images/linktous/468x60_ars-oneclick.jpg" /></a></div>

				<div class="post">

					</txp:if_category>

				</txp:if_section>

				<txp:if_section name="about,press">
					<div class="post">
					<txp:if_category>

						  <txp:article form="default" listform="excerpt-list" />

					<txp:else />

						<txp:if_individual_article>

							<txp:article form="default" />

						<txp:else />

							<txp:if_section name="about"><div class="post"><txp:article_custom id="18" /><txp:else /><txp:article form="default" listform="excerpt-list" /></txp:if_section>

						</txp:if_individual_article>

					</txp:if_category>
				</txp:if_section>

				<txp:if_section name="comments">
				<div class="post">
				<h3>Recent Comments</h3>
				<txp:wet_recent_comments limit="60" showcomment="yes" maxwords="33" striptags="yes" dateformat="%b %e" />
				</txp:if_section>

				<txp:if_section name="manual,contact-mickie-bellah,articles">
					<div class="post">
					<txp:article form="default" limit="1" />

				</txp:if_section>

				<txp:if_section name="links">
					<div class="post">
					<h3>Links</h3>				
					<txp:linklist form="Links" sort="linksort asc" />

				</txp:if_section>

				</div></div><!--end content and post-->
			</div><!-- added to close main -->

			<!-- menu -->
			<div id="menu">
				<div id="nav"><!-- added -->

				<txp:output_form form="menu" />

				</div><!-- end nav -->
			</div><!-- end menu -->

			<!-- footer -->
			<div id="clearer">&nbsp;</div><!-- added -->

			<div id="footer">

					<txp:article_custom form="footer" allowoverride="0" id="19" pgonly="0" />

				<div class="credit"><cite>All text and images copyright Mickie Bellah.  <!-- Site by <a href="http://www.ramettedesigns.com/" title="Ramette Designs"><strong>Ramette Designs</strong></a> --> </cite></div>

			</div>
</div><!-- added to close rap -->

</body>
</html>

(added bc.. for better code display. -Els)

Last edited by els (2010-07-14 18:01:20)

Offline

#15 2010-07-14 17:54:23

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Newbie question

The links in question: or not, see Els’s post below.

<!-- Art Gallery links -->

	<a href="<txp:link_to_home />category/astrology-birth-chart-paintings">
	<div id="astro-paintings">
		<span class="no-display">Astrology Birth Chart Paintings</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/luminescence-series">
	<div id="luminescence-series">
		<span class="no-display">Luminescence Series</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/1-surrealistic-abstracts">
	<div id="surrealistic-abstracts">
		<span class="no-display">Surrealistic Abstracts</span>
	</div>
	</a>

	<a href="<txp:link_to_home />category/zodiac-series">
	<div id="zodiac">
		<span class="no-display">Zodiac Series</span>
	</div>
	</a>

<!-- end art gallery links -->

Last edited by jsoo (2010-07-14 18:02:19)


Code is topiary

Offline

#16 2010-07-14 17:57:08

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Newbie question

<txp:output_form form="menu" />

That’s probably the right-hand column. Look in Presentation->Forms.


Code is topiary

Offline

#17 2010-07-14 18:01:01

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Newbie question

Well, you can find the art gallery links, and the ‘Recent comments’. In between is only this:

<txp:article_custom form="default" allowoverride="0" id="2" pgonly="0" /> <!-- display welcome message -->

So my guess is that your links are in article #2 (Content > Articles).

BTW, it’s hard to find something if you don’t know what you are looking for. Did you read the documentation several users linked to?

@Jeff, I think esebm is looking for the links that come after the slideshow.

Offline

#18 2010-07-14 18:01:18

esebm
New Member
Registered: 2010-07-13
Posts: 9

Re: Newbie question

No, it’s not the right hand column.

I have opened this file in Homesite and it clearly shows only part of the left hand column. There’s no reference to the left column at all.

Offline

#19 2010-07-14 18:07:06

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Newbie question

This isn’t an HTML file, it’s a template to allow Txp to create one. Homesite can’t put it together.

The right hand column is div#nav. The only thing in that part of the template is the form called “menu”. It has to be there.


Code is topiary

Offline

#20 2010-07-14 18:26:12

esebm
New Member
Registered: 2010-07-13
Posts: 9

Re: Newbie question

jsoo: this is exactly copied from the default template.

Els: I know exactly what I’m looking for: 1. The links in the right-hand column. 2. The other page templates.

I’m giving this up. I was supposed to move some links from the left column to the right. With a “normal” website this would have been an affair of 5 minutes. So far, I’ve spent over 5 hours with no result in sight. I’m not getting paid for this.

Thanks,

Ed

Offline

#21 2010-07-14 18:47:33

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Newbie question

esebm wrote:

I’m not getting paid for this.

Good thing we are.

:)


Code is topiary

Offline

#22 2010-07-14 19:35:28

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Newbie question

It looks to me like those links are in an article. I’d suggest using smd_where_used as mentioned above to search for the text you want to move. It will tell you where it is.

If it is in an article it may not be a simple change to put them where you want.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#23 2010-07-14 19:57:07

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Newbie question

@Matt, I think he gave up ;)

@Jeff, LOL.

Offline

#24 2010-07-14 20:00:43

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,477

Re: Newbie question

Your template requires 12 forms:

“meta-description”, “keywords-sitewide”, “meta-keywords”, “javascript-hide-div”, “gallery-list”, “gallery”, “default”, “category-stickies”, “excerpt-list”, “Links”, “menu”, “footer”

Why you can’t see these forms?

For that matter could be important:

“gallery-list”, “gallery”, “default”, “category-stickies”, “Links”, “menu”

In one of this must exist a <div class="storycontent"> or/and a <ul class="intro">

Because, in your HTML I see:

<div class="storycontent">
	<p>[slideshow]</p>
	<ul class="intro">
		<li><a href="/category/featured-paintings">Featured paintings</a></li>
		<li><a href="/category/astrology-birth-chart-paintings">Personalized Astrology Birth Chart Paintings</a></li>
		<li><a href="/category/fine-art-gifts">Notecards and Prints</a></li>
		<li><a href="/category/back-catalog">Back Catalog</a></li>
	</ul>
	<p>[More paragraphs]</p>
</div>

But I can’t found this classes in your template.

Last edited by GugUser (2010-07-15 03:30:47)

Offline

Board footer

Powered by FluxBB