Hi

I am working on a site which does not have clean URLs enabled.

I output a link like :

<a class="colorbox-node" href="http://mydomain.com/?q=/node/141">View notes</a>

On the page the link becomes :

<a href="/colorbox/?q=/node/141" class="colorbox-node colorboxNode-processed">View notes</a>

which obviously doesn't work.

Any ideas or alternate approaches.

Happy New Year - for tonight ;-)

CommentFileSizeAuthor
#3 colorbox_node-fixCleanUrls.patch698 bytesmirko.perillo

Comments

iLLin’s picture

Need to adjust the js rewrite accordingly, get a patch and I'll work it in

iLLin’s picture

Status: Active » Closed (won't fix)

I doubt I will do this so if anyone else wants to have at it, feel free.

mirko.perillo’s picture

StatusFileSize
new698 bytes

Hi,

I fixed the issue of page not found when clean-urls are disabled.
I fixed it on the dev branch

In attachment the patch

Let me know if everything goes right

malcomio’s picture

Issue summary: View changes
Status: Closed (won't fix) » Needs review

changing status to needs review because of the patch above - it works for me, although it's not in the right format

not yet tested on a clean URLs site though

iLLin’s picture

Status: Needs review » Fixed

Committed: http://drupalcode.org/project/colorbox_node.git/commit/4b3f725

Made some changes as it broke the clean url's aspect.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.