Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-06 18:34:06

dragonfey57
New Member
Registered: 2006-02-02
Posts: 8

Template Changes not showing up

I was working on inserting my links into the default template. I did change the left column just fine, but when I changed the right column nothing changed. Currently the right column has NOTHING in it per the template, but still shows the default info (I edited everything except the div tags out just to see if the info would disappear).

Any suggestions? I am stumped, especially since it stopped working in the middle of my working on it.

Thanks!

Offline

#2 2006-02-07 11:58:53

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

Re: Template Changes not showing up

I’m wondering if, when you view your site, you are looking at the template you’ve modified. In the standard TXP install the default template is for the front-page or listing view and the archive template controls the “comments” or “individual_article” view. So you would need to make your changes to both templates for them to appear in both listing and individual views.


Stuart

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

Offline

#3 2006-02-07 16:47:54

dragonfey57
New Member
Registered: 2006-02-02
Posts: 8

Re: Template Changes not showing up

It is the default template I am looking at, that is the “index” page. I want to change it also. I haven’t yet even opened, either to view or modify, any other pages.

thanks for the suggestion though.

Offline

#4 2006-02-08 01:51:06

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

Re: Template Changes not showing up

Is there a link we could look at?


Stuart

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

Offline

#5 2006-02-08 02:51:51

runbei
New Member
Registered: 2006-02-07
Posts: 7

Re: Template Changes not showing up

I’m having exactly the same problem. I make a change to the default page template (home page) in the Presentation/Pages editor, then save it, and the changes don’t show up when I load the page.

I checked the page source of the loaded page, and it’s showing the old text.

Very frustrating. Why is TP no longer saving my pages?

Thanks for any help.

Offline

#6 2006-02-08 02:55:27

runbei
New Member
Registered: 2006-02-07
Posts: 7

Re: Template Changes not showing up

p.s. Here’s the code that I changed. Notice

<h2 id="tagline">blahblahblah</h2>

This was formerly

<h2 id="tagline">Tagline Here</h2>

And that’s what’s still being displayed after I save the page in the TP editor. The URL is http://www.oceansofenergy.com.

<body>
<div id="farouter">
<div id="outer">
<div id="rap">
<div id="masthead">

<h1 id="header"><txp:link_to_home><txp:sitename /></txp:link_to_home></h1>
<h2 id="tagline">blahblahblah</h2>
</div>
<div id="hmenu">
<div id="hnav">

<ul id="navlist">
<li><txp:link_to_home>Home</txp:link_to_home></li>
<li><a href="">Link1</a></li>
<li><a href="">Link2</a></li>
<li><a href="">Link3</a></li>
<li><a href="">Link4</a></li>
</ul>


(Edit: updated code so it would display properly. :) -Mary)

Last edited by Mary (2006-03-16 03:44:55)

Offline

#7 2006-02-08 02:56:41

runbei
New Member
Registered: 2006-02-07
Posts: 7

Re: Template Changes not showing up

Oops, the code got interpreted in my post. Hmm, I’m a stranger here…

Offline

#8 2006-02-08 03:09:45

dragonfey57
New Member
Registered: 2006-02-02
Posts: 8

Re: Template Changes not showing up

My website is http://www.margaretmerchant.net

However, the view of the code that is in the browser is different than what is saved to my default template. The template has the beginning and end right sidebar tags, and not a thing more. Nada. Yet it still shows all the old default info.

My hosting is checking on it, but honestly, since someone else is having the same problem, I have to wonder if there is some type of bug.

Offline

#9 2006-02-08 04:00:28

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: Template Changes not showing up

Code won’t be interpreted if you wrap it in < code > tags (no spaces, of course). Editing the post will make it all show up.

Last edited by Elenita (2006-02-08 04:00:58)

Offline

#10 2006-02-08 05:40:18

runbei
New Member
Registered: 2006-02-07
Posts: 7

Re: Template Changes not showing up

Thanks, all. I’ve removed TextPattern from my site (and taken the site down until I find another solution). For my purposes, it defeats the purpose to be thrown into code-learning and debugging mode. I was attracted to TP as a fine way to focus on content and let the app do the coding. But the latest version, at least, is just too buggy.

Offline

#11 2006-02-08 06:08:42

dragonfey57
New Member
Registered: 2006-02-02
Posts: 8

Re: Template Changes not showing up

This is just so strange. I just published a new article, which has shown up just fine. Yet the template changes aren’t.

Offline

#12 2006-02-08 17:50:16

dragonfey57
New Member
Registered: 2006-02-02
Posts: 8

Re: Template Changes not showing up

This is about it, I was ready to give up, then decided to try a clean install. It worked fine, at first. I made a couple of pages and now a static page with no content is showing up as my main page. Again, I haven’t a clue and the default template shows something completely different:

<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> <meta http-equiv=“content-type” content=“text/html; charset=utf-8” /> <link rel=“stylesheet” href=”<txp:css />” type=“text/css” media=“screen” /> <title><txp:page_title /></title>
</head>
<body>
<div id=“accessibility”> <a href=”#content” title=“Go to content”>Go to content</a> <a href=”#sidebar-1” title=“Go to navigation”>Go to navigation</a> <a href=”#sidebar-2” title=“Go to search”>Go to search</a>
</div> <!— /accessibility —>
<div id=“container”>

<!— head —>
<div id=“head”>
<img src=“images/newbanner.jpg” />

</div>

<!— left —>
<div id=“sidebar-1”>

<txp:linklist wraptag=“p” />

</div>

<!— right —>
<div id=“sidebar-2”> <p>Author</p> <p><txp:section link=1 title=1 name=“about” /></p> <p>Interests</p>

<txp:search_input label=“Search” wraptag=“p” />

<p><txp:feed_link label=“RSS” /> / <txp:feed_link label=“Atom” flavor=“atom” /></p>

</div>

<!— center —>
<div id=“content”>

<txp:article />
<txp:if_individual_article>
<p>
<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next>
</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
</div>

<!— footer —>
<div id=“foot”>&nbsp;</div>

</div>

</body>
</html><code>

Last edited by dragonfey57 (2006-02-09 02:49:46)

Offline

Board footer

Powered by FluxBB