Problem/Motivation

If drupal is installed in subdirectory this module does not work. Like www.xxx.ss/ahoj

It adds /ahoj/ahoj/admin/entity_reference_tree.... by default when you try to click on popup so there is message in logs "Page not found"

so instead of /ahoj/ahoj/admin/entity_reference_tree... it uses only /ahoj/admin/entity_reference_tree...

How to get rid of duplicated prefix?

CommentFileSizeAuthor
#3 entity_reference_tree-3437801-3.patch1.31 KBmingsong

Comments

coaston created an issue. See original summary.

mingsong’s picture

Related issues: +#3382842: Hard coded paths
mingsong’s picture

StatusFileSize
new1.31 KB

The patch to fix this issue.

@coaston, could you try the patch and let me know if it works for your case?

mingsong’s picture

Status: Active » Needs review
coaston’s picture

Status: Needs review » Reviewed & tested by the community

Hello,

Thank you! Your patch works as expected and finally I can use drupal in subdirectory as requested.
Much appreciated.

  • 8fe64b88 committed on 2.x
    Issue #3437801 by Mingsong: Drupal in a subdirectory
    
mingsong’s picture

Status: Reviewed & tested by the community » Fixed

Thanks.

Status: Fixed » Closed (fixed)

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