Developer forum

Forum » Feature requests » Include with absolute paths

Include with absolute paths

Jesper Holm Damgaard
Reply

Hi guys

 

After an update to 8.3 almost all of my Includes fail. For some reason the mapping seems to be working different. Would it be possible to use absolute paths to include files?

 

Now I have this:

!--@Include(../../../Extranet/espresso-login-modal.html)--

 

It would be nice if I could do this:

!--@Include(/Files/Templates/Extranet/espresso-login-modal.html)--

 

Then I wouldn't have to worry about my include failing when upgrading to newer versions.

 

Good vibes,

Jesper


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Jesper

 

We did have an include issue with 8.3.0.0 - it should be fixed with the hotfx 2. If this is not the case, let me know and we will fix it.

 

Using absolutes - great idea, and I have heard it before. I've put in our backlog (TFS#12981) for 8.3.1

 

BR Nicolai

 
Jesper Holm Damgaard
Reply

Hi

 

I still have issues on 8.3.0.2 - It looks like the includes are mapped in a different order. Adding "../" to my include paths seems to fix the problem in most cases. I don't know how or why - anyways, the problem is still there in 8.3.0.2

 

Looking forward to the absolute paths in 8.3.1

 

Good vibes,

Jesper