Hi there,
I'm trying to configure the Tagcloud plugin (2.6.2) with CMS 1.5.1.
It all works how I want it to with the exception of the URLs it lists on the search results page for any content that resides in the news module.
What it does is leave out a piece of the URL, so when a user clicks on it, they get a 404.
For example, clicking on the word 'Health' in the tagcloud yields a list of results, including content from within the news module. So, one of the results that comes up is 'Australian Health Care' and the URL looks like this: /news/38//Australian-Health-Care/
If I use the search module to search for the term 'Health' I get the same results, but the URL works properly: news/38/21/Australian-Health-Care/ (as you can probably see, the tagcloud results have omitted the /21/ in the URL).
This seems to be an odd problem, as the tagcloud plugin uses the search module to display it's results. Has anyone else had a similar issue, and found a solution?
Thanks,
Nick.
Tagcloud News URL Problem
Re: Tagcloud News URL Problem
Did you do an upgrade?... did it work before under what ver. of cmsms when installed? did you just install it thru Module Manager?...
Re: Tagcloud News URL Problem
Hi Mark,
Thanks for your reply.
It's a new install, still being developed. It's not the tagcloud module, (this isn't compatible with 1.5.1) it's the tag/plugin function.tagcloud.php.
Thanks,
Nick.
Thanks for your reply.
It's a new install, still being developed. It's not the tagcloud module, (this isn't compatible with 1.5.1) it's the tag/plugin function.tagcloud.php.
Thanks,
Nick.
Re: Tagcloud News URL Problem
OK how about turning off the pretty url stuff and see if the link improves, then I would go thru the PHP file and start marking spots in it to find what does what and then find where it's not calling the 22...
Re: Tagcloud News URL Problem
Thanks Mark, good suggestion.
Tried it with mod_rewrite turned off, and when I clicked on the link in the search results it took me into the admin and threw this error message: string(43) "Smarty error: eval: missing 'var' parameter"
My PHP knowledge is pretty rudimentary, so I'm not really sure what to look for in the plugin. By the look of the error code it seems to be a missing variable that Smarty requires. The message is a bit vague, as it doesn't say which file is throwing the error.
I'm sure it must be a trivial problem, but finding the cause is always the killer!
Nick.
Tried it with mod_rewrite turned off, and when I clicked on the link in the search results it took me into the admin and threw this error message: string(43) "Smarty error: eval: missing 'var' parameter"
My PHP knowledge is pretty rudimentary, so I'm not really sure what to look for in the plugin. By the look of the error code it seems to be a missing variable that Smarty requires. The message is a bit vague, as it doesn't say which file is throwing the error.
I'm sure it must be a trivial problem, but finding the cause is always the killer!
Nick.
Re: Tagcloud News URL Problem
What did the link say?...
Re: Tagcloud News URL Problem
The problem regards the return id. Obviously you got some problems with that. The code uses the default id (by default), which means you have to define one page in the admin area as default page. Normally that should be the case, if I remember right cmsms handles your first added page as default page. Then the return id will be mapped to that page. Otherwise you should also test the parameter in your tagcloud. That will map the return id to the id of the calling page....
Regards
Johann
Code: Select all
returnid="ID"
Regards
Johann