Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-11-15 21:49:02

oregonian
New Member
Registered: 2013-11-15
Posts: 8

"turning on" a website

Forgive me for the lack of a better question but here’s my best shot:

Our web developer set up our company website utilizing text pattern and for a period of several months we wanted it somewhat inaccessible in that if you went to the URL it would simply show the company’s address and phone number. However, the site was still available if you typed in the URL and added “/home” or various other paths. Any idea on how to get rid of the that new page they set up for our URL? I spent several hours looking at the CMS for our website and didn’t have any luck.

Thanks

Offline

#2 2013-11-15 22:18:51

etc
Developer
Registered: 2010-11-11
Posts: 5,393
Website GitHub

Re: "turning on" a website

Hello, and welcome to the forum.

There are many ways to achieve the result you describe (i.e. inaccessibility), so it’s difficult to find a solution without some details. Please check the Page used by default section (Presentation/Sections tab), and post the content of the corresponding page (Presentation/Pages) here.

Offline

#3 2013-11-15 22:45:06

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

Re: "turning on" a website

Welcome to the Textpattern forum, oregonian!

Looks like your website is running TXP v4.5.4, so the following description should be clear:
In your Textpattern admin, go to Presentation > Sections and have a look at which Page is assigned to the section named “Default”. Click that section’s link in the Page column. A new page opens (Presentation > Pages), copy the code in its text edit area and paste it here in your reply, please.

(Edit: Ah, been a long time absent since I opened the page, etc has already answered the same.)

Last edited by uli (2013-11-15 22:46:26)


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

Offline

#4 2013-11-16 00:00:52

oregonian
New Member
Registered: 2013-11-15
Posts: 8

Re: "turning on" a website

Hi, thanks for the pointer. Here is 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” xml:lang=“en” lang=“en”>
<head> <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” />

<title><txp:page_title /></title>

<link rel=“home” href=”<txp:site_url />” />

<txp:feed_link flavor=“atom” format=“link” label=“Atom” /> <txp:feed_link flavor=“rss” format=“link” label=“RSS” />

<txp:css format=“link” />

<txp:rsd />
</head>
<body id=”<txp:section />”>

<!— accessibility —>
<div id=“accessibility”> <ul> <li><a href=”#content”><txp:text item=“go_content” /></a></li> <li><a href=”#sidebar-1”><txp:text item=“go_nav” /></a></li> <li><a href=”#sidebar-2”><txp:text item=“go_search” /></a></li> </ul>
</div>

<div id=“container”>

<!— head —> <div id=“head”> <p id=“site-name”><txp:link_to_home><txp:site_name /></txp:link_to_home></p> <p id=“site-slogan”><txp:site_slogan /></p> </div>

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

<!— right —> <div id=“sidebar-2”> </div>

<!— center —> <div id=“content”> <h3>Main Office:</h3>
<p>Company<br />
address<br />
address<br />
telephone number<br />
email: <txp:email email=“example email”/></p> </div>

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

</div>

</body>
</html>

Offline

#5 2013-11-16 01:17:49

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

Re: "turning on" a website

Unfortunately, there’s no stuff to re-activate therein. Do you have backups of the previous version?
The presence of a “DB Manager” menu item in the Extensions menu would indicate that.
(Don’t restore anything unless you know what you’re doing! Edit: And if: backup the current state before!)

Last edited by uli (2013-11-16 01:23:05)


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

Offline

#6 2013-11-16 13:59:51

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

Re: "turning on" a website

It’s probably easiest to check which page template is used by section ‘home’, and assign that page to section ‘default’ as well. If that doesn’t do what you want, there’s no harm done, and you problably only need to change minor things to achieve a fully functioning site.

Offline

#7 2013-11-16 22:47:48

oregonian
New Member
Registered: 2013-11-15
Posts: 8

Re: "turning on" a website

Thank you, I went with Els’ suggestion and now I’ve got the website where I want it. Cheers.

Offline

Board footer

Powered by FluxBB