Jump to content

looeee

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by looeee

  1. Great, thanks. I saw that in the readme - my question was related to hitting the update button in the module settings rather than during the initial install. Does the same hold there?
  2. Great thanks! The comments manager is just what I was looking for. To make it it a bit more integrated I just moved the "Comments Manager" page from /admin/setup to /admin/blog, which doesn't seem to have caused any problems. A couple of things: to get widgets from the sidebar to display on non-blog pages, the module has to be called on every page: //CALL THE MODULE - MarkupBlog $blogOut = $modules->get("MarkupBlog"); I've just added it to the top of my sidebar.inc for the time being, I'll have to refactor my code a bit in the future to stop it being called twice on blog pages. Second, to get posts to show only an excerpt, in the template files change the line: $content .= $blogOut->renderPosts("limit={$limit}"); to $content .= $blogOut->renderPosts("limit={$limit}", $small=true); Currently it looks like the excerpt length is hardcoded to 450 characters - perhaps adding an option for people to set this themselves would be a good idea? In the meantime, for anyone that wants to change this, find the line $summary = strip_tags(substr($page->blog_body, 0, 450)); in MarkupBlog.module and set it to whatever you want. Great work, I'm getting more impressed the more time I spend with it!
  3. I've just installed Kongondo's awesome new blog module (highly recommended by the way). It creates a number of new templates along with associated template files, which I promptly changed to match my site. This got me thinking: if I update a module which has created templates, and in the meantime I've changed those templated, is it possible for the update to overwrite my changes?
  4. That's amazing - the very day I decided to put a blog on my site, this gets uploaded! Thank you so much! I've installed it and incorporated it into my site with surprising ease. The only issue I've had is with comment moderation - how do I do it? There's no option in the blog admin. EDIT: I found it - edit the post that the comment is on and the section for approving comments is at the bottom. Guess I should have watched the video tutorials!
  5. For anyone having trouble with the break/continue error: It's related to these lines in the MarkupLoadGCal.module file // filter out events that started before the requested time // these will be multi-day events that span into the requested time if($from && $a->from < $from) continue; and for the time being I've gotten around it by commenting out that line and displaying all events from a week in the past on: $fromDate = date('Y-m-d', strtotime("-1 week")); This was my desired behaviour anyway so it should not cause any problems, so long as events are not longer than a week.
×
×
  • Create New...