# How to Install #### #### Intro
##### Welcome to the installation tutorial for the eCard Widget, a dynamic simple digital business card solution designed for seamless integration with your website. The eCard Widget allows users to create and embed a personalized, interactive business card that includes their profile picture, contact details, social media links, and more, all in a visually appealing format that can be iframed elsewhere. Whether you're a developer or a site owner, this guide will walk you through the steps to set up and deploy the eCard Widget, ensuring that it works smoothly and integrates effortlessly with your existing platform. Follow the instructions below to get started and provide your users with a professional and customizable way to share their contact information online. PS: If you installed this addon before, you will need to delete all files and start from zero because I redesigned the links and menu in a way that makes more sense to users. The demo is in our community at **[ScriptsTribe, Click here to visit and If you need help reach me out there.](https://community.scriptstribe.com/widgets)** E.g: users will need to click on the widget menu and choose what they want to use, I did it that way because if in te future you buy any other widget from me you will not need to add too many links in the menu. that a look at the last picture here and you will understand. this tutorial is in your folder but if in the future you need to reinstall you can also find it online **[by clicking here](https://howto.scriptstribe.com/books/wowonder-business-card/page/how-to-install/)**. **[](https://howto.scriptstribe.com/uploads/images/gallery/2024-10/YoZvxC6SQIQZzOjf-widget2.png)** - ##### **Red is for wowonder theme** - ##### **Blue is for sunshine theme** --- #### **Step 1** 1. ##### Upload the files following the zip structure 2. ##### Upload the api.php file to the root directory of your site #### **Step 2: Open and edit root files first** ##### Open .htaccess and Add ``` # **** BUSINESS CARD WIDGET**** # **** WIDGETS**** RewriteRule ^widgets(/?|)$ index.php?link1=widgets [QSA] RewriteRule ^widgets/ecard(/?|)$ index.php?link1=ecard [NC,QSA] RewriteRule ^widgets/get-ecard(/?|)$ index.php?link1=get-ecard [NC,QSA] ``` ##### Open index.php and add around page 892 ``` case 'widgets': include('sources/widgets/widgets.php'); break; case 'ecard': include('sources/widgets/ecard.php'); break; case 'get-ecard': include('sources/widgets/get-ecard.php'); break; ``` #### **Step 3: Edit theme files** ##### **For Wowonder theme: open themes/yourtheme/layout/timeline/content.phtml and look for around line 1305** ``` ``` ##### **For Sunshine Theme around line 1442** ```