# |
Sep 11th 2009, 18:41 |
wesley_unipac |
O volume na unidade C não tem nome. |
# |
Sep 11th 2009, 18:41 |
wesley_unipac |
C:\Arquivos de programas\Apache Group\Apache2\htdocs>dir |
# |
Sep 11th 2009, 18:41 |
biscazziere |
unclezoot: just Occam's razor :) |
# |
Sep 11th 2009, 18:41 |
wesley_unipac |
C:\Arquivos de programas\Apache Group\Apache2>cd htdocs |
# |
Sep 11th 2009, 18:40 |
unclezoot |
thanks for both your help |
# |
Sep 11th 2009, 18:40 |
Valiant64 |
NetTalk: are you in control of the admin panel? You basically have to build out the language sets for each piece of text and variable reference it, then control it either via cookies or a user db entry |
# |
Sep 11th 2009, 18:40 |
unclezoot |
thought i was calling compact when i wasnt |
# |
Sep 11th 2009, 18:40 |
unclezoot |
biscazziera and Admad, you are both right, i was being a chimpanzee |
# |
Sep 11th 2009, 18:40 |
ADmad |
unclezoot: you are getting what you are passing... look at line 16 of your pastebin again |
# |
Sep 11th 2009, 18:39 |
biscazziere |
maybe better var_dump |
# |
Sep 11th 2009, 18:39 |
NetTalk |
<Valiant64>I just need to know the best way to manage multilanguage web contents through admin panel ? |
# |
Sep 11th 2009, 18:39 |
biscazziere |
unclezoot: debug() is your friend |
# |
Sep 11th 2009, 18:39 |
justskills |
solved! |
# |
Sep 11th 2009, 18:38 |
ADmad |
sounds odd |
# |
Sep 11th 2009, 18:38 |
unclezoot |
ill triple check the variables come out in the view now |
# |
Sep 11th 2009, 18:38 |
unclezoot |
so i try to use a plugin helper by doing $myhelper->myaction($x) and it comes out in the helper as 'x' |
# |
Sep 11th 2009, 18:37 |
biscazziere |
unclezoot: are you sure that variables are set as you expect in the view? |
# |
Sep 11th 2009, 18:37 |
unclezoot |
when i try to pass variables into a plugin helper via a controller view, the plugin helper doesnt receive the variables properly |
# |
Sep 11th 2009, 18:36 |
biscazziere |
but js validation should never improve security |
# |
Sep 11th 2009, 18:36 |
ADmad |
unclezoot: i cant understand your issue |
# |
Sep 11th 2009, 18:36 |
biscazziere |
server side validation is always mandatory, client side js validation is optional, it can improve performances (less requests) and user experience |
# |
Sep 11th 2009, 18:36 |
Valiant64 |
wesley_unipac: can you LS your dir structure and pastebin it? |
# |
Sep 11th 2009, 18:35 |
Hiall |
Yea but its kinda pointless spending so long purely over validation :P |
# |
Sep 11th 2009, 18:35 |
Valiant64 |
biscazziere: yes, very true.. or use IE 4.0 lol |
# |
Sep 11th 2009, 18:35 |
Valiant64 |
Hiall: lol! well I'm sure there are many ways to do it |
# |
Sep 11th 2009, 18:35 |
biscazziere |
Valiant64: or simply turn javascript off from browser |
# |
Sep 11th 2009, 18:35 |
Hiall |
I'm just going to do it in the controller like you suggested first :D |
# |
Sep 11th 2009, 18:34 |
Valiant64 |
Hiall: not code, per say, but variables.. which could bypass your validation |
# |
Sep 11th 2009, 18:34 |
Hiall |
Hmmn good point |
# |
Sep 11th 2009, 18:34 |
wesley_unipac |
Valiant64; the cake is the folder with the files from the site? in my case within the htdocs folder of apache? |
# |
Sep 11th 2009, 18:34 |
Valiant64 |
Hiall: well, anyone could send code through via custom Get's or Posts from their own sites |
# |
Sep 11th 2009, 18:34 |
Hiall |
that they can overwrite the js? |
# |
Sep 11th 2009, 18:33 |
Hiall |
Hmmmn how do you leave a security hole? |
# |
Sep 11th 2009, 18:33 |
Valiant64 |
Hiall: The only thing with leaving validation to JS, is that you create an open security hole, which can be hacked. |
# |
Sep 11th 2009, 18:32 |
jjwdesign |
Set it based on $params['named']? |
# |
Sep 11th 2009, 18:32 |
Valiant64 |
wesley_unipac: i'm not sure what ur problem is. all i can really help out with is to check your paths, you can pastebin it: http://pastebin.com/ |
# |
Sep 11th 2009, 18:32 |
justskills |
there must be a way |
# |
Sep 11th 2009, 18:32 |
wesley_unipac |
? |
# |
Sep 11th 2009, 18:32 |
unclezoot |
that's within my pluginhelper when i do a debug |
# |
Sep 11th 2009, 18:31 |
unclezoot |
so $js becomes 'js' for example |
# |
Sep 11th 2009, 18:31 |
unclezoot |
Admad, ive tried but im missing somethin. this is my code -> http://pastebin.com/m592c89cb, basically, when i pass in parameters into my plugin.helper the variables turn into the variables' names, instead of the values |