Hi Justin,
I’m sure WebYep can do this although I’ve no direct experience that I
can share unfortunately.
If this is the only content that the client needs to update then you
may be better off looking for a custom solution that pulls the data in
from a static text file or even Google document with PHP or jQuery. If
you think they will get the taste for changing things on the site then
look at a CMS like WebYep or Pulse as these will offer the frameworks
to bigger and better things.
Regards,
Tim.
On 26 Oct 2010, at 22:39, Justin Easthall wrote:
I need to create a website that has a news feed - like the one on my
homepage
You’re using my news rotator script that I posted here a while back.
If you want to try controlling this with WebYep, you’re going to need
a way to have the data off-screen, but have the control to edit that
data on-screen. I’m not sure how that would work in practice. I’ve
only worked with WebYep once, but it seemed as though you had to have
the item being edited visible on screen in order to access the controls.
What you could probably do is make the news source a separate page
within your site, and don’t link to it anywhere in your public pages.
Give the address of that page to your admin/client, and they would be
able to add and update the news using WebYep on that page. In order to
get this data into your home page (or whatever page is showing the
news) you would modify the setup part of the script to first fetch the
data from the other page, then start rotating.
I’ll put this in the back of my mind for background processing, and
let you know if I come up with something useful.
Walter
On Oct 26, 2010, at 5:39 PM, Justin Easthall wrote:
I need to create a website that has a news feed - like the one on my
homepage
Aha – there’s no need to use a list, if your CMS can only enter
paragraphs, then use those. Change this line:
var data = $$('#data li');
To this:
var data = $$('#data p');
…and the variable data will become an array of all the paragraphs
inside the DIV called data. So assuming that PulseCMS can be made to
edit something off-screen, you should be all set.
Walter
On Oct 26, 2010, at 5:39 PM, Justin Easthall wrote:
I tried getting PulseCMS to add a list but to no avail…
You could make some of the WebYep fields global (e.g. the client edits the news text on another WebYep admin page) but are then availble to use on any other WebYep page.
Then you can pull in these single fields into the top of your page to use them later:
<?php
//take a WY news feed line of text from an admin page
$newsfeed1 = webyep_sShortTextContent("My WebYep Title", false ) ;
?>
Then you could add them into your page as text (or even perform calculation on them if they are numbers):
<?php echo "$newsfeed1" ?>
This way you can get a client to edit code level page items if you really need to from an Admin page elsewhere (with appropriate php error checking)
David Owen { Freeway Friendly Web hosting and Domains }
You’re using my news rotator script that I posted here a while back. If you want to try controlling this with WebYep, you’re going to need a way to have the data off-screen, but have the control to edit that data on-screen.