This is the first issue I have submitted/reported, so please bear with me.
I have set up an alias for a page as products/product1. But, when clicking the print or email link on the page it generated the path as "http://example.com/products/print/products/product1.html". Resulting in a "Page not found".
On line 217 of print.module i have changed it from: 'href' => PRINT_PATH .'/'. $path, to 'href' => $base_url . '/' .PRINT_PATH .'/'. $path,. And the same thing in print_mail.module on line 152.
Will this have any unforeseen adverse effects?
thanks.
Comments
Comment #1
jcnventuraThe links work perfectly, and they certainly don't require the $base_url prepended to them. Something in your site is re-writing the URLs to make them have a .html suffix. You have to find out what's doing that, and stop it..
I am assuming that the link itself is pointing to "http://example.com/products/print/products/product1" as it should (look at your browser's status bar while hovering over the link). If not, then something is wrong somewhere else.
Comment #2
jcnventuraNo further info in two weeks. Closing the issue.