news module summary vanished

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Caspar

news module summary vanished

Post by Caspar »

havent' found a post on this one yet, so please take a second:

1. i had the news module summary in a 2nd content block on the right of my page.

2. after updating some other stuff only the header "news" of that content block would be displayed, no summaries/entries.

3. looking at the sourcecode it shows some commentary lines of the news module summary, but no code/content.

4. tried reinstalling the whole module with the only result that all my news entries got overwritten (my fault, so stupid).

system: cmsms 0.13, pretty urls off, htaccess + mod_rewrite for .html  page extension, apache with php4.4.1.
can't provide a link to the problem page here, cause it's a production site and i had to switch on "site down".

has anyone a clue?
thanx!
cas
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: news module summary vanished

Post by Dr.CSS »

instead of site down you could put a small site in progress static page, index.html, that way you can point people like a client to the correct index.php, browsers always default to look for index.html first, ive used this with a few clients, most web host will put a "this site is registered for a client if you want web hosting clik this link bla bla bla" page that is in fact index.html, when i'm/they are ready to go "live" it's just a matter of deleting that page and we are live...

what did you.. 2. after updating some other stuff
Caspar

Re: news module summary vanished

Post by Caspar »

thanks for the tip about index.html! here's the link to my index.php: http://artreade.shareyourweb.com/index.php
mark wrote: what did you.. 2. after updating some other stuff
edit a global content block and a page. only changing content.
here's what the source code says about the 2nd content block where the news summaries should appear:

Code: Select all

<div id="content2">
          <h2>News</h2>
<!-- Displaying News Module -->
<!-- News Categories: 'Sidebar' -->
<!-- Start News Display Template -->
<!-- End News Display Template -->
      </div>
      <!-- End Second Content Block -->
thanx for reviewing!
Last edited by Caspar on Sat Jun 24, 2006 12:55 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: news module summary vanished

Post by Dr.CSS »

how did you insert the second content block in your template? of course it shows when you edit page or did you put it in the template?
can you post your template code?
how did you insert the news tag?
did you try and delete and reinsert the tag?
Caspar

Re: news module summary vanished

Post by Caspar »

got it! reinstalling the module was it, just forgot to re-edit categories and summary. all fine now - only my news entries are gone, but it weren't too many...
thanx for your support, mark!
mark wrote: how did you insert the second content block in your template?
i use the default bulletmenu2col with modified css.
mark wrote: of course it shows when you edit page or did you put it in the template?
no, it shows when i edit the page.
mark wrote: can you post your template code?
see below
mark wrote: how did you insert the news tag?

Code: Select all

{cms_module module='news' number='5' category='Sidebar' moretext='mehr...' dateformat='%d %b %Y' detailpage='news' lang='de_DE'}
mark wrote: did you try and delete and reinsert the tag?
yes, i did. it was no help before i reinstalled the module.

my 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="en" lang="de">
<head>

<title>{sitename} - {title}</title>

{metadata}
{stylesheet}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

{global_content name='JavaScript for IE page width'}
</head>


</__body>

<div id="pagewrapper">
<div id="container">


    <!-- start accessibility skip links -->
    <ul class="accessibility">
      <li><a href="#menu_vert" accesskey="s" title="Zur Navigation springen">Zur Navigation springen</a></li>
      <li><a href="#main" title="Zum Inhalt springen">Zum Inhalt springen</a></li>
    </ul>
    <!-- end accessibility skip links -->

    <hr />


   <!-- Start Header -->
   <div id="header" class="clearfix">
           <h1>{cms_selflink dir="start"}</h1>
   <hr />
   </div>
   <!-- End Header -->

	  
   <!-- Start Breadcrumbs -->
   <div class="breadcrumbs">
        {breadcrumbs starttext='Sie sind hier' root='Home' delimiter='»'}
   <hr />
   </div>
   <!-- End Breadcrumbs -->


   <!-- Start Content (Navigation and Content columns) -->
   <div id="content" class="clearfix">

      <!-- Start Navigation -->
      <div id="menu_vert">
         <h2 class="accessibility">Navigation</h2>
         {cms_module module='menumanager' collapse='1'}
      <hr />
      </div>
      <!-- End Navigation -->

      <!-- Start Content Area -->
      <div id="main">
         <h2>{title}</h2>
         {content} <br />

<!-- Start relational links -->
	 <div class="hr"></div>
	 <div class="right49">
	 	<p>{cms_selflink anchorlink='main' dir='anchor' text='nach oben'}</p>
	 </div>
         <div class="left49">
            <p>{cms_selflink dir="previous" lang="de"} <br />
            {cms_selflink dir="next" lang="de"}</p>
         </div>
	 <!-- End relational links -->

      <hr />
      </div>
	  <!-- End Content Area -->


      <!-- Start Second Content Block -->
      <div id="content2">
          {content block='block1'}
      </div>
      <!-- End Second Content Block -->


   </div>
   <!-- End Content -->


   <!-- Start Footer -->
   <div id="footer" class="clearfix">
      {global_content name='footer'}
   </div>
   <!-- End Footer -->


</div><!-- end container -->
</div><!-- end pagewrapper -->


<__body>
</__html>
Locked

Return to “CMSMS Core”