Adding tags to sNews CMS

Updated February 3rd, 2009, please read this entry for the updated tutorial.



Like this post?
Did you find this post useful? Do you have something to add? Why not leave a comment below and add to the conversation, or subscribe to my RSS feed and get posts like this delivered automatically to your feed reader.



Comments

RSS Comments Feed


Piotr's Avatar


You also have to replace POST with GET here in snews.php:

case isset($_POST['search_query']):
search(); return; break;

replace with:

case isset($_GET['search_query']):
search(); return; break;


After this the search should work fine.

Matt's Avatar


Oops, looks like I left that out, you are correct Piotr! I'll update now, thanks for pointing it out.

jlhaslip's Avatar


Very nice, and I see that you have both the Related Articles and the Tag Mod set up here.
Quite impressed. karma++.

Matt's Avatar


Thanks jlhaslip, yes, I've got all my mods running on here, and then a few extra I haven't written tutorials on yet ;P


(optional, not publicly displayed) (optional)
Commenting Tips:
DO post comments that add to the conversation.
Don't use keywords for your name. Use "Anonymous" if you don't want to post your real name.
Don't post URLs unrelated to the topic.

Site News

About Matt

Privacy Policy | About Me
Copyright © 2002 - 2012 Matt Jones
Hand crafted with HTML5 & CSS3
↑ Back to top