I'm in the process of upgrade all the way back from 1.6.6 to the latest. I haven't done anything yet as I want to verify that 1.6.6 is working. (I have several installations of 1.6.6 I need to upgrade.)
Oddly in one of my installations, "edit content pages" show no content to edit. The admin/content/pages shows the list of content pages but when I click any of them the edit page is blank between the "Edit Content" text and the "back to menu" link.
However I can add and edit News so I'm baffled. Anybody seen this before and now what I might have screwed up?
Thanks.
EditContent misbehaving
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
Re: EditContent misbehaving
Hi,
Does the template of that particular site contain the {content} tag?
Anne-Mieke
Does the template of that particular site contain the {content} tag?
Anne-Mieke
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
- wakewatcher
- Forum Members
- Posts: 149
- Joined: Fri Dec 28, 2007 12:33 am
Re: EditContent misbehaving
I apologize I'm not familiar of what or where the template for the site is? I looked under "extentions" and "tags" and there is a link that says "content" is that what you are referring to? Thanks for your help.
-
- Forum Members
- Posts: 183
- Joined: Sun Sep 07, 2008 10:47 am
Re: EditContent misbehaving
in main menu => layout => templates.
If you check your pages list you can see which templates are in use.
If you check your pages list you can see which templates are in use.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur..." (Red Adair)
- wakewatcher
- Forum Members
- Posts: 149
- Joined: Fri Dec 28, 2007 12:33 am
Re: EditContent misbehaving
Oh. Yes in operation the templates work to display the content and in the admin/content/pages it shows the associated template but when I click on the page link to edit the content nothing comes up to edit. But the similar look and feel admin/content/news works as expected.
Like I mentioned if this all fixes itself by upgrading I'm ok. My problem is I got to jump from 1.6.6 to the latest and was hoping that it could be as simple as overwriting all the existing code with the latest version and some how auto-magically updating whatever database changes required.
Like I mentioned if this all fixes itself by upgrading I'm ok. My problem is I got to jump from 1.6.6 to the latest and was hoping that it could be as simple as overwriting all the existing code with the latest version and some how auto-magically updating whatever database changes required.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: EditContent misbehaving
<cough>forum rules</cough>.
If you want help, we need information, and we won't ask for it.
If you want help, we need information, and we won't ask for it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: EditContent misbehaving
First,
check if the template, which is showing on the right side of the page you are trying to edit has {content}, so not {content block="someblock"}, but explicitly {content}. Since some releases {content} is a required (was already) but is now checked against.
Ronny
check if the template, which is showing on the right side of the page you are trying to edit has {content}, so not {content block="someblock"}, but explicitly {content}. Since some releases {content} is a required (was already) but is now checked against.
Ronny
- wakewatcher
- Forum Members
- Posts: 149
- Joined: Fri Dec 28, 2007 12:33 am
Re: EditContent misbehaving
@calguy: After a lot of time looking at my sources and searching the forum (I may have a search term disability) I provided in my first post everything I know about this... version and the observations. I was assuming if it wasn't enough information for some to respond they wouldn't respond. I am very grateful for the responses I got.
@ronnyk/compufairy: Thanks for the suggestions on obviously limited information.
Maybe some pictures would be helpful.

Which results in this.

The left "Left simple navigation + 1 column" template code is:
So I guess I was hopeful that someone based on the stated observations would have recognized this before. Since it doesn't appear to be the case perhaps one way to approach it would be to simple copy one of my working 1.6.6. versions over the top of it (except the config.php file and database of course) and hope that fixes it.
@ronnyk/compufairy: Thanks for the suggestions on obviously limited information.
Maybe some pictures would be helpful.

Which results in this.

The left "Left simple navigation + 1 column" template code is:
Code: Select all
<!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">
{* Change lang="en" to the language of your site *}
<head>
<title>{sitename} - {title}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
{literal}
<__script__ type="text/JavaScript">
<!--
//pass min and max -measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</__script>
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
</style>
<![endif]-->
{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Left sidebar + 1 column" *}
</head>
</__body>
{gaat id="UA-12366205-1"}
<div id="pagewrapper">
{* start accessibility skip links *}
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
{* end accessibility skip links *}
<hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet "For template: Left menu + 1 column" *}
<div id="header">
<h1>{cms_selflink dir="start" text="$sitename"}</h1>
<hr class="accessibility" />
</div>
{* End Header *}
{* Start Search *}
<div id="search">
{search}
</div>
{* End Search *}
{* Start Breadcrumbs *}
<div class="breadcrumbs">
{breadcrumbs starttext='You are here' root='Home' delimiter='»'}
<hr class="accessibility" />
</div>
{* End Breadcrumbs *}
{* Start Content (Navigation and Content columns) *}
<div id="content">
{* Start Sidebar *}
<div id="sidebar">
{* Start Navigation *}
<div id="menu_vert">
<h2 class="accessibility">Navigation</h2>
{menu template='simple_navigation.tpl' collapse='1'}
</div>
{* End Navigation *}
{* Start News *}
<div id="news">
<h2>News</h2>
{news number='3' detailpage='news'}
</div>
{* End News *}
</div>
{* End Sidebar *}
{* Start Content Area *}
<div id="main">
<div style="float: right;">{print showbutton=true script=true}</div>
<h2>{title}</h2>
{content} <br />
{* Start relational links *}
<div class="hr"></div>
<div class="right49">
<p>{anchor anchor='main' text='^ Top'}</p>
</div>
<div class="left49">
<p>{cms_selflink dir="previous" label="Previous page: "} <br />
{cms_selflink dir="next"}</p>
</div>
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
<hr class="accessibility" />
</div>
{* End Content Area *}
</div>
{* End Content *}
{* Start Footer. Edit the footer in the Global Content Block called "footer" *}
<div id="footer">
{global_content name='footer'}
</div>
{* End Footer *}
</div>{* end pagewrapper *}
<__body>
</__html>
- wakewatcher
- Forum Members
- Posts: 149
- Joined: Fri Dec 28, 2007 12:33 am
Re: EditContent misbehaving
I copied over the top and the editable content is now there. However it introduced a new (unrelated?) issue which I've posted HERE.