WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Anynews problem
  • Print
Pages: [1]   Go Down

Author Topic: Anynews problem  (Read 9700 times)

webmaster38

  • Guest
Anynews problem
« on: July 29, 2008, 06:09:55 PM »
I slowly grab the many intricacies of PHP-programming, but after more than a day of reading posts, docu and trying I cannot get the anynews module working properly.
I do have 2 segments of news in one page which is fine by me. The headings show, the short news is there, the readmore links show new pageheaders (nieuws), but the long text fails to show in the same page and fails to show at all basically... What did I overlook here?

Edit: to be more precise: When I look into the pages made by the cms, a page with long news looks like this:
<?php
$page_id = 6;
$section_id = 7;
$post_id = 5;
define("POST_ID", $post_id);
require("../../config.php");
require(WB_PATH."/index.php");
?>

The content is in the db, in the right field.
Don't I miss the db-query here to get the text out of the DB? And if so, why does the CMS leave this out when it generates a page?
 
Thanks.

Peter

www.presentatieprov ider.nl/wb/
« Last Edit: July 29, 2008, 08:41:39 PM by webmaster38 »
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Anynews problem
« Reply #1 on: July 29, 2008, 10:24:35 PM »
The only reason I can think of is that the settings of your news page are deleted.

If you create a new NEWS page, does it show the news?

In the back-end  you should see something like the attached image.

Ruud

[gelöscht durch Administrator]
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

webmaster38

  • Guest
Re: Anynews problem
« Reply #2 on: July 29, 2008, 11:06:07 PM »
Thanks, Ruud, but I looked at it and I do have all setting. I think. And I didnt mention it, but it happens at two sites exactly the same. The sites are no technical clones btw. When I make a new page I do get a new pageheader, but still no body. Where should that call be in the script?
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Anynews problem
« Reply #3 on: July 29, 2008, 11:18:36 PM »
Very strange,

Even your overview page (http://www.presentatieprovider.nl/wb/pages/nieuws.php and nieuws2.php) remain without content.

There is content, the AnyNews snippet shows the title and short message. So thats all ok.

You can try to set the errorlevel in the settings (advanced) to the E_ALL level and check if any errors are shown.
(assuming you cannot view the errorlogs created by php)

Ruud

Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Anynews problem
« Reply #4 on: July 29, 2008, 11:23:58 PM »
Just did a bit of testing with a news page.

Did you set the visibility of the page tot None? (Zichtbaarheid > Geen)
 - Set it to Hidden (verborgen)

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

webmaster38

  • Guest
Re: Anynews problem
« Reply #5 on: July 30, 2008, 10:16:59 AM »
Thanks for the testing Ruud, No errors are shown. What it the location of the logs btw?

Thanks to that I found at least part of the problem: a page which is not made news in the first place, but changed afterwards into news is not going to display. Same when a news-segment is added to that page later: the short will show, the long won't. After a number of tries I now have a showing page, which is horrible to look at (too may dates, language issues, header shown twice), but I should be able to delete these.
I do think the anynews module is a bit beta though. When I've got time i'll give it a try.

Thanks. Now going to try to get a three of four level menu out of multiflex. 2 levels is nogo.  :-D
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Anynews problem
« Reply #6 on: July 30, 2008, 10:31:35 AM »
Ok, at least you have got news showing (page nieuwstest)

You are mixing things up a little bit.
AnyNews is only responsible for the blue "Laatste nieuws" items in your template. It is a small piece of code that adds functionality to the News module. The News module (when you create a page -> type news) is a standard component (stable version) of the WB software.

Your problems have nothing to do with AnyNews. It is the news page.
In the settings of the news page (screenshot a few messages ago) you can remove the stuff that displays the line like "Posted by Administrator (provider) on 30 Jul 2008".

Have a look at this page, It might explain a bit more.

Good luck,

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

webmaster38

  • Guest
Re: Anynews problem
« Reply #7 on: July 30, 2008, 09:22:36 PM »
Okay Ruud, I am indeed confused. I had no idea these two were related. It makes my fingers itch to go and write some support-files for WB for non-IT-ers like me.  If I only had the time. I did so for some years for Siebel in work. The techies all say it is easy, but it is only to them. The rest of us never really understand and need a different kind of manual or even a product with needs no tweaking and no manual at all. (best) 
Understanding what is really happening and what to do seems a bear of a challenge for WB. I also spent far too many hours already trying and fiddling.
I'll be able to finish this site next week (content to do).

Thanks Peter
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Anynews problem
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2