Topic: Feature check, just before I move from Frog CMS.

Hi there,

Been watching the Wolf CMS project with some interest for a while now, I would ideally like to think about migrating to your system, but there's one feature I need from Frog that I fear may hold me back.

I am still on Frog 0.9.4 so I would need to upgrade to 0.9.5 first, I am aware of this.

Basically I'm looking for a category feature that would allow me to group blog posts by one category only. At the moment I am using a modified tagger plugin to allow me to do this, but couldn't get the modifications to work with the 0.9.5 version of tagger (my php isn't brilliant).

Does a category plugin exist for Wolf CMS, or would I have to use Tagger as intended or abandon categories altogether? sad

Thanks guys and keep up the great work, I'm pleased to see the progress made in a few short months.

Thumbs up

Re: Feature check, just before I move from Frog CMS.

This may help. It's works for both, Frog 0.9.5 and Wolf 0.5.5.
Advanced Find

For the upgrade, you can go straight from Frog 0.9.4 to Wolf 0.5.5.

Wolf CMS Paper Guy
Wolf CMS related blog / journal at Project 79 | Wolf CMS Docs

3

Re: Feature check, just before I move from Frog CMS.

Valeska wrote:

Basically I'm looking for a category feature that would allow me to group blog posts by one category only. At the moment I am using a modified tagger plugin to allow me to do this, but couldn't get the modifications to work with the 0.9.5 version of tagger (my php isn't brilliant).

Does a category plugin exist for Wolf CMS, or would I have to use Tagger as intended or abandon categories altogether? sad

Hi Valeska - welcome to the Wolf forums! wink

What Jackie pointed you to might solve your problems -- I hope so! But I'm not 100% clear on what your goal is. Do you have several "blog" (archive) "trees" in your site, and you want to aggregate them? (in which case "Advanced Find" is what you want) Or just that you have some posts you want grouped by a single category? or... something else? There is generally more than one way to do these jobs, and if you tell us more, maybe we can think with you about different solutions.

Also, there is "native" version of Tagger for Wolf that I am using intensively (and happily) on a Wolf 0.5.5 site, so that might be worth knowing, too.

Do come back to with some further clarifications if you're interested! Hope this helps in the meanwhile.

Re: Feature check, just before I move from Frog CMS.

Guys, thanks for the help, I'll do my best to explain what I am after a little better.

Probably easier to look actually. I use a modified tagger plugin at the moment to group blog posts by category, as seen on my homepage

Basically I am not using the tag cloud,  as I only use one tag on the blog post, and then  I make a list the tags on my articles page.

I have no doubt that Tagger for Wolf could be modified for this purpose, but since its no doubt based on 0.9.5 I wouldn't know how!

Thanks again for the lovely welcome.

Thumbs up

5

Re: Feature check, just before I move from Frog CMS.

Hi again, Valeska -

I had another look at the pages you linked (very nice site, btw!), and I can't see anything there that would be a problem for Wolf.

Maybe it helps to point out again that Wolf 0.5.5 is an (almost) direct clone/fork of Frog 0.9.5 (you can see the precise changes in the changelog.txt file). If you're thinking about migrating, have a look at the notes in the wiki. I would recommend, though, not waiting too long, as the two CMS's will diverge more and more, beginning with 0.6.0.

If I'm missing something obvious, do ask again! Maybe I haven't had enough coffee yet today! wink

Last edited by David (2010-01-09 12:15)

Re: Feature check, just before I move from Frog CMS.

Yeah decided to upgrade. It's just a case of when now.

I understand that Wolf is very similar to Frog 0.9.5 - for the moment. The problem being that I am using Frog 0.9.4 and a modified tagger so I can only show the one applicable tag for each blog post. From memory 0.9.5 tagger lists all tags used on every post or a set amount of tags. I've tried to make it more like a category system. Less like a tag cloud. 

You're therefore unable to list only the one applicable tag. It will just list the very first one. This feature stopped ne upgrading Frog originally so I imagine it would be the same with Wolf.  sad

Will probably have to forgo this very useful feature so I can upgrade to something better smile

Last edited by Valeska (2010-01-09 18:46)

Thumbs up

7

Re: Feature check, just before I move from Frog CMS.

Valeska wrote:

... I am using Frog 0.9.4 and a modified tagger so I can only show the one applicable tag for each blog post. ...
Will probably have to forgo this very useful feature so I can upgrade to something better smile

Hopefully you can upgrade and not forgo anything! wink

You don't actually need Tagger to use tags in displaying pages. (Tagger has many useful functions, though, and I use it a lot!) Have a look at this example in the wiki. It gives sample code for how to list pages having only a given tag. Would that meet your needs?

Re: Feature check, just before I move from Frog CMS.

Thanks David.

I think the only way to know for sure is for me to give a go. I will try a new wolf install and have a play, see if I can get what I want to work, not sure I can explain it any better than I am so I'll try and test it out before I try it on my live environment big_smile

Thanks for your help! May be in touch once I am up and running smile

Thumbs up

Re: Feature check, just before I move from Frog CMS.

Hello again.

Just had a go at installing a fresh Wolf CMS install for comparision, looking good so far, and I am starting to think about how easily I can migrate my two sites.

I have had some trouble finding a working tagger plugin though. Using the link I found on this site, once I enable the plugin in wolf admin it gives me nothing but 404 errors, no tagger admin page as I'd expect, can you shed any light on this David maybe point me in the direction of a working link?

Thumbs up

10

Re: Feature check, just before I move from Frog CMS.

Hi Valeska -

Glad things are going well so far. I'm a bit puzzled about the link to "Tagger-for-Wolf", though. The one up in post #3 (to Github) is working fine for me, in several browsers...

I've put a copy of "tagger4wolf.zip" on the Wolf Resources page anyway, so you can grab it there. If you don't see it on the page linked (you should!), just choose the "Files" link on the right and have a look there.

Let us know how you get on!

Re: Feature check, just before I move from Frog CMS.

Thank you, you've been extremely helpful smile

That seemed to do the trick.. Maybe I didn't have the most recent version.

Now to give it a nice big test to see if I can do what I want it to!

Thumbs up

Re: Feature check, just before I move from Frog CMS.

So sorry to keep bothering you, but you've been so helpful... having some further trouble with tagger.

On my test installation, here are the articles I have with the tags associated with them:

http://www.pioneerproject.net/stuff/wolf-tagger-1.jpg

But on the articles pages (if I request only one tag is used), it does not list the one that the article is associated with:

http://www.pioneerproject.net/stuff/wolf-tagger-2.jpg

As you can see I have tagged "My third article" with "tag 1" yet it's showing "tag 3". Does my problem make sense? And if so does anyone know how to fix it?

Thumbs up

Re: Feature check, just before I move from Frog CMS.

what's the code you used to display the tag?

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

Re: Feature check, just before I move from Frog CMS.

Ah just this...

<?php tagger('list', true, 1); ?>

I can only assume its just listing the most recent first category rather than showing me which one I've actually chosen for the article.

Thumbs up

15

Re: Feature check, just before I move from Frog CMS.

Have you tried it without the final "1"?

Re: Feature check, just before I move from Frog CMS.

Yeah that just lists all the tags...

Thumbs up

Re: Feature check, just before I move from Frog CMS.

I had a short look through the code since its not mine and that's exactly what that function is supposed to do. It just lists all the tags in the order in which they exist in the DB. Adding the "1" to the function just tells it to limit its results to one tag. (not very useful that, I guess)

Sounds to me you simply want something like this: (didn't check this would work though)

<?php
    $tagger = new Tagger($this, null);
    $pages = $tagger->pagesByTag('your-tag-here');
    foreach ($pages as $url => $title) {
        echo '<a href="'.$url.'">'.$title.'</a><br/>';
    }
?>

Which *should* produce a bunch of links to pages tagged with 'your-tag-here'. smile

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

Re: Feature check, just before I move from Frog CMS.

Thank you mvdkleijn.

David was able to point me in the direction of the correct code. I must have missed it in the documentation, and because my Frog install is using an older version which didn't have that ability.

I've now been able to solve the issue I was having with Tagger, and can happily move to Wolf CMS.

I'll make my first steps tomorrow by upgrading to Frog 0.9.5 smile

Thumbs up

Re: Feature check, just before I move from Frog CMS.

Quick update!

Upgraded my dev site to Wolf this evening, just testing it now, but very, very happy with the results so far, took about 30 mins to move to Wolf in it's entirety.

Can't see any problems - yet. But thank you all so much for your help.

If I am feeling particularly brave I may try my live site too!

Edit: Just updated my live site too! Relatively easy going, some of the old comments are displaying slashes around apostrophes though even with magic quotes off, any idea why this might be? New comments seem to work fine, will I have to go back and edit all my comments to fix this? sad

Last edited by Valeska (2010-01-20 20:59)

Thumbs up

Re: Feature check, just before I move from Frog CMS.

Congratulation! smile And welcome to the Wolf pack... wink

No idea why the slashes are there. Maybe an artifact of the migration? If its a few comments, you could change them manually... otherwise you could try to:

- SELECT all comments with \" from the DB,
- put them in a file,
- use the "search and replace all" feature of your favourite text editor to replace \" by ",
- UPDATE ... WHERE in the DB with the new strings.

Shouldn't take too long unless your first SELECT coughs up 1000+ comment entries. smile

Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.