Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Free Addon: Simple Blog Rate Topic   * * * * - 5 votes

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 02 March 2014 - 05:22 AM #1

*
POPULAR

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

Edited by Hungryweb, 03 February 2019 - 05:59 AM.


 
  • medical
  • Advanced Member
  • Members
  • Join Date: 14-Sep 13
  • 96 posts

Posted 07 March 2014 - 11:47 AM #2

Thank you Vali a lot :)

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 18 March 2014 - 10:17 AM #3

You are welcome

 
  • Gizmo
  • Junior Member
  • Members
  • Join Date: 05-Jan 09
  • 143 posts

Posted 23 March 2014 - 07:52 PM #4

I get this error

ErrorIncorrect add-on structure. The uploaded pack cannot be installed
[center]www.vapeking.co.za[/center]

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 24 March 2014 - 04:23 AM #5

Hi,
Please try do download again from the website, the filename should not have dot's into it and need to have extension .zip, create a new order and download

---
Valentin
part of hungryweb.net

 
  • Gizmo
  • Junior Member
  • Members
  • Join Date: 05-Jan 09
  • 143 posts

Posted 24 March 2014 - 05:15 AM #6

Does have a .zip same issue.
[center]www.vapeking.co.za[/center]

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 24 March 2014 - 05:56 AM #7

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
part of hungryweb.net

 
  • Gizmo
  • Junior Member
  • Members
  • Join Date: 05-Jan 09
  • 143 posts

Posted 24 March 2014 - 06:16 AM #8

I do and its only 15kbs in size
[center]www.vapeking.co.za[/center]

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 05 April 2014 - 10:04 AM #9

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

---
Valentin
part of hungryweb.net

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 29 April 2014 - 09:18 PM #10

Hi;

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

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 30 April 2014 - 07:13 AM #11

Hi
Please follow video
Blog cannot be uses as a block!

I hope that helps,

---
Valentin
part of hungryweb.net

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 01 May 2014 - 06:51 PM #12

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

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 01 May 2014 - 06:56 PM #13

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

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 01 May 2014 - 07:02 PM #14

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

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 01 May 2014 - 07:10 PM #15

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.

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 02 May 2014 - 04:07 AM #16

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

 
  • phungdiep
  • Member
  • Members
  • Join Date: 08-Feb 14
  • 28 posts

Posted 06 May 2014 - 08:05 AM #17

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

 
  • JackConnick
  • Senior Member
  • Trial users
  • Join Date: 03-Jun 12
  • 306 posts

Posted 07 May 2014 - 12:51 AM #18

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

 
  • phungdiep
  • Member
  • Members
  • Join Date: 08-Feb 14
  • 28 posts

Posted 21 May 2014 - 04:10 AM #19

Sorry my write wrong

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1265 posts

Posted 27 June 2014 - 06:24 AM #20

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
part of hungryweb.net