Hello - My client would like to have a "news" page - where she can just enter a new event/article/whatever into the CMS, then is automatically populates on that page and also in a feed on the home page that displays just the title of the event/article/whatever. Of course, this title would link the visitor back to the original post and possibly all of the news posts. Is this, or anything like it, possible with Pagelime?
News page and feed
(15 posts) (10 voices)-
Posted 2 years ago #
-
Hi Audrey. It is possible - if you don't want to post it here, can you send me the site details to support@pagelime.com so I can take a quick look.
Posted 2 years ago # -
Hi Emil,
I too would be very interested in this. Can you please outline the procedure here once finalized.
Posted 2 years ago # -
Hey Jaques,
The procedure involves a bit of scripting via PHP or another language. I'm thinking of writing a blog post about it, but I'd really like some ideas on what specifically folks are trying to accomplish.
Posted 2 years ago # -
Hi Emil,
I'm also interested in a similar thing, if it helps here's a breakdown of what we'd like to do:
- News page which has repeatable/editable sections for adding and editing news stories. (already can do with pagelime)
- Then if it's possible to have the title/first few words/similar of say the last five/ten news stories as a list on another page such as the home page. The list items would link to the news page/location of the chosen story. This would allow a Latest News area.This would be really useful if can be integrated with pagelime/if there's a way it can work with it. Thanks.
Posted 2 years ago # -
I'm keen for this functionality as well.
Emil. I imagine the php script you are talking about would parse a directory and report certain properties about each file i.e. The title. To create a list of titles of recently created pages in the directory.
We can then use pagelime to create new pages within this directory to create our newsfeed.I would be keen to see an example of this php script so I wouldn't have to start from scratch.
I realise you are probably working on creating something automated within pagelime but I need the script soon.Posted 2 years ago # -
I am considering moving over to PageLime and this is one feature that would definitely help push me over the edge.
I do a lot of portfolios and pages with featured items and recent news articles and it would be great if I could be able to link to them from the home page as was mentioned above.
This then could be used have recent works in a portfolio and show them with a thumbnail, work title and a small blurb. Basicly just being able to take information from the original page and display the selected information on the home page.Posted 1 year ago # -
It's coming folks - we're working start-up hours here :)
Posted 1 year ago # -
Have there been any updates on this feature? I am new to PL and am looking forward to using it to its fullest.
Posted 1 year ago # -
I'm loving Pagelime for my clients. I too would be extremely interested in this news/events function. The above post (James@treefrogdesign) outlined exactly what I would be interested in.
An update on how or if the solution is progressing would be great.Eeep up the awesome work you guys are doing.
Posted 1 year ago # -
Everyone's patience has been overwhelming. So... I put together a simple chunk of code that lists page title and description based on a folder of editable pages.
Here's the code in Gist:
https://gist.github.com/945294How to get this to work?
Go to site settings/advanced, and in the integration method select "FTP-XML". From now on whenever you publish a page, Pagelime will also silently publish an XML file that you can use to create data driven components.So you'll need to republish your news pages for the XML to show up for the first time.
Possibilities
You can modify this code to do almost anything. For example:
- Fetch a specific editable region, and it's content/image
- Display custom meta-data in listings
- Build content slideshows based on data of pages in a specific folderLimitations of this SPECIFIC piece of code:
- Works only one folder deep from the root
- Brittle (not well tested)Give it a shot. Let me know. I'm sure we'll keep this thread alive with mods and fixes to this code.
Posted 1 year ago # -
@Emil I have to say thanks to you for your pice of code.
But I have a question. It's working great for purpose of blog posts but in wrong order. It always shows older to newest.
So my question is how can I reverse query to showing newest to older? Could you help me?
And second question. I tried to limit foreach and somehow it's working but not in the way it suppose to.
Below is the code but no matter which number is in
if($i >= 3)it show data only for last written "post/page".<?php require("get-news.php") ?> <?php $i=0; foreach(pagesForFolder("news") as $page) if($i >= 1) break; { ?> <h4><?php echo $page["title"]; ?></h4> <?php echo $page["description"]; ?> <span id="readmore"><a href="<?php echo $page["path"] ;?>">Read more...</a></span> <?php } ?>Thanks for help/tips.
Regards
Posted 8 months ago # -
This looks great but could you please give a bit more detail as to how to set it up? Not sure if its supposed to be common sense but I'm not getting it. Do you set up a folder called /news and then put your news pages in there. How do you edit the code to talk to the right folder in your ftp?
How do you link in with the description/title etc. I really want to use this feature but can't get it to work out of the box...Help please...thanks
Posted 8 months ago # -
Hm... @imamo good point. I'll check into how to do it.
@chassabang2556 - did you read the comments in the gist files or just what's posted here? The comments should be helpful in how to use it in your own page.
Posted 8 months ago # -
@email great! I'm still looking for solution and right now it would be great if I have it :) because right now I have two sites which need simple admin solution (pagelime) and simple news solution and that one is great but I/we have to figure out how to reverse post order.
Posted 7 months ago #
Reply
You must log in to post.