Jump to content

Recommended Posts

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 :)

 

 

Link to comment
https://forums.phpfreaks.com/topic/146367-noob-to-zencart/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.