WebSite X5Help Center

 
Ashish Purmanund
Ashish Purmanund
User

How to add commercial scripts in the pages  en

Autore: Ashish Purmanund
Visite 1563, Followers 1, Condiviso 0  

I use scripts from www.phpjabbers.com 

or other scripts and the codes to be installed in the pages are like those given below.

How to place them in WebsiteX5 Evolution 13?

Thank You.

There are two easy ways to put the newsletter subscription form on your website.

1) Using iframe code - just copy the code below and put it on your web page where you want the subscription form to appear.

<iframe src="http://www.website.net/newsletter/preview_newsletter_form.php" width="100%" height="300px" frameborder="0" scrolling="auto"></iframe>

2) Using PHP include() - you can use a PHP include() in any of your PHP pages. Edit your .php page and put the code below where you want the subscription form to be.

<?php include("/home/website/public_html/newsletter/subscribe_newsletter_form.php"); ?>

At the top of the php page (first line) you should put this line of code too, so captcha image verification can work on the subscription form.

<?php session_start(); ?>


There are two easy ways to put the news script on your website.

1) Using iframe code - just copy the code below and put it on your web page where you want the news to appear.

<iframe src="http://www.website.net/newsletter/preview.php" width="100%" height="700px" frameborder="0" scrolling="auto"></iframe>

2) Using PHP include() - you can use a PHP include() in any of your PHP pages. Edit your .php page and put the code below where you want the news to be.

<?php include("/home/website/public_html/newsletter/news.php"); ?>

Optionally in the head section of the php page you could put(or replace your meta tags) this line of code, so meta title and meta description will work for better searching engine optimization.

<?php include("/home/website/public_html/newsletter/meta.php"); ?>

Postato il
1 RISPOSTE
Pavel M.
Pavel M.
User

The first way is easier - add the specified lines to the "HTML code" object and everything is ready.
In the second way, you need to change the extension of the pages to PHP, which is sometimes uncomfortable if the site is already in the search for a long time.

Leggi di più
Postato il da Pavel M.