emma57573 Posted November 18, 2008 Share Posted November 18, 2008 Im in the process of adding tags to my site to manage the shopping areas This is the site to give you an idea misi.co.uk At the moment the items are placed into categories but what Im going to do is get the user to choose a category and then enter some tags to go with it. So you are able to browse/search through tags within each category. Im fine with getting users to insert the tag code into MYSQL Im thinking more on the lines of how to manage the search/browse function and what is the best way around it. Does anyone have links to some good tag tutorials? Or links to sites that use tags to manage their categories that I could look at? Tags are becoming increasingly popular but I cant seem to find any infomation on them from a coding point of view. Im not 100% sure how to best go about it. Quote Link to comment https://forums.phpfreaks.com/topic/133174-using-tags-in-php/ Share on other sites More sharing options...
MasterACE14 Posted November 18, 2008 Share Posted November 18, 2008 I'm not sure about how this is coded, I'm assuming with a SELECT query using LIKE, but I'm not really sure. When you mentioned websites that use tags. The Garrys Mod website comes to mind. http://garrysmod.org/ It uses a Tag system with the tags constantly changing order and font size depending on what are the most searched tags. It's a fairly good example. Quote Link to comment https://forums.phpfreaks.com/topic/133174-using-tags-in-php/#findComment-692596 Share on other sites More sharing options...
emma57573 Posted November 18, 2008 Author Share Posted November 18, 2008 Thank you for that example, that is exactly the type of thing that I'm thinking. A tag cloud at the top of each category page in order of the most popular tag first. Its just good to know what I'm doing before I go and code it as its quite a big change to the site and I want to get it 'right'. I suppose it would be very similar to the search function I have that searches through titles/descriptions within the category. If anyone has anymore examples I would find that extremely useful Thanks Quote Link to comment https://forums.phpfreaks.com/topic/133174-using-tags-in-php/#findComment-692610 Share on other sites More sharing options...
MasterACE14 Posted November 18, 2008 Share Posted November 18, 2008 you probably can use your current search function you have with some minor changes, and make a text file or something, where you can store tags and links for the tags that users have input when searching. Then use the tags to do what is on garrysmod website. Quote Link to comment https://forums.phpfreaks.com/topic/133174-using-tags-in-php/#findComment-692616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.