All Fixed. Please ignore my previous posts.
Printable View
http://www.internationalentertainmen...stimonials.jpg
How can move the Add My Testimonial text? I looked at the php file but I dont know how to move it down with code.
open includes/templates/YOUR_TEMPLATE/css
testimonials_manager.css
display_all_testimonials.css
remove the image reference from the following rules
blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/lftblockquote.png) top left no-repeat;
border:1px solid navy;
height:1%;
}
blockquote div {
padding:38px 56px;
background: url(../images/rgtblockquote.png) bottom right no-repeat;
height:1%;
}
open includes/templates/YOUR_TEMPLATE/templates/
tpl_testimonials_manager_default.php
tpl_display_all_testimonials_default.php
find the following section of code:
and replace with the following:PHP Code:
</blockquote>
<?php
$testimonial_info = '';
if ( (!empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city] . CITY_STATE_SEPARATOR . $page_check->fields[testimonials_country];
}
if ( (!empty($page_check->fields[testimonials_city])) and (empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city];
}
if ( (empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_country];
}
if (!empty($page_check->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_company];
}
?>
PHP Code:
<?php
$testimonial_info = '';
if ( (!empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city] . CITY_STATE_SEPARATOR . $page_check->fields[testimonials_country];
}
if ( (!empty($page_check->fields[testimonials_city])) and (empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city];
}
if ( (empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_country];
}
if (!empty($page_check->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_company];
}
?>
</blockquote>
I replaced the block of code but it didnt change it. Customers info is still outside the box.
http://www.internationalentertainmen...l_testimonials
my error, I neglected to include a line of code.
The following is the correct section of code place it immediately above the closing </blockquote>
PHP Code:
<?php
$testimonial_info = '';
if ( (!empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city] . CITY_STATE_SEPARATOR . $page_check->fields[testimonials_country];
}
if ( (!empty($page_check->fields[testimonials_city])) and (empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_city];
}
if ( (empty($page_check->fields[testimonials_city])) and (!empty($page_check->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_country];
}
if (!empty($page_check->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $page_check->fields[testimonials_company];
}
?>
<div class="buttonRow back"><?php echo TESTIMONIALS_BY; ?> <?php echo $page_check->fields[testimonials_name] . $testimonial_info; ?>
</div>