• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not planned Assign custom pages to an addon

EQnoble

Well-known member
#1
As per the title I feel like it could be a benefit to allow custom page nodes to be assigned to an addon if that is at all possible.
 

sonnb

Well-known member
#2
Do you want assign a forum/category to addon also? I do not think this is necessary. Addon itself can create an custom node on installation.
 

EQnoble

Well-known member
#3
No my instance is this...


I have an addon.... after some action is completed I have a callback function that triggers an overlay that uses ajax to grab the contents of the page nodes template

<a id="clicker" href="{xen:link pages/testOverlay}" class="OverlayTrigger">

unless there is some way that I can call a template into an overlay within html, I pretty much can't do what I need to do.
 

EQnoble

Well-known member
#5
I dont think i should need to do all that....I have a sidebar element...it has a timer...when it reaches 0 there is a js callback function...I just need an overlay to get triggered....why would I need to create a controller and route prefix for that?....it will never be viewed directly and only ever viewed from that overlay
 

xf_phantom

Well-known member
#8
I dont think i should need to do all that....I have a sidebar element...it has a timer...when it reaches 0 there is a js callback function...I just need an overlay to get triggered....why would I need to create a controller and route prefix for that?....it will never be viewed directly and only ever viewed from that overlay
you could also use the proxy system, extend e.g. the misc controller and add your own action method there.
Then you won't need to create a new route prefix and route class.