peuge Posted February 22, 2009 Share Posted February 22, 2009 Hey all, 1)Can someone please explain what the % sign does. For example: define('EMAIL_TEXT_INTRO', 'Your friend, %s, thought that you would be interested in %s from %s.'); 2)What does the $column_box_default do and where is it set? 3) Here is my major question. Just been messing around with ZenCart and wondering how this works? includes\modules\sideboxes\tell_a_friend.php Am I correct in saying that the above file requires the tpl_tell_a_friend.php file? Then what does this do? require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); includes\templates\template_default\sideboxes\tpl_tell_a_friend.php In this file it creates the form, and am I correct that it sends the email address to the page below? If not then where does it send it to? And if so then please explain where the actual email is sent? What file? includes\languages\english\tell_a_friend.php Thanks for any help Quote Link to comment https://forums.phpfreaks.com/topic/146367-noob-to-zencart/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.