Hi;
This seems to be very nice and I appreciate you having it be a free add-on. It will help us organize our content pages.
One small bug (?); it will display pages in the blog section whether or not they are disabled or hidden. We often will want to hide something while we update it.
Thanks,
Jack
Hi Jack,
Please change into the file
app/addons/hw_simple_blog/controllers/frontend/pages.post.php#replace
$blogs = db_get_array('SELECT a.page_id, b.page as title, b.description as full_description, b.meta_description as short_description, a.timestamp FROM ?:pages a
JOIN ?:page_descriptions b ON a.page_id = b.page_id AND b.lang_code = ?s
WHERE a.parent_id = ?i
ORDER BY a.timestamp DESC'.
$limit, CART_LANGUAGE, $_REQUEST['page_id'] );
#with
$blogs = db_get_array('SELECT a.page_id, b.page as title, b.description as full_description, b.meta_description as short_description, a.timestamp FROM ?:pages a
JOIN ?:page_descriptions b ON a.page_id = b.page_id AND b.lang_code = ?s
WHERE a.parent_id = ?i AND a.status = ?s
ORDER BY a.timestamp DESC'.
$limit, CART_LANGUAGE, $_REQUEST['page_id'], 'A' );
I also update the version on
hungryweb.net---
Valentin
part of hungryweb.net