Nothing appears, no content in IE, works under FF, Opera.

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
ludo2k
Forum Members
Forum Members
Posts: 10
Joined: Sat Aug 12, 2006 10:43 pm

Nothing appears, no content in IE, works under FF, Opera.

Post by ludo2k »

Hi everyone,

i've installed the mle and doing right the installation tutorial, the database is updated, and i see the different flags, with working links, and i have only 2 pages : home EN and home FR with the sample text, i've deleted other sample pages.

The problem is that if i click the FR or EN link i have the correct title : {title} but in IE7 (or Maxthon using IE7 engine) i have nothing displaying in place of {content} !

Source code for the FR page in IE :

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="fr" lang="fr">

<head>

<title>site de test - home fr</title>


<base href="http://localhost/" />
<meta name="Generator" content="CMS Made Simple - Copyright (C) 2004-6 Ted Kulp. All rights reserved." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 

<link rel="stylesheet" type="text/css" media="handheld" href="http://localhost/stylesheet.php?templateid=17&mediatype=handheld" />
<link rel="stylesheet" type="text/css" media="screen" href="http://localhost/stylesheet.php?templateid=17&mediatype=screen" />
<link rel="stylesheet" type="text/css" media="print" href="http://localhost/stylesheet.php?templateid=17&mediatype=print" />


<link rel="start" title="Home Page, shortcut key=1" href="http://localhost/" />






<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://localhost/index.php?mact=News,cntnt01,rss&cntnt01showtemplate=false&cntnt01category=&cntnt01number=20&cntnt01returnid=15" /></head>

</__body>

<div id="pagewrapper">

        <ul class="accessibility">
      <li><a href="/index.php?page=home&hl=fr_FR#menu_vert" title="Skip to navigation" accesskey="n">Skip to navigation</a></li>
      <li><a href="/index.php?page=home&hl=fr_FR#main" title="Skip to content" accesskey="s">Skip to content</a></li>
    </ul>
    

    <hr class="accessibility" />
    

      <div id="header">
           <h1><a href="http://localhost/" title="Home Page, shortcut key=1">site de test</a></h1>
   <hr class="accessibility" />
   </div>
   

      <div id="search">
          <form id="cntnt01moduleform_1" method="get" action="index.php"><div class="hidden"><input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" /><input type="hidden" name="hl" value="fr_FR" /><input type="hidden" name="cntnt01returnid" value="15" /></div>


<label for="cntnt01searchinput">Recherche</label>: <input type="text" name="cntnt01searchinput" id="cntnt01searchinput" value="Enter Search..." size="20" maxlength="50" onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;" />
<input name="submit" value="Envoyer" type="submit" />

</form>

   </div>
   

      <div class="breadcrumbs">
        You are here: <span class="lastitem">home fr</span>
   <hr class="accessibility" />
   </div>
   

      <div id="content">

            <div id="sidebar">

            <div id="menu_vert">
         <h2 class="accessibility">Navigation</h2>
          

<ul>

<li class="currentpage"><h3><dfn>Current page is 1: </dfn>home fr</h3>


</li>
</ul>

      </div>
      
            <div id="news">
         <h2>News</h2>
          <!-- Displaying News Module -->
<!-- News Categories: '' -->
<!-- Start News Display Template -->
<div class="NewsSummary">

	<div class="NewsSummaryPostdate">
		02/18/08
	</div>

<div class="NewsSummaryLink">
	<a href="http://localhost/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=1&cntnt01origid=15&cntnt01returnid=15&hl=fr_FR">News Module Installed</a>
</div>

<div class="NewsSummaryCategory">
	Catégorie : General
</div>

	<div class="NewsSummaryAuthor">
		Posté par : ludo
	</div>


	<div class="NewsSummaryContent">
		The news module was installed.  Exciting. This news article is not using the Summary field and therefore there is no link to read more. But you can click on the news heading to read only this article.
	</div>

  
</div>
<!-- End News Display Template -->
      </div>
      
      </div>
      

            <div id="main">
         <div style="float: right;"><a href="http://localhost/index.php?page=home&hl=en_US" ><img src="images/lang/en_US.png" style="border:0" alt="English" /></a>
