Lyften Bloggie - SEF Fix !!! - Forums

Items per page:

Showing 1-7 of 7 items

Please understand; this is what I have done to fix MY installaion of Lyften Bloggie. I have NO IDEA of what consequence this could bring in the future, or what impacts this may have else where in Lyften Bloggie. I just know that this works FOR NOW, FOR ME!!

I do not know the author nor communicate with him/her. If you choose to modify your code because of this or one of my previous posts, you do so on your own free will. Again, I do not know what repercussions they may or may not have. Do this at your own risk.

This ONE FIX should fix all modules in Lyften Bloggie that are broke because of SEF.

In Joomla I have SEF, mod_rewrite, and suffex all check YES.

Edit File:

/components/com_lyftenbloggie/router.php 

Change Line 38   
if (!isset($query['view']) && !isset($query['id']) && !isset($query['catid']) && isset($query['Itemid'])) {
to
if (isset($query['view']) && isset($query['id']) && isset($query['catid']) && isset($query['Itemid'])) {


Change Line 60
&& !isset($item->query['id']))
to
&& isset($item->query['id']))

Notice all I did was remove the Exclam points (!)

your best bet would be to copy the line, and paste it right below itself, edit the second line and comment out the first one. Example below.

// && !isset($item->query['id']))
&& isset($item->query['id']))

The // tells php to skip this line. This way the origional code is still there incase this creates conflicts in the future.

THANK YOU SO MUCH!

 

 This fixed the issue on my site. I was not happy with the fact that I was going to have to remove this blog and put another in its place.

 

Again, thank you!!!!

ok, but the install of 1.0.4 when i look for this file it is no longer there???so, where's the router.php file???

This is a beautiful fix for this major problem! Thanks Codex Cool

You can see at :

com_lyftenbloggie/helpers/route.php


[bbgood 2009-11-06 09:54:18]:
ok, but the install of 1.0.4 when i look for this file it is no longer there???so, where's the router.php file???

Great stuff!! I made a change to the code witin the helper.oho file referencing the SEF section within the Componant helper file; however, this only patially worked and displayed the links back to fornt:

 

http://localhost/*category*/blog when it should be:

http://localhost/blog/*category*

 

I'm so happy that you have found a way to get around the error, now I can use the categories module!!!

 

 

Hi I got this error aftermaking this fix with Bloggie 1.0.4

 

Parse error: syntax error, unexpected $end in /home/site/public_html/components/com_lyftenbloggie/router.php on line 472

 

rgds

 

Edit:

 Fix this with a overwrite of all files from the new 1.0.4 and will see if this fix can make it work with categories module and all other modules that doesnt work with SEF..


 

Items per page:

Showing 1-7 of 7 items