Guten Abend,
ich habe eine kurze frage ich habe ein Testimonial Script gekauft und nun will ich es einbinden nur bekomme ich jedesmal nur eine weiße Seite woran kann das liegen ?
So sieht meine Test.html Datei aus:
<html>
Hallo willkommen auf meiner seite ...
<link rel=”stylesheet” href=”http://www.meinedomain.de/bw/css/testimonials.css” type=”text/css” />
<?php include('http://www.meinedomain.de/bw/fadereview.php');?>
</html>
Das ist die Anleitung:
Adding Testimonial to your page
Add the testimonials from your admin panel and go to pending section and approve the testimonials
before you proceed with further steps.
First of all you need to add few testimonials in the admin panel and then later you just need to copy
the following code and place it in your page, Make sure the page should have a .php extension else
the script will not work.
<?php include('testimonials/fadereview.php'); ?>
Make sure you put the correct path for this. If you are using a different directory then use a ../ for
correct paths of the testimonials directory. For example if am using it for a site which is in a sub
directory as http://www.domain.com/subdomain/index.php and your script is located in
http://www.domain.com/testimonials then you can write the code in index.php as below. Add ../ for
a single sub directory and if two sub directories are there then use two ../../
<?php include('../testimonials/fadereview.php');?>
For single Random rotating on page refresh use the below code
<?php include('../testimonial/randomreview.php');?>
If you want to display all the testimonials then use
<?php include('../testimonial/testimonials.php');?>
The script rotates the testimonials on every refresh of the page and it takes random testimonials
from the database.
Make sure you add the following stylesheet to the page where you are using the testimonials to
display either random or any.
<link rel=”stylesheet” href=”../testimonials/css/testimonials.css” type=”text/css” />
For using the form where users can submit the testimonials by themselves then redirect them to
addnew.php page that’s it. But it will be accepted only when admin approves it from admin area.
Ich bitte um Hilfe.
Mit freundlichen Grüßen
Haro