Mizi91 Posted October 21, 2011 Share Posted October 21, 2011 Dobrý den, kde je umístěn formulář, který se zobrazuje při odesílání objednávky neregistrovaného uživatele? (DOMENA.CZ/authentication?back=order.php%3Fstep%3D1) Potřebuji docílit toho, že zaškrtávací pole 'Přihlásit se k odběru novinek' bude implicitně zaškrtnuté (tzn. pokud ho zákazník nezruší, bude přihlášen k odběru novinek) Předem děkuji za odpověď. Mizi91 Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted October 21, 2011 Share Posted October 21, 2011 /theme/tvoješablona/authentication.tpl Tohle: <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} /> Nahraď tímto: <input type="checkbox" name="newsletter" id="newsletter" value="1" checked /> Mělo by to fungovat na 1.4+ Link to comment Share on other sites More sharing options...
peter_m Posted October 21, 2011 Share Posted October 21, 2011 - Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted October 21, 2011 Share Posted October 21, 2011 Copak Petře, už sis ten block_newsletter zapnul? Link to comment Share on other sites More sharing options...
Mizi91 Posted October 21, 2011 Author Share Posted October 21, 2011 Zvláštní, mám verzi PrestaShop 1.4.4.0 a nic se nezměnilo. V souboru authentication.tpl se tento řádek vyskytuje dvakrát, ale změnil jsem ho v obou případech. Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted October 21, 2011 Share Posted October 21, 2011 Tak ještě zkus v identity.tpl Link to comment Share on other sites More sharing options...
Mizi91 Posted October 21, 2011 Author Share Posted October 21, 2011 Upravil jsem to v: authentication.tpl indentity.tpl order-opc-new-account.tpl a nic :-D Na 100% to upravuji v použité šabloně. Nemusí se udělat nějaký "reindex" podobně jako u některých úprav v Drupalu? Link to comment Share on other sites More sharing options...
berka.pavel Posted October 21, 2011 Share Posted October 21, 2011 zkus promazat složky tools/smarty/compile a cache (nemaž indexy) Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted October 21, 2011 Share Posted October 21, 2011 Hlavně zapnout Force Compile. Link to comment Share on other sites More sharing options...
Mizi91 Posted October 23, 2011 Author Share Posted October 23, 2011 Děkuji, stačilo zapnout Force Compile :-) Link to comment Share on other sites More sharing options...
peter_m Posted October 24, 2011 Share Posted October 24, 2011 Copak Petře, už sis ten block_newsletter zapnul? ano uz som to zapol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now