This content has been marked as final. Show 8 replies
> Hi i have a table which i only want to show if users are in australia
> can i do something like this maybe uing ip address?
see if this helps:
Thanks, i have uploaded the cfc but cant get it to display
> Thanks, i have uploaded the cfc but cant get it to display
> also how would i code it something like this?
> <cfif #thisCountry# is 'Australia'>show table One<cfelse>show table Two</cfif>
looks like you didn't put the inet jar on your cf classpath. try copying it to:
/cfusionMX/wwwroot/web-inf/lib (standalone cf install). might need to stop,
re-start the cf server service.
Hi i havnt got access to this directory as its a hosted server,
can i not somehow put it in my root folder?
also i will use <cfif thisC is 'Australia'>show table one pricing<cfelse>show table two pricing</cfif>
what i would like is table two has pricing in GBP can i use some sort of local to change the currency for differnet users in different countries?
> Hi i havnt got access to this directory as its a hosted server,
> can i not somehow put it in my root folder?
use mark mandel's javaLoader CFC or the remote classpath method outlined in that
zip, where you'll also find example code. as long as you can use createObject
you should be good to go.
hi yes but not sure how to do it, there is a link in the zip file
which does not show any instructions
how do you use the remote classpath?
> how do you use the remote classpath?
same as you would the regular one just use the CFC named
remoteclasspath_geoLocator instead. it's all in the zip file.
HI i have tried that but get this error, any ideas what i need to do?