Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-12 17:03:44

SQ
New Member
Registered: 2009-04-12
Posts: 1

Half of template is missing (Roowhaline)

I’ve installed a template on my site, and I need help with it.
I know it’s a longshot, but I figured I’d try since knowing me it’s probably an easy fix.

http://khat.us/textpattern/index.php is my install
I’m using the “Roowhaline” template, which is supposed to look like this:

http://browser.textplates.com/index.php?id=19

I’ve followed the installation guide to the letter, and still the second half of my page isn’t showing up.

Also, if I click “articles” the whole layout just dies.

Can anyone tell me what’s going on and how to fix it?

Edit: Sorry, posted in the wrong forum. I’ve reported it to be moved. .__.;

(edited topic subject for clarity. -Els)

Last edited by Els (2009-04-12 18:02:07)

Offline

#2 2009-04-12 18:06:50

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Half of template is missing (Roowhaline)

SQ wrote:

Edit: Sorry, posted in the wrong forum. I’ve reported it to be moved. .__.;

Done. No problem, thanks for being attentive :)

Offline

#3 2009-04-13 05:23:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,344
Website

Re: Half of template is missing (Roowhaline)

check your

pages and forms… maybe you did not paste the whole of the code.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#4 2009-04-13 09:24:46

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Half of template is missing (Roowhaline)

Also check the “Sections” tab and ensure you have the correct page template and CSS for the “articles” section.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2009-04-13 09:37:06

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Half of template is missing (Roowhaline)

Most time this happens when you forget to close some tag: either conditional (i.e. <txp:if_section>) either usuall (i.e. <txp:permlink>blah<txp:permlink> – this tag isn’t closed, slash is absent be careful)

In my case most time it was usual conatiner-tags, when closing tag was written as start tag, without “/”, i.e. <txp:article><title /><txp:article> instead of <txp:article><title /></txp:article>


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#6 2009-05-22 09:28:01

pinky
Member
From: London
Registered: 2008-12-02
Posts: 45
Website

Re: Half of template is missing (Roowhaline)

Exactly the same problem here. I’ve installed this theme locally on my mac with an aim to mess around and customise it a bit. I’m using MAMP and have already spent ages fiddling about trying to get the clean URLs to work which I’ve just solved and this is the final problem preventing me from starting. I’ve been through the installation guide twice now and re-copied all the code across but only the top part of the site gets published, there must be an error in the install files.

OK gonna start looking through the page & form code. All sections use “default” as the page and style – the default page code is below, if anyone can spot an error, please post. I’ll try and contact the template author but I don’t think that he’s around on the contact details supplied. Thanks in advance for any assistance.

UPDATE As indicated in my subsequent posts below, some helpful comments from Aleksey on the template page for this theme on textgarden.org, highlighted some bugs in the code for the default page that comes with the installation files.

These are the following:
  1. To solve the error of only half the webpage being published, changed line 47 from </txp:else /> to <txp:else />
  2. To solve the error of content being published twice when viewing a single article, delete lines 91-93
  3. Not sure what the third error looks like but amend line 95 (that’s before you’ve deleted the above lines) from <txp:article_custom limit=99999 section="articles" /> to read <txp:article_custom limit="99999" section="articles" />, i.e. wrap quote marks around the nines.

These have all been amended in the code below, please copy and paste into the page entitled “default” and away you go.

<!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>
		<title><txp:page_title /></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<meta name="robots" content="index,follow" />
		<txp:feed_link flavor="atom" format="link" label="Atom" />
		<txp:feed_link flavor="rss" format="link" label="RSS" />
		<txp:css format="link" />
	</head>
	<body>
	<div id="primary-menu"<txp:if_category>class="dontmark"</txp:if_category>>
		<h1>Navigation</h1>
		<txp:ako_nav name="Home,About,Articles,Archive,Contact" url="/,/about,/articles,/archive,/contact" headon="0" divon="0" />
	</div>
	<div id="wrapper">
		<div id="header">
			<div class="rounder">&nbsp;</div>
			<h1><txp:link_to_home>Roowhaline<span> Template</span></txp:link_to_home></h1>
			<p><txp:site_slogan /></p>
		</div>
		<div id="intro">
			<div id="intro-inner-wrapper">
				<txp:if_individual_article>
					<txp:article_image />
	        				<h2><txp:title /></h2>
							<p><txp:breadcrumb label="Home" title="1" link="y" wraptag="" /> &raquo; <txp:title /> <br/>
Article category is <txp:category1 class="category" link="1" title="1" wraptag="" /> <br/> 
Posted <txp:posted /></p>
					<txp:if_excerpt>
						<br class="clear" />
						<txp:excerpt />
	        		</txp:if_excerpt>
					<txp:cbs_article_index label="Contents:" labeltag="p" wraptag="ol" break="li" />
       			<txp:else />
					<txp:if_section name="search">
						<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
						<h2>Search results</h2>
						<p>Below you can see the results as an exerpts of pages content.</p>
					</txp:if_section>
       				<txp:if_section name="default">
						<txp:if_category>
							<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
							<h2>Category: <txp:category title="1" /></h2>
						<txp:else />
							<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
							<h2>About this template</h2>
							<p>Hello everyone. My name is Dmitriy, I’m an amateur freelance XHTML-coder from Russia, and this is my first-ever template for Textpattern. Roowhaline is clean and neat (for my taste) template, and pretty suitable for people who don’t like all whose colorish eye-killing designs. Template is full XHTML 1.0 Transition and CSS 2 compliant, very flexible and well documented. <br />
Hope you’ll enjoy this template :0)</p>
						</txp:if_category>	
       				</txp:if_section>
       				<txp:if_section name="about">
       					<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
						<h2>About</h2>
						<p>Description goes here</p>
       				</txp:if_section>
       				<txp:if_section name="articles">
       					<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
						<h2>Articles</h2>
						<p>Description goes here</p>
       				</txp:if_section>
       				<txp:if_section name="archive">
       					<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
						<h2>Archive</h2>
						<p>Description goes here</p>
       				</txp:if_section>
       				<txp:if_section name="contact">
       					<img src="<txp:site_url />/images/roowhaline/roomy-1.jpg" alt="Mushroom Photo" />
						<h2>Contact</h2>
						<p>Description goes here</p>
       				</txp:if_section>
				</txp:if_individual_article>
			</div>
		</div>
		<div class="poddon">
			<div class="poddon-small"></div>
		</div>		

		<div id="content_wrapper">
			<div id="container">
				<div id="content">
					<txp:if_section name="search">
						<h3>Search results</h3>
						<ul>
							<txp:article form="search_results" />
						</ul>
						<p><txp:search_result_count />.</p>
					</txp:if_section>

					<txp:if_section name="archive">
						<txp:article_custom limit="99999" section="articles" />
					</txp:if_section>
					<txp:if_section name="contact">
						<h3>Contact</h3>
						<p>You can send me a message through the following contact form.</p>
						<txp:zem_contact to="info@webgrower.ru" label="" subject="Regarding your blog">
							<p><txp:zem_contact_text label="Name:" break="" /></p>
							<p><txp:zem_contact_email label="E-Mail:" break="" /></p>
							<p><txp:zem_contact_textarea cols="25" rows="5" label="Message:" break="" /></p>
							<txp:zem_contact_submit />
						</txp:zem_contact>
					</txp:if_section>
					<txp:if_section name="default">
						<txp:article limit="5" />
						<p>
							<txp:older>&laquo; Older</txp:older>
							<txp:newer>Newer &raquo;</txp:newer>
						</p>
					</txp:if_section>
					<txp:if_section name="articles">
						<txp:article limit="5" />
						<p>
							<txp:older>&laquo; Older</txp:older>
							<txp:newer>Newer &raquo;</txp:newer>
						</p>
					</txp:if_section>
				</div>

				<div id="sidebar">
					<form id="search" action="<txp:site_url/>search/" method="get">
						<label id="sl" for="s">Search </label>
						<input type="text" id="s" name="q" />
						<input type="submit" id="ss" value="&raquo;" />
					</form>

				<txp:category_list wraptag="ul" break="li" class="" label="Categories" labeltag="h3" />
				<txp:recent_articles limit="10" break="li" wraptag="ul" sortby="Posted" sortdir="desc" class="" label="Recent articles" labeltag="h3" />
				<txp:recent_comments limit="10" break="li" wraptag="ul" class="" label="Recent comments" labeltag="h3" />
				<txp:linklist wraptag="ul" break="li" class="" label="Favorite links" labeltag="h3" />

				</div>

				<br class="clear" />

			</div>
		</div>

		<div id="footer">
			<div class="rounder">&nbsp;</div>
			<a href="textpattern.com" title="Powered by Textpattern"><img src="<txp:site_url />/images/roowhaline/txp_logo.gif" alt="" /></a>
			<p>Roowhaline Template, 2007 &copy; <a href="mailto:info@webgrower.ru">Dmitriy Chekanov</a>. <br />
			Licensed under <a href="http://www.gnu.org/copyleft/gpl.html">GNU GPL</a>.</p>
		</div>
	</div>

	<div id="secondary-menu">
			<h1>Feeds</h1>
				<ul>
					<txp:feed_link label="RSS" flavor="rss" wraptag="li" />
					<txp:feed_link label="Atom" flavor="atom" wraptag="li" />
				</ul>
	</div>
	</body>
</html>

Last edited by pinky (2009-05-22 15:00:36)

Offline

#7 2009-05-22 11:08:40

pinky
Member
From: London
Registered: 2008-12-02
Posts: 45
Website

Re: Half of template is missing (Roowhaline)

This is an image of what is being displayed if it’s any help to decipher where the problem lies:

Can you display images in posts?
Link to image

Offline

#8 2009-05-22 11:56:51

pinky
Member
From: London
Registered: 2008-12-02
Posts: 45
Website

Re: Half of template is missing (Roowhaline)

Solved – as posted in the comments for the template on textgarden.org, if using BBedit, line 47 incorrectly reads </txp:else /> instead of <txp:else /> + there seems to a couple of other amendments mentioned there as well. I’ll post the corrected default page code here later for anyone else who wishes to get this template working.

Offline

#9 2009-06-28 08:48:56

m.furqan.latif
New Member
Registered: 2009-06-28
Posts: 1

Re: Half of template is missing (Roowhaline)

Exactly the same problem here. I’ve installed this theme locally on my mac with an aim to mess around and customise it a bit. I’m using MAMP and have already spent ages fiddling about trying to get the clean URLs to work which I’ve just solved and this is the final problem preventing me from starting. I’ve been through the installation guide twice now and re-copied all the code across but only the top part of the site gets published, there must be an error in the install files.

OK gonna start looking through the page & form code. All sections use “default” as the page and style – the default page code is below, if anyone can spot an error, please post. I’ll try and contact the template author but I don’t think that he’s around on the contact details supplied. Thanks in advance for any assistance.

Offline

#10 2009-06-28 13:32:15

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,207

Re: Half of template is missing (Roowhaline)

Please post your code ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB