Sticky

Sticky

When a item or topic is "Sticky" it means it will stay on top to track your attention in reading it. This is mostly done because there is important information to be found in such a item or topic.
[ Close ]

Announcement

Announcement

When an important issues arrises for this item or topic an Announcement will be made. Here you can read about this important matter and respond to it.
[ Close ]

Global announcement

Global announcement

When an important issues arrises for this section, item list or category a Global Announcement will be made. Here you can read about this important matter and respond to it. A Global Announcement is more important than an Announcement.
[ Close ]

Site announcement

Site announcement

When an important issues arrises for the etire website an Site Announcement will be made. Here you can read about this important matter and respond to it. This is really important so read it.
[ Close ]

Normal

Normal

This is a normal page, topic or item. It is a normal informative page, topic or item.
[ Close ]

Closed

Closed

This item or topic is closed. The reason can be read inside it. If not? Then it will probably be closed because of the age of the matter or inactivity.
[ Close ]

Bug report

Bug report

When someone has found a bug in an application, or something else, he or she can report it using this function. Then we will look at it and see if we can fix it.
[ Close ]

Solved

Solved

When ever a bug report (problem, error, etc.) has been solved it gets this type assigned.
[ Close ]

Open

Open

This is an open item. Research is beeing done to learn about the people that need this or requested it. We are making a project file to record all things that have to be done to complete this project.
[ Close ]

Paused

Paused

This item paused. Meaning all progress on it is halted. Progress might be started again or it will be stopped. Depending if it is needed and if it can be done.
[ Close ]

In development

In development

This item is in development. It's not done yet, but we are working on it to finnish it. This is the step that takes the longest time.
[ Close ]

Beeing written

Beeing written

The writers are still writing this item. For now it is not done yet. Writers can take a long time to write something so give them some time.
[ Close ]

Stopped

Stopped

This item is stopped. All development and progress is stopped and will not be started again.
[ Close ]

Closed

Closed

This item is closed. All development and progress is stopped and will not be started again.
[ Close ]

Upgrading

Upgrading

This item is beeing upgraded. A new version is beeing developed.
[ Close ]

Finnished

Finnished

This page, item, etc. is Finnished. For now nothing is done about it.
[ Close ]

Finnished, upgrading

Finnished, upgrading

This item is Finnished. Now probably by popular demand a new version is beeing developed.
[ Close ]

Done

Done

This item is complete and nothing will be done with it for now.
[ Close ]

Under review

Under review

When an item is under review means it is done, but some minor bugs, layout changes or missing features needs to be finnished. After that it will be really done.
[ Close ]
Location: Newanz » Forums » NewsOffice » Latest Comments

Latest Comments

Jan 30th, 2010 at 17:33:52
Greetings.
I didn't notice many of the problems that folks were having. But excited to see NewsOffice still growing.
Have a question:
Can we integrate a latest comments option in our pages like the one in the Dashboard?

Many thanks.

homershines
Jan 31st, 2010 at 15:03:42
Well there is no official way to do this, but it is possible.
I just made this real quick:

Link to down loadable file

Save that file as a .php file in the main NewsOffice directory. Then include it using:

Code


<?php include("PATH_TO_YOUR_NEWSOFFICE_INSTALLATION/lastest_comments_homer.php"); ?>
And it should work for ALL comments. Not in a specific category or anything.

I hope it works and you might use it, but I can't give you any more support than this on it.
Good luck.

Thank you for reading,

Tom de Bruijn

Know the rules, read our Terms of Use.
Feb 05th, 2010 at 05:21:03
Thanks Tom.

I'll try it out.
Looking forward to seeing your CMS project.

Thanks again & peace.

homershines
Feb 05th, 2010 at 15:06:58
Let me know if it works. I hope so Smile

Yeah me to. When will it be done?
Not really soon, as I just posted a news message about.

Thank you for reading,

Tom de Bruijn

Know the rules, read our Terms of Use.
Feb 11th, 2010 at 03:17:00
Thanks Tom.
Nope. The include didn't work. Tried it various ways.

Thanks though.

Homer
Feb 11th, 2010 at 16:44:46
Bummer...

Ehm... It worked in my situation, but that's, of course, the ideal environment for NewsOffice.

Any error messages you are willing to share so I can take a look why things go wrong?

Thank you for reading,

Tom de Bruijn

Know the rules, read our Terms of Use.
Feb 17th, 2010 at 17:40:04
Sorry.
I can't figure out how to get the error messages displayed in the CMS.
[GetSimple CMS] But I also didn't see any error messages listed in my browser's designer assist plugins.

Sorry.

Homer
Feb 18th, 2010 at 16:18:12
Homer,

Two things you can try, if you want.

In the getsimple CMS directory (I downloaded it to understand how it works) and open the gsconfig.php file. Uncomment (remove the # sign) from the "#define('GSDEBUG', TRUE);" line.

Should hopefully show some errors, if not; do the following: (On newsoffice 2.0.15 Beta)

Open file: core/clean_boot.php
Change line 74: error_reporting(0);
To: error_reporting(E_ALL);

That activates NewsOffice its error function. Tell me how that went.

Tom

Thank you for reading,

Tom de Bruijn

Know the rules, read our Terms of Use.
Feb 18th, 2010 at 19:56:04
Thanks.

That was great info to have access to.

Here's the error messages that I got.....

Warning: include(myplugins/newsoffice/lastest_comments_homer.php) [function.include]: failed to open stream: No such file or directory in /Users/homerjackson/offline-web design work/333GetSimple-203/admin/inc/theme_functions.php(284) : eval()'d code on line 1

Warning: include() [function.include]: Failed opening 'myplugins/newsoffice/lastest_comments_homer.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php'Wink in /Users/homerjackson/offline-web design work/333GetSimple-203/admin/inc/theme_functions.php(284) : eval()'d code on line 1

Notice: Undefined variable: inter in /Users/homerjackson/offline-web design work/333GetSimple-203/admin/inc/theme_functions.php on line 89

Thanks again.

Homer

Last updated: Feb 18th, 2010 at 19:57:19
Feb 19th, 2010 at 16:09:34
The CMS can not find the file to include. Is this the same url prefix ("myplugins/newsoffice/"Wink you used for your news page?

You can use

Code


realpath("./");
to see your actual path from which the current cms page is loaded.
Use that path, change it to point to your newsoffice installation and then the latest_comments_homer.php file. That filename is the name you gave the file you downloaded, right?

Good luck.

Tom

Last updated: Feb 19th, 2010 at 16:09:44

Thank you for reading,

Tom de Bruijn

Know the rules, read our Terms of Use.

Login to reply

Please Login or Register to reply in this topic.

Options