<a href="http://localhost/index.php?page=home&hl=fr_FR" ><img src="images/lang/fr_FR.png" style="border:0" alt="Français" /></a>
 <a href='http://localhost/index.php?mact=Printing,m5,printpage,1&m5showbutton=1&m5script=1&m5returnid=15&page=15&hl=fr_FR' class='noprint'  >  <img src='modules/Printing/printbutton.gif' alt=' Imprimer cette page' />
</a>
</div>
         <h2>home fr</h2>
          <br />

         	 <div class="hr"></div>
	 <div class="right49">
	 	<p><a href="/index.php?page=home&hl=fr_FR#main">^ Top</a></p>
	 </div>
         <div class="left49">
            <p> <br />
            </p>
         </div>
         	 
      <hr class="accessibility" />
      </div>
	  

   </div>
   

      <div id="footer">
      
   </div>   
   

</div><__body>
</__html>
<!-- Generated in 0.384471 seconds by CMS Made Simple using 23 SQL queries -->
<!-- CMS Made Simple - Released under the GPL - http://cmsmadesimple.org -->

Source code of the same page in FF :

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="fr" lang="fr">

<head>

<title>site de test - home fr</title>


<base href="http://localhost/" />
<meta name="Generator" content="CMS Made Simple - Copyright (C) 2004-6 Ted Kulp. All rights reserved." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 

<link rel="stylesheet" type="text/css" media="handheld" href="http://localhost/stylesheet.php?templateid=17&mediatype=handheld" />
<link rel="stylesheet" type="text/css" media="screen" href="http://localhost/stylesheet.php?templateid=17&mediatype=screen" />
<link rel="stylesheet" type="text/css" media="print" href="http://localhost/stylesheet.php?templateid=17&mediatype=print" />


<link rel="start" title="Home Page, shortcut key=1" href="http://localhost/" />






<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://localhost/index.php?mact=News,cntnt01,rss&cntnt01showtemplate=false&cntnt01category=&cntnt01number=20&cntnt01returnid=15" /></head>

</__body>

<div id="pagewrapper">

        <ul class="accessibility">

      <li><a href="/index.php?page=home&hl=fr_FR#menu_vert" title="Skip to navigation" accesskey="n">Skip to navigation</a></li>
      <li><a href="/index.php?page=home&hl=fr_FR#main" title="Skip to content" accesskey="s">Skip to content</a></li>
    </ul>
    

    <hr class="accessibility" />
    

      <div id="header">
           <h1><a href="http://localhost/" title="Home Page, shortcut key=1">site de test</a></h1>
   <hr class="accessibility" />

   </div>
   

      <div id="search">
          <form id="cntnt01moduleform_1" method="get" action="index.php"><div class="hidden"><input type="hidden" name="mact" value="Search,cntnt01,dosearch,0" /><input type="hidden" name="hl" value="fr_FR" /><input type="hidden" name="cntnt01returnid" value="15" /></div>


<label for="cntnt01searchinput">Recherche</label>: <input type="text" name="cntnt01searchinput" id="cntnt01searchinput" value="Enter Search..." size="20" maxlength="50" onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;" />
<input name="submit" value="Envoyer" type="submit" />

</form>

   </div>

   

      <div class="breadcrumbs">
        You are here: <span class="lastitem">home fr</span>
   <hr class="accessibility" />
   </div>
   

      <div id="content">

            <div id="sidebar">

            <div id="menu_vert">

         <h2 class="accessibility">Navigation</h2>
          

<ul>

<li class="currentpage"><h3><dfn>Current page is 1: </dfn>home fr</h3>


</li>
</ul>

      </div>
      
            <div id="news">

         <h2>News</h2>
          <!-- Displaying News Module -->
<!-- News Categories: '' -->
<!-- Start News Display Template -->
<div class="NewsSummary">

	<div class="NewsSummaryPostdate">
		02/18/08
	</div>

<div class="NewsSummaryLink">
	<a href="http://localhost/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=1&cntnt01origid=15&cntnt01returnid=15&hl=fr_FR">News Module Installed</a>

</div>

<div class="NewsSummaryCategory">
	Catégorie : General
</div>

	<div class="NewsSummaryAuthor">
		Posté par : ludo
	</div>


	<div class="NewsSummaryContent">
		The news module was installed.  Exciting. This news article is not using the Summary field and therefore there is no link to read more. But you can click on the news heading to read only this article.
	</div>

  
</div>
<!-- End News Display Template -->
      </div>
      
      </div>
      

            <div id="main">

         <div style="float: right;"><a href="http://localhost/index.php?page=home&hl=en_US" ><img src="images/lang/en_US.png" style="border:0" alt="English" /></a>
<a href="http://localhost/index.php?page=home&hl=fr_FR" ><img src="images/lang/fr_FR.png" style="border:0" alt="Fran�ais" /></a>
 <a href='http://localhost/index.php?mact=Printing,m5,printpage,1&m5showbutton=1&m5script=1&m5returnid=15&page=15&hl=fr_FR' class='noprint'  >  <img src='modules/Printing/printbutton.gif' alt=' Imprimer cette page' />
</a>
</div>
         <h2>home fr</h2>
         <p><strong>Home FR</strong></p><p>Congratulations! You now have a fully functional installation of CMS Made Simple and you are <em>almost</em> ready to start building your site. First thing though, you should click <a href="install/upgrade.php" title="Check if your CMSMS system needs upgrading">here</a> to check if your site requires a database upgrade. After you have confirmed you are up to date, then we can get cracking on the site development! </p><p>These default pages are devoted to showing you the basics of how to get your site up with CMS Made Simple. </p><p>To get to the Administration Panel you have to login as the administrator (with the username/password you mentioned during the installation process) on your site at http://yourwebsite.com/cmsmspath/admin. </p><p>If you are right now on your own default install, you can probably just click <a href="admin/" title="CMSMS Demo Admin Panel">this link</a>. </p><h3>Learning CMS Made Simple </h3><p>On these example pages many of the features of the default installation of CMS Made Simple are described and demonstrated. You can learn about how to use different kinds of menus, templates, stylesheets and extensions. </p><p>Read about how to use CMS Made Simple in the <a class="external" href="http://wiki.cmsmadesimple.org/"  title="CMS Made Simple Documentation"  target="_blank" >documentation<span>(external link)</span></a>. In case you need any help the community is always at your service, in the <a class="external" href="http://forum.cmsmadesimple.org"  title="CMS Made Simple Forum"  target="_blank" >forum<span>(external link)</span></a> or the <a class="external" href="http://www.cmsmadesimple.org/IRC.shtml"  title="Information about the CMS Made Simple IRC channel"  target="_blank" >IRC<span>(external link)</span></a>. </p><h3>License </h3><p>CMS Made Simple is released under the <a class="external" href="http://www.gnu.org/licenses/licenses.html#GPL"  title="General Public License"  target="_blank" >GPL<span>(external link)</span></a> license </p> <br />

         	 <div class="hr"></div>
	 <div class="right49">
	 	<p><a href="/index.php?page=home&hl=fr_FR#main">^ Top</a></p>
	 </div>
         <div class="left49">
            <p> <br />
            </p>

         </div>
         	 
      <hr class="accessibility" />
      </div>
	  

   </div>
   

      <div id="footer">
      
   </div>   
   

</div><__body>
</__html>
<!-- Generated in 0.621589 seconds by CMS Made Simple using 23 SQL queries -->
<!-- CMS Made Simple - Released under the GPL - http://cmsmadesimple.org -->

using this template code :

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="{$parent_lang}" lang="{$parent_lang}">
{* 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 *}


{* 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>

<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;">{lang} {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>
i don't understand why nothing is generated for {content} in IE ???

i've cleared the browser's cache and in admin global setting / cache too, nothing...

i've see that the preview tabs in admin/editing a page works the first time, displaying the {content} but if i click FR or EN flag link (in preview tab) it displays nothing...

any idea? thx.
Last edited by ludo2k on Mon Feb 18, 2008 4:13 pm, edited 1 time in total.
alby

Re: Nothing appears, no content in IE, works under FF, Opera.

Post by alby »

ludo2k wrote: i've installed the mle and doing right the installation tutorial, the database is updated, and i see the different flags, with working links, and i have only 2 pages : home EN and home FR with the sample text, i've deleted other sample pages.

The problem is that if i click the FR or EN link i have the correct title : {title} but in IE7 (or Maxthon using IE7 engine) i have nothing displaying in place of {content} !
???

- Try to put in content a simple text, for example:
HOME EN or HOME FR (problem for character?)

- after active debug in config.php and check server log for IE access

- debug connection (I work with FF and here there is Firebug), in IE maybe fiddler or HTTP spy .net  (but I did not ever used)

Alby
Locked

Return to “[locked] CMSMS MLE fork”