Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2011-01-26 18:24:45

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

The homepage has its own template, but here’s the Default template:

<txp:output_form form="header" />
<txp:output_form form="branding" />
<txp:output_form form="nav_main" />


<!-- content -->
	<div id="content" class="wrapper">
	 <div id="content_main">
	 <txp:if_individual_article>
	    <txp:article status="sticky" />
	    <txp:article /> 
	 <txp:else />
	    <txp:article status="sticky" />
	 </txp:if_individual_article> 
	 </div>


<txp:if_section name=" ,default"><txp:else /><txp:output_form form="nav_sub" /></txp:if_section>

	</div>

<txp:output_form form="nav_promote" />
<txp:output_form form="newsletter" />

<txp:output_form form="siteinfo" />
<txp:output_form form="footer" />

Last edited by jsoo (2011-01-28 13:56:07)


If code is poetry, I’m a lousy poet.

Offline

#50 2011-01-26 18:32:33

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Super; thanks. The old files would have been nice to have last night, but it’s still great to have them now as a backup, just in case )and hopefully there won’t be another occasion—as least for me!)

Yes, changing the core files is not a great idea… it was an unintended thing that led to the ball of yarn.

And you’re right; most of the code differences between the new and the old index.php files were on the Admin side. Especially all references to “theme”…

jsoo wrote:

And as Els says, in general not a good idea to use modified core files unless you know why. I don’t see a problem using the 4.3.0 root index.php on a 4.0.6 site, but I should think the admin-side index.php would cause problems if you just stuck it in to a 4.0.6 site. If you aren’t ready to upgrade yet you can get the old versions of the files here.


If code is poetry, I’m a lousy poet.

Offline

#51 2011-01-26 18:33:47

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Jeff, here’s the homepage template:

<txp:output_form form="header" />
<txp:output_form form="branding" />
<txp:output_form form="nav_main" />


<!-- content -->
<div id="content" class="wrapper">
<div id="content_main">

<txp:article status="sticky" />

<hr />


</div>
<txp:output_form form="home_sidebar" />
</div>

<txp:output_form form="nav_promote" />
<txp:output_form form="newsletter" />

<txp:output_form form="siteinfo" />
<txp:output_form form="footer" />

Last edited by n2 (2011-01-26 18:36:27)


If code is poetry, I’m a lousy poet.

Offline

#52 2011-01-26 18:55:44

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

Re: HELP! Side-bar disappeared

Was the tag trace you showed from the home page? That tag trace uses the “default” template.

If you’ve gotten rid of the error messages and can just leave the site in debugging mode for a little while, that would make this a quicker process.

Edit: OK, thanks for the homepage template. Still, if you can put the site in debugging mode, it will save time. Does the home_sidebar form actually have the sidebar you want?

Last edited by jsoo (2011-01-26 18:58:44)


Code is topiary

Offline

#53 2011-01-26 19:01:39

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Jeff, I removed the tag trace that was here, as yet another mod posted.

Thank you for being the only one to actually help me and not just pop in to scold. :)

Last edited by n2 (2011-01-26 20:29:23)


If code is poetry, I’m a lousy poet.

Offline

#54 2011-01-26 19:27:56

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

Re: HELP! Side-bar disappeared

n2, I don’t know what’s up with this forum topic, but I can’t get to the last page of it, most of the time. So I haven’t seen your most recent message(s).


Code is topiary

Offline

#55 2011-01-26 19:54:59

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Hi Jeff, i can’t get open page with your latest reply.

It freezes on page 6 and times out, giving an error.

I just removed the long tag-trace code in case that was the problem. Pls let me know if you need that tag-trace again.

Last edited by n2 (2011-01-26 20:31:37)


If code is poetry, I’m a lousy poet.

Offline

#56 2011-01-26 20:05:34

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,376
Website GitHub Mastodon

Re: HELP! Side-bar disappeared

n2, please refrain from posting these long tag traces. Use a service like pastebin instead, or limit them to the relevant parts (HTML comments at the end of the page source).

Offline

#57 2011-01-26 20:14:25

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

.

Last edited by n2 (2011-01-26 20:32:31)


If code is poetry, I’m a lousy poet.

Offline

#58 2011-01-26 20:18:05

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

Re: HELP! Side-bar disappeared

My fault, Robert — I told him to post them. I gather that was what slowed the forum down?


Code is topiary

Offline

#59 2011-01-26 20:18:16

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Yes, that’s the one (home_sidebar.) Let me know if you need the code from that.

And I can put the site back in Debugging mode but i have to be prudent as they’re already concerned about the sidebar being gone and the page not looking right. They have a lot of upcomiing events so they want to make sure they don’t lose any visitors…

But as soon as i get word from you, i’ll switch it to Debugging mode…

Thanks!

jsoo wrote:

Edit: OK, thanks for the homepage template. Still, if you can put the site in debugging mode, it will save time. Does the home_sidebar form actually have the sidebar you want?

Last edited by n2 (2011-01-26 20:20:30)


If code is poetry, I’m a lousy poet.

Offline

#60 2011-01-26 20:35:55

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

Re: HELP! Side-bar disappeared

If you’ve fixed the errors, debugging mode won’t affect visitors.


Code is topiary

Offline

Board footer

Powered by FluxBB