|
Now using Launchpad's bug tracker
I decided to use Launchpad's bug tracking system for pecio, because it offers a lot more possibilities than github's simple issue tracker. On Launchpad I can set Importance and Status and you can add attachements or patches to a bug.
Bug tracker URL: https://bugs.launchpad.net/peciocms/+bugs
10 Comment(s)
Thanks for the reminder. Multiple themes are on my todo list, but the "Read more" feature is really something I'd like to keep in the template (aka $post->get_content_cut() which is the Introduction you can set for a post).
(aka $post->get_content_cut()
That's all I have to place into a template to get the Read More function to work? I remember you said that it was there already and just needed some CSS, I think.
Thanks.
homershines
Yep, e.g. if you loop through all the posts and the current post in the loop is $bp, type the following:
echo $bp->get_content_cut();
echo '<a href="' . $pecio->blogpost_url($bp) . '">Read the rest of this post...</a>';
That will display the introduction of this post and a link to the rest of it.
I think it's time to set up a wiki for all of this stuff. I'll just have to find the time to do it.
I'm not sure where it goes. A little more detail will help a newbie like me.
Thanks.
homershines
In "blog-data.php" which is located in pec_templates/nova-blue, replace this (I think it's line 45):
<?php echo $bp->get_content(); ?>
with the following:
<?php
echo $bp->get_content_cut();
echo '<a href="' . $pecio->blogpost_url($bp) . '">Read the rest of this post...</a>';
?>
Thanks.
That really changes things.
This CMS is really good and it's just a few steps away from great. Thanks again.
homershines
How do I add an external script, like a gallery to Pecio?
Thanks.
homershines
That really depends on the script you want to include. Usually you only have to include the PHP file via include('filename.php'). You might use the new PHP Code plugin to do that.
Checking In
Just checking in.
Working on a new site that might be great with Pecio.
Any developments on Multiple Templates or the Read More News Option yet?
Thanks.
homershines