Deutsch > Allgemeine Fragen

Nach Update auf Joomla 3.4 wechselt Menu und Content erst nach zweitem Klick

<< < (2/8) > >>

Harald Leithner:
Nein die doppelten Abfragen sind egal.

Das Problem ist das ich für 3.4 die Spracherkennung selber mache und anscheinend nicht immer mitbekomme wenn die sprache geändert wird...

Ich versuch das Problem nachzustellen.

Harald Leithner:
Programmierst du auch?

Also wenn ich dich bitte im jdiction module code einzufügen und mir die Ausgabe zu Posten geht das?

Sandra:
Ich bin Laie. Habe mich bis jetzt in Joomla nur an die Templates gewagt. Aber ich will es gerne versuchen.

Harald Leithner:
Es ist nichts besonderes es geht nur darum das danach die Seite kaputt sein könnte wenn man was falsch macht. deswegen immer backup machen.

Ich bräuchte nur die Ausgabe von


--- Code: ---print_r([$_REQUEST, JFactory::getApplication()->input]);
--- End code ---
Und zwar müsstest du das in libraries\jdiction\helpers\detect.php in Zeile 37 gleich nach Funktions Beginn von detectLanguage einfügen und dann die spreche wechseln und die verschieden ausgaben posten.

danke.

Sandra:
Hier was ich erhalte:


--- Code: ---Array ( [0] => Array ( [lang] => de [Itemid] => 101 ) [1] => JInput Object ( [options:protected] => Array ( ) [filter:protected] => JFilterInput Object ( [tagsArray] => Array ( ) [attrArray] => Array ( ) [tagsMethod] => 0 [attrMethod] => 0 [xssAuto] => 1 [tagBlacklist] => Array ( [0] => applet [1] => body [2] => bgsound [3] => base [4] => basefont [5] => embed [6] => frame [7] => frameset [8] => head [9] => html [10] => id [11] => iframe [12] => ilayer [13] => layer [14] => link [15] => meta [16] => name [17] => object [18] => script [19] => style [20] => title [21] => xml ) [attrBlacklist] => Array ( [0] => action [1] => background [2] => codebase [3] => dynsrc [4] => lowsrc ) ) [data:protected] => Array ( [lang] => de [Itemid] => 101 ) [inputs:protected] => Array ( [cookie] => JInputCookie Object ( [options:protected] => Array ( ) [filter:protected] => JFilterInput Object ( [tagsArray] => Array ( ) [attrArray] => Array ( ) [tagsMethod] => 0 [attrMethod] => 0 [xssAuto] => 1 [tagBlacklist] => Array ( [0] => applet [1] => body [2] => bgsound [3] => base [4] => basefont [5] => embed [6] => frame [7] => frameset [8] => head [9] => html [10] => id [11] => iframe [12] => ilayer [13] => layer [14] => link [15] => meta [16] => name [17] => object [18] => script [19] => style [20] => title [21] => xml ) [attrBlacklist] => Array ( [0] => action [1] => background [2] => codebase [3] => dynsrc [4] => lowsrc ) ) [data:protected] => Array ( [d30c7cd8640ecd112a7c028144293c7f] => es-ES [54aaf909c249c7f6ed1cd41de1c13e25] => cfqpolvrc4p3q92qr50geub575 [635ff30d1eaeaea8d6c9cfaeba53a66d] => pbn7lhimo6i2kikugcnsgmfft7 ) [inputs:protected] => Array ( ) ) ) ) ) Array ( [0] => Array ( [lang] => de [Itemid] => 101 ) [1] => JInput Object ( [options:protected] => Array ( ) [filter:protected] => JFilterInput Object ( [tagsArray] => Array ( ) [attrArray] => Array ( ) [tagsMethod] => 0 [attrMethod] => 0 [xssAuto] => 1 [tagBlacklist] => Array ( [0] => applet [1] => body [2] => bgsound [3] => base [4] => basefont [5] => embed [6] => frame [7] => frameset [8] => head [9] => html [10] => id [11] => iframe [12] => ilayer [13] => layer [14] => link [15] => meta [16] => name [17] => object [18] => script [19] => style [20] => title [21] => xml ) [attrBlacklist] => Array ( [0] => action [1] => background [2] => codebase [3] => dynsrc [4] => lowsrc ) ) [data:protected] => Array ( [lang] => de [Itemid] => 101 ) [inputs:protected] => Array ( [cookie] => JInputCookie Object ( [options:protected] => Array ( ) [filter:protected] => JFilterInput Object ( [tagsArray] => Array ( ) [attrArray] => Array ( ) [tagsMethod] => 0 [attrMethod] => 0 [xssAuto] => 1 [tagBlacklist] => Array ( [0] => applet [1] => body [2] => bgsound [3] => base [4] => basefont [5] => embed [6] => frame [7] => frameset [8] => head [9] => html [10] => id [11] => iframe [12] => ilayer [13] => layer [14] => link [15] => meta [16] => name [17] => object [18] => script [19] => style [20] => title [21] => xml ) [attrBlacklist] => Array ( [0] => action [1] => background [2] => codebase [3] => dynsrc [4] => lowsrc ) ) [data:protected] => Array ( [d30c7cd8640ecd112a7c028144293c7f] => es-ES [54aaf909c249c7f6ed1cd41de1c13e25] => cfqpolvrc4p3q92qr50geub575 [635ff30d1eaeaea8d6c9cfaeba53a66d] => pbn7lhimo6i2kikugcnsgmfft7 ) [inputs:protected] => Array ( ) ) ) ) )
Warning: Cannot modify header information - headers already sent by (output started at /home/[...]/libraries/joomla/cache/controller/callback.php:177) in /home/[...]/libraries/joomla/input/cookie.php on line 85
--- End code ---

Hoffe, das hilft weiter. Jetzt bleibt die Sprache bei Spanisch hängen, auch wenn ich zwei Mal auf Deutsch klicke (oder Französisch).

Vielen vielen Dank!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version