Advocatus Posted November 16, 2014 Share Posted November 16, 2014 (edited) I would like to rename Short Description to Description and rename Full description to Size Chart http://iforce.co.nz/i/txk1c53e.es0.jpg Is this the correct file to edit http://iforce.co.nz/i/fd14v3tq.laz.jpg I'm using the millennium theme and using cPanel to search for the file. When I look at the code I see this: <div id="wrapper"> {if $product->description_short} <div class="accordionButton" id="open" >{l s='Short description'}</div> <div class="accordionContent" itemprop="description"> {$product->description_short} </div> {/if}{/if} {if isset($product) && $product->description} <div class="accordionButton">{l s='Full description'}</div> <div class="accordionContent"> <!-- full description --> {$product->description} I have highlighted the code in red, that I think I need to change, but is there any other code I will need to change? I prefer to make sure I'm doing it correctly. Also, where do I change the code for the Product Comments? I would like to rename Product Comments to Reviews. Any help would be very much appreciated. Edited November 17, 2014 by Advocatus (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 17, 2014 Share Posted November 17, 2014 Instead of modifying it directly in the template you might as well do it from the back office translations. Localization, translations. Select your template and front office, then the language (even if it's English only). Same for the comments module, but select installed modules translations instead of front office 1 Link to comment Share on other sites More sharing options...
Advocatus Posted November 17, 2014 Author Share Posted November 17, 2014 Thank you for your awesome help Nemo!!! When I select installed modules translations for the comment section I got this message. "Warning! Your PHP configuration limits the maximum number of fields allowed in a form:1000 for max_input_vars. Please ask your hosting provider to increase this limit to 2448 at least, or you will have to edit the translation files." I'm assuming I will need to contact my will hosting provider to see if they will increase the limit or could you tell me which file I will need to edit? Link to comment Share on other sites More sharing options...
NemoPS Posted November 17, 2014 Share Posted November 17, 2014 If you can access you php.ini file, add this line at the end max_input_vars = 4000; Or, first, look if max_input_vars is there already, and change the value (make sure there is no # sign in front of it, and remove it if there) 1 Link to comment Share on other sites More sharing options...
Advocatus Posted November 17, 2014 Author Share Posted November 17, 2014 (edited) Thank you for your help again Nemo. I was not able to access php.ini file, but I created php.ini within the admin123 folder and added this line "max_input_vars = 10000" which fixed the problem.Should I rename the file to something like zphp.ini or delete it after using it in case of any potential security problems? Edited November 18, 2014 by Advocatus (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 19, 2014 Share Posted November 19, 2014 Should be no issue as long as it works 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