TechDelavente Posted April 26, 2013 Share Posted April 26, 2013 (edited) Hello everybody, I come here today because im trying to put some configuration for my blockcart module modified. Right now i would like to be able to configure a text input which affect directly a footer in my blockcart. blockcart.tpl <div class="block_footer_border1"> </div> <p class="block_footer_text"> Footer Text </p> </div> I started to put the configuration value in my blockcart.php But i don't really know how to interact with my template file : Blockcart.php $blockcartfooter = strval(Tools::getValue('blockcart')); if (!$blockcartfooter || empty($blockcartfooter) || !Validate::isGenericName($blockcartfooter)) $output .= $this->displayError( $this->l('Invalid Configuration value') ); else { Configuration::updateValue('blockcart', $blockcartfooter); // In function getContent() ---------------------------------------- <label>Configuration Value</value> <div class="margin-form"> <input id="blockcart" class="" type="text" size="150" value="Free Shipping WorldWide" name="blockcart"> </div><div class="clear"></div> //In function displayForm() If you can help me on that it will be really kind. Thank you, Regards. Edited April 26, 2013 by TechDelavente (see edit history) Link to comment Share on other sites More sharing options...
svstore Posted April 26, 2013 Share Posted April 26, 2013 Hello, I am getting error while installing " Your PHP sessions path is not writable - check with your hosting provider: C:\Windows\Temp\ " " PHP parameters: PDO MySQL extension is not loaded " Please Help saurabh. [email protected] 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