Tags as Blog Categories
|
30 posts
|
Maybe I missing something or this feature isn't implemented, but is there a way to auto generate tags as links to pages or blog posts with those tags (similar to blogger's labels)? |
|
541 posts
|
The tags are not yet fully implemented ... you can tag them, but the search by tag is not yet done, but will not be so hard to be done ... |
|
18 posts
|
Has anybody already find a way to do this? |
|
18 posts
|
Is there anyone who can help me on this... I need it very urgently... The purpose of it is using it to tag jobs a company posts on his website and then use it to filter the jobs... This way a user can find quickly the job he is looking for... |
|
83 posts
|
blog categories are easily done with the page structure i think! |
|
1493 posts
|
The slightly frustrating thing is that it is just as Philippe said in #2, above: the It would probably not take long to get this function up-and-running ... IF you knew what you were doing with PHP and mySQL, and knew the Frog code-base.... :/ |
|
18 posts
|
This is kind of my problem too... I know PHP and MySQL but i'm fairly new to Frog and don't have the time to search myself and work this out... If only a day had 48 hours :) |
|
1493 posts
|
@jonas ("If only a day had 48 hours") - too true! Wouldn't it be great to be able to have a tag page like this one? And if all this was implemented, then Bdesign could produce a tag-cloud plugin :) ... etc., etc. I took a little stab at trying to produce a simple list of tags, but alas! even that was beyond me. The standard "Articles" page will produce a tag list for each article but I haven't managed to extrapolate from that yet. Maybe Philippe will have mercy! :) |
|
651 posts
|
@David & Jonas - I took a quick stab at this as a plugin... a very simplistic version can be got from the URL below. It will probably not be too much of a problem to expand this to include a tag page like the one you linked to above. Download my tag plugin here. Tell me what you think... |
|
18 posts
|
Thanks mvdkleijn, I will try it out right away... |
|
651 posts
|
A side note... it doesn't actually produce links (yet)... ;-) |
|
18 posts
|
Can you give me an idea of how to do this, or is it a lot of work.... |
|
1493 posts
|
Hi MvdK! That was nice, fast work! At first, I got nothing. Then I discovered why. You could replace lines 15 and 31:
With the following:
I made a little tags page (hidden from nav) so you can see how well it worked, once I removed the db prefix! I can think of a tweak or two when you get the time or interest: sort order, alphabetical, by frequency, etc. Have you thought have a way to get from the page_tag ID to the page link info? This is a great start! Thanks so much! |
|
651 posts
|
@David - I knew I forgot something... I hard-coded my table name in there and forgot to remove it. (quick-n-dirty development) ;-) I corrected this in my source. Since I have a little time right now, I'm just looking to see if I can get a link in there to a page with an overview of all pages for that tag. Afterwards, I'll see about your tweaks. :-) |
|
1493 posts
|
Another tiny tweak on line 31:
The "native" sort order was the database table order; that sorts it from most-used tag to least-used. I'm sure with a little head-scratching I could work out how to "soft-code" that ... but no time just at the moment. The major break-through will be the links, of course. We're counting on you, MvdK! :) No pressure, of course. |
|
651 posts
|
the last TABLE_PREFIX isn't necessary as you're referencing a field, not a table in your order by sequence... anyway, I'll put in a softer sort order in the next version. I was doing this in between stuff to do at my day job, so I haven't payed too much attention to the links yet. Working on it now though. I'll probably make it a Behaviour similar to the Archive pages. |
|
18 posts
|
Can't wait to see the result MvdK. When I have some more time I will certainly try to help developing this cms... It is the first time I used it, and I love it all the way. Just need to have a look in the code to see how it all works... |
|
1493 posts
|
@mvdkleijn - thanks for the correction! An earlier version was throwing errors (I had @Jonas - glad you're enjoying Frog. It's good to see the community growing! |
|
109 posts
|
I made a tag cloud plugin so if anyone interested. Download Here |
|
651 posts
|
Just tried it. Unless I'm mistaken, there's essentially no difference with my plugin except for the layout of the output? |
|
343 posts
|
This plugin generates links to the articles/pages with the specific tags?I've made a tags plugin, but I have little problem with the links. |
|
109 posts
|
You are by all means correct, at the moment i am working on a tags page so that the plugin will load the articles with the selected tag. Like the one in wordpress, also i read that tags and comments will be removed from core, does this mean that tags won't be available in 0.93, i would like to know so that i can make my plugin more robust to manage tags aswell. |
|
18 posts
|
As from what I know the tags and comments will be removed from the core and will be available as plugin. Maybe if possible we should make a plugin that will extend the tags plugin |
|
109 posts
|
I'm still trying to work out how the core work and all the database features available to me, but i'm getting there. I worked out how to do it, its just getting the functions correct to do it. Yeah i think it would be a good idea to extend the tags plugin, I like FrogCMS because its flexible, i would like a feature where i can hide pages from the client so they can only edit text areas on certain pages as some clients wont understand php. I noticed that TinyMCE plugin which seems like a good start. |
|
651 posts
|
@Bdesign & easylancer - I'm also working on a tags plugin. The only real problem I'm having is to figure out how I can have the plugin append content it generates to the page without having to use snippets or in-page code. @easylancer - hope you don't mind, I shamelessly stole a line or two out of your plugin and added a displayTagCloud function to mine. I also made it a little more flexible layour wise... You can find version 0.0.3 of the tags plugin here: (http://www.vanderkleijn.net/public/downloads/plugins/tags/tags-v0_0_3.zip) |