If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Simple Blog Script

Simple Blog Script

Started by val_ent on 11 Jan 2012, 11:22 AM · Views: 2,217

Results 1 to 12 of 12
11 Jan 2012, 11:22 AM
#1
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Simple Blog Script

Hi, after searching for a blog script that integrates with Zen Cart that works the way I want, I had no joy so decided to create my own blog script.

You can download the script and view it working from here:
http://linux-distro.co.uk/blog.html?post=2

Hope this is usefull to somebody.

Regards
Jim Valentine

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

11 Jan 2012, 1:14 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Simple Blog Script

Pretty easy to install, and seems to work fine.

This is a very simple blog project with almost no admin options (that I could find) and no external stylesheet.

One problem: if you want to allow comments on your posts, clicking the Comments link reveals that you must log in to comment, but there's no way to do that, or to create an account.

This project may have possibilities down the road, but for now, Numinix's Wordpress integration still seems like the best way to integrate a blog into Zencart.

11 Jan 2012, 1:32 PM
#3
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

stevesh:

Pretty easy to install, and seems to work fine.

This is a very simple blog project with almost no admin options (that I could find) and no external stylesheet.

One problem: if you want to allow comments on your posts, clicking the Comments link reveals that you must log in to comment, but there's no way to do that, or to create an account.

Hi, I agree it has has a long way to go before it becomes a really usefull script.

As for the login part, it displays the comment form when you are logged into the zen cart store as a customer.

I will be adding a comment as a guest part at some point later on when I can get round to adding the captcha and the option to hide comments in the admin untill they are varified.

Also thanks for pointing out that it has no external style sheet, a little detail that I have overlooked that would make it easier to integrate to the users store front

Cheers
Jim

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

11 Jan 2012, 1:51 PM
#4
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

Update: I have changed the text at the bottom of the comment page so it now says:

Please Log In or Register to post a comment.

With links to the Zen Cart Login/Register pages, to make it a bit clearer where to sign up.

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

11 Jan 2012, 6:58 PM
#5
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Simple Blog Script

This looks like it has some serious potential. Please keep working on it.

The best way to learn is to try stuff. But, back it up first.

11 Jan 2012, 7:49 PM
#6
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

Thank you for comments, I will get it as polished as I can.

Just a note, if anybody has any sugested features that they would like to see included with this contribution please let me know and I will see what I can do.

Jim

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

11 Jan 2012, 8:21 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Simple Blog Script

Once you've started assigning version numbers, please submit the addon to the Free Addons download section.
Offsite hosting of addons should only be for development/collaboration purposes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jan 2012, 8:37 PM
#8
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

DrByte:

Once you've started assigning version numbers, please submit the addon to the Free Addons download section.
Offsite hosting of addons should only be for development/collaboration purposes.

Hi, not a problem, once I have ironed out a few of the glitches that I have noticed in the script I would be happy to assign a version number and submit it to the Free Addons secion.

Regards
Jim

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

13 Jan 2012, 12:42 PM
#9
atemp avatar

atemp

New Zenner

Join Date:
May 2011
Location:
Harrogate, UK
Posts:
33
Plugin Contributions:
0

Re: Simple Blog Script

Hi I was just wondering if there was a way to add hyperlinks to some of the text. Other than that perfect simple and sweet

13 Jan 2012, 4:12 PM
#10
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

atemp:

Hi I was just wondering if there was a way to add hyperlinks to some of the text. Other than that perfect simple and sweet

Hi at the moment there is only the option to have HTML style links i.e. <a href="somedomain.com/somepage.html">Link Text</a>

On the next release I will be adding a simple WYSIWYG editor for ease of use (with the option to edit in plain text as well)

Hope this helps.

Jim

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress

13 Jan 2012, 10:51 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Simple Blog Script

val-ent:

On the next release I will be adding a simple WYSIWYG editor for ease of use (with the option to edit in plain text as well)
Perhaps you might consider allowing it to share whatever editors are in the /editors/ folder?
Or perhaps at least CKEditor as it's the recommended addon for adding WYSIWYG for the admin to share.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Jan 2012, 11:01 PM
#12
val_ent avatar

val_ent

New Zenner

Join Date:
Jul 2008
Location:
Kent, UK
Posts:
42
Plugin Contributions:
0

Re: Simple Blog Script

DrByte:

Perhaps you might consider allowing it to share whatever editors are in the /editors/ folder?
Or perhaps at least CKEditor as it's the recommended addon for adding WYSIWYG for the admin to share.

That would make sense as it would save a bit of web space, uploads and updating scripts.

TheVDM - Personal site
Linux Distro UK - Reviving
Books 'n' DVDs - Work in progress