google-code-export / digitalus-cms

Automatically exported from code.google.com/p/digitalus-cms
1 stars 1 forks source link

- With Fix - Search module doesn't made proper links for sites that they have another root rather than domain. #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create the indexes using the search module on a site which has a /diff_root/
2. browse the results on the public (view) side.
3. links forgot the /diff_root/

What is the expected output? What do you see instead?

The links working :P

What version of the product are you using? On what operating system?
1.10

Please provide any additional information below.

For fix this issue under 
$link = strtolower(Digitalus_Toolbox_String::addHyphens($link));
(line 22) I put the following:

$link=preg_replace('/^\//', '',
Zend_Controller_Front::getInstance()->getBaseUrl().'/'.$link);

Low, I also like to mention that I extended this class and make it working
with blogs, if you are interested in that, I could send or attach this.

Thanks for doing this possible ;)

Original issue reported on code.google.com by soyplaym...@gmail.com on 30 May 2010 at 6:52

GoogleCodeExporter commented 9 years ago
Hello soyplaymobil,

thanks for Your fix.

What do You mean with that You "make it working
with blogs"?

I am interested in Your extende class.
You can attach it here or send it directly to me per email.

Thanks,
LT.

Original comment by lowtower1974@gmail.com on 4 Jan 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Hello Low, I report this issue using another email address.

I already sent two attach with extensions.

Thanks.

Original comment by jailb...@gmail.com on 6 Jan 2011 at 4:28

GoogleCodeExporter commented 9 years ago
Hello Javier,

never received Your attachments.

Could You please resend them?

Thanks,
LT.

Original comment by lowtower1974@gmail.com on 20 Jan 2011 at 7:34

GoogleCodeExporter commented 9 years ago
sure Low, I tough you receive them

Original comment by jailb...@gmail.com on 25 Jan 2011 at 12:12

Attachments: