New WordPress / Joomla Modules News, Site News |
I wasn’t happy with the look of the sidebar module written by joomladeveloping because it didn’t quite looke like it belonged. It was after all a module designed after the layout of the WordPress side bar. So I decided to modify it, breaking it up into junks, and tailoring these junks so that they looked like Joomla! modules. You can see them on the right of the page: Archives, Categories, and I’m Watching. There are others which are hidden, such as Admin.


April 11th, 2008 at 8:23 pm
Hello
I’m trying out your “Recent Comments” module for the mojoblog and was wondering if there is a way either through the interface or to hard code a module class suffix?
Thanks
Greg
April 15th, 2008 at 8:04 am
Sure. Just add new parameter to the modules xml file along side the other parameters…
Give it a param name=”moduleclass_sfx” type=”text” default=”" label=”Module Class Suffix” and that should do it.
April 22nd, 2008 at 9:24 pm
hey there-
i’m using your sidebar2 module, thanks for making this available. i’m using it in conjunction with mojo blog.
i have one question, though, about it. it seems that whenever i make a post that includes an embedded link, the posts below it in the side bar “break”, by which i mean the grey dot that indicates a different post is gone and the posts become jumbled and the description text changes in size when rolled over.
i’d also like to be able to adjust the padding between posts.
could you point me in the right direction toward solving this problems?
thanks a bunch.
April 24th, 2008 at 8:45 am
Hi Joshua. To be honest, of all my modules, the sidebar module is the one I never use, as you probably notice from my own site. I broke the original sidebar down into chunks - noteably recent posts, categories, admin, latest comments, archives, etc.
However, when I get time, I’ll take a look at sidebar for you.
edit: I don’t even seem to be hosting the old sidebar module any more. Is it really sidebar you are referring to? or is it perhaps recent posts or recent posts 2?
April 24th, 2008 at 9:10 am
Hi Joshua. So on the assumption that you are referring to rposts2, I’ve tweaked that module to handle embedded links. However, there is one issue remaining there - you are able to choose the maximum size of the summarised post, and if you have a link that starts before this maximum size but ends after that maximum size, then that link will be poorly formed and will break the module. Until I have time to code a workaround for that, I suggest that you make sure that you set your summary large enough to cope.
ps. the tweaked version is available to download.
April 25th, 2008 at 8:30 pm
hey there-
first, thanks for your quick response.
yes, your assumption was correct, i am using the rposts2. now, i am going to make an assumption and re-download the module, install it and then follow your instructions about the links in the title/brief post description.
hey, just like to say thanks again.
May 5th, 2008 at 10:12 pm
hello. nice work with all these. I am getting the following error:
Warning: Invalid argument supplied for foreach() in /export/home/webs/okaystage/htdocs/modules/mod_mojo_rposts2.php on line 53
you can see it here:
http://www.okayplayer.com/index.php?option=com_mojo&Itemid=134
i am not sure what that top error is as well. i posted on joomlify.
cheers
dan
May 6th, 2008 at 12:00 pm
Hi Dan. If I recall correctly - this was discussed on the old joomlify forum, and it doesn’t look like Kevin has imported the old forum posts into his rebuilt site, but it’s related to the version of mysql that is installed, where a function is missing or something like that. The workaround was remove the where date less than now clause in the select, as this function doesn’t work with some versions of mysql. In theory, with the latest version of my recent posts module, all you’d have to do was tell the module to display future posts (set that parameter to Y) and it won’t use that bit of SQL anyway, which saves hacking the SQL to remove it.
May 19th, 2008 at 7:37 am
Ooh, I dunno Deepak. I see you been discussing this with Kevin… if he can’t get you up and running, nobody can.
I’ve never had much luck getting friendly URLs to play entirely nicely with mojo or jd-wp. They only ever seem to work up to a point. That said, it’s never broken any of my Joomla modules before.
Do you have caching switched on in Joomla. Sometimes that can break friendly URLs.
May 19th, 2008 at 6:38 pm
Deepak,
As far as I can tell, the ffSEF mambot rewrites the permalinks in mojo blog component so that Joomla understands them? Whilst that might well work, thereby allowing you to enable permalinks which until now were unsupported in mojo. However, my modules, like any Joomla module, do a lookup in the database tables and pull out post ids and titles for use in say, recent posts. It then builds up a normal, joomla URL, based on those IDs, so that Joomla can open the relevant post in the Mojo component. If you enable permalinks, then the URL that Mojo expects is going to be significantly different to the URL that is written by my module, since it’s a regular Joomla style URL.
It’d take a bit of effort on my part to rewrite these modules such that they’d generate permalinks instead of joomla urls. When I have some time, I’ll try to figure out what is required to do so, but unfortunately I don’t have a lot of free time these days, so it may not be for a while.