XF 1.4 Is there a way to open a template in an overlay

Crazy-Achmet

Well-known member
Hi everybody,

in my opinion it must be a very simple thing i would like to do.

I've created a new template called "question_single". Now i would like to have a link somewhere, that opens an overlay with exact that template.

Is there a way to do it without an addon? I don't care about the route / url structure, i just want to display that template in an overlay. ;)

Would be great if someone could help me. :)

Thanks a lot so far.

All the best

Florian
 

Crazy-Achmet

Well-known member
Thanks, but i know that! :) I have the problem with the other part. I don't know how to get my custom template into the overlay / href part. ;)
 

Russ

Well-known member
Thanks, but i know that! :) I have the problem with the other part. I don't know how to get my custom template into the overlay / href part. ;)
Have you tried creating a page with your html from the template on it, then link to the page using the OverlayTrigger class?
 

Crazy-Achmet

Well-known member
Have you tried creating a page with your html from the template on it, then link to the page using the OverlayTrigger class?
Ok, i could do that, thanks! I've thought there would be a better way to display my template.
 
Top