Free Addon: Simple Blog

Hi All,

We are glad to announce the release of our new free add-on “Simple Blog”!

Simple Blog Functionality add-on add blog functionality base on pages to your CS-Cart online store by listing pages child’s from a specific page.

image-1_jd1o-wd.png

UPDATES:
June 27 2014
[!] Delete image when page is deleted

Compatibility: 4.0.x / 4.1.x / 4.2.x / 4.3.x / 4.4.x / 4.5.x / 4.6.x / 4.7.x / 4.8.x / 4.9.x
Demo: hungryweb.net/demo/blog
Download: hungryweb.net/simple-blog

Please feel free to ask any questions!

Best regards,
CSA010

Valentin
part of hungryweb.net

Thank you Vali a lot :)

You are welcome

I get this error



Error[color=#B94A48]Incorrect add-on structure. The uploaded pack cannot be installed[/color]

Hi,

Please try do download again from the website, the filename should not have dot's into it and need to have extension [color=#ff0000].zip[/color], create a new order and download





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Does have a .zip same issue.


You can install an add-on by picking a tgz,gz,zip format archive and clicking Upload & install.




Please check how you save the file on you PC, should be
hw_simple_blog-hungryweb-cs-cart-addon-v4x.zip






Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

I do and its only 15kbs in size

@Gizmo i found the issue and solved, please try to download again from our website





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Hi;



We've added the blog block to our content pages as a side bar general and can't get it to show up…?

Hi

Please follow video https://www.youtube.com/watch?v=XbjQkfIJUxA

Blog cannot be uses as a block!



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

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

Also is it possible to adjust the about of space between items?

Also to adjust the amount of text being shown with the thumbnails.

Also not to have a thumbnail show up at all. If I don't have a photo, I'd just liek the text, not the default no image to show.

[quote name='JackConnick' timestamp='1398970271' post='182752']

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

[/quote]

Hi Jack,



Please change into the file [color=#ff0000]app/addons/hw_simple_blog/controllers/frontend/pages.post.php[/color]



#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

[color=#808080][size=2]part of hungryweb.net[/size][/color]

how to display the list of blogs that are attached thumbnails outside the home

Yes, basically I want to include some content page links to non-cs-cart content pages. What happens is the linked page shows up as a content page with nothing but the title, rather than properly going to the outside link, or in this case to a couple of html pages I wrote of products specs.



Jack

Sorry my write wrong

Hi,

I discover a bug into the add-on, on the server is already updated and bellow you will find the fix



#create file
app/addons/hw_simple_blog/controllers/backend/pages.pre.php


#with content```php


if (!defined('BOOTSTRAP')) { die('Access denied'); }
use Tygh\Registry;
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
//delete
if ($mode == 'm_delete') {
if (isset($_REQUEST['page_ids'])) {
foreach ($_REQUEST['page_ids'] as $page_id) {
fn_delete_image_pairs($page_id, 'page', 'M');
}
}
}

}
if ($mode == 'delete') {
if (isset($_REQUEST['page_id'])) {
fn_delete_image_pairs($_REQUEST['page_id'], 'page', 'M');
}
}
```

Regards,

---
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]