Ajaxify links Yes No

teoyh

Member
Hi can i check if we are able to control Ajaxify links during runtime

If the referer url is from another address then Ajaxify links = no but if the referer url is the same as the list address then Ajaxify links = yes
 
Which link do you mean exactly - element custom link, edit-link in list?

How does your workflow look like in terms of "referer url is from another address"?
 
Which link do you mean exactly - element custom link, edit-link in list?

How does your workflow look like in terms of "referer url is from another address"?

i have am referring to the edit-link in list which i had set it to open in popup

For some reason i am not able to run list php plugin in popup window
 
It would be good to get the php plugin run properly rather than making this kind of workaround.

Of course you could e.g. replace list edit button with your own, then get the document.referrer and depending on that have either regular link or Fabriks modal link on your buttons click event.

The code could be in list_xx.js
 
It would be good to get the php plugin run properly rather than making this kind of workaround.

Of course you could e.g. replace list edit button with your own, then get the document.referrer and depending on that have either regular link or Fabriks modal link on your buttons click event.

The code could be in list_xx.js
I had check there is no list_xx.js put in place for that list is that any where that i can check ?
 
Ok i eventually figure out just need to add the following to the template default.php
defined('_JEXEC') or die('Restricted access');
FabrikHelperHTML::script(FabrikHelperHTML::framework());
FabrikHelperHTML::iniRequireJS();
FabrikHelperHTML::windows('a.myFabWin');

then in the body content ;
i just add the href
echo '<a href="www.iluvfabrik.com" class="myFabWin" >Click here</a>';
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top