RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?

[Tuto / Add] - Image-slideshow in detail page :-)
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: [Tuto / Add] - Image-slideshow in detail page :-)
*
#3104
[Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 11 Months ago Karma: 26
Hello.
Here's a quick tutorial to fix a function that does not work on version 3 and add a way to display the picture
Actually you can't select 'image-slideshow' in the property details config.

After you can show properties like this:

1 - Download and uncompress the attached file.

2 - Backup your own files.

3 - Copy these files In the directory of your site.

4 - Edit the template you use. (details.php, details_tab.php ...)

5 - Search for all occurrences of if($ShowImagesSystem == and replace with if($ShowImagesSystemDetail ==

6 - insert this code:
Code:

?>
<link rel="stylesheet" href="<?php echo JURI::base();?>components/com_properties/includes/css/image-slideshow.css" type="text/css" media="screen" charset="utf-8" />
<div class="tituloProduct2" style="float:left;"></div>
<div id="dhtmlgoodies_slideshow">
<div id="previewPane">

<?php
$rout_image = 'images/properties/images/'.$Product->id.'/';
$rout_thumb = 'images/properties/images/thumbs/'.$Product->id.'/';
/*echo '<pre>';
print_r($this->ImagesProduct[0]);
echo '</pre>';*/
//print_r ($this->ImagesProduct[0]->rout) ;
?>
<img src="<?php echo $this->ImagesProduct[0]->rout ;?>" alt="<?php echo $Product->name ?>" width="460" height="345" >
<span id="waitMessage"><img src="components/com_properties/includes/img/loading.gif" alt="Waiting"></span>
<div id="largeImageCaption"><?php echo print_r($this->ImagesProduct[0]->text); ?></div>
</div>
<div id="galleryContainer">
<div id="arrow_left"><img src="components/com_properties/includes/img/arrow_left.gif"></div>
<div id="arrow_right"><img src="components/com_properties/includes/img/arrow_right.gif"></div>
<div id="theImages">
<?php
$imageCaption='';
$numI=1;
foreach($this->ImagesProduct as $image){
if(JFile::exists($image->path)){ ?>
<a href="#" onclick="showPreview('<?php echo $image->rout ; ?>','<?php echo $numI ?>');return false"><img style="opacity: 0.75;" width="120px" height="90px" src="<?php echo $rout_thumb.$image->name;?> " alt="<?php echo $image->text; ?>"/></a>
<div class="imageCaption"><?php echo $image->text?></div>
<?php $numI ++ ?>
<?php
}
}
?>

<div class="imageCaption"><?php echo $imageCaption;?></div>

<!-- End image captions -->
<div id="slideEnd"></div>
</div>
</div>
</div>

<?php


between: if($ShowImagesSystemDetail ==
and:
}
?>
(2 times)

7 - Save your file.

8 - in the properties' configuration, In 'property Details' 'Show Images System' select 'image-slideshow'.

9 - In your site, see the result.

10 - take a beer

Limitations:
Vertical images will be stretched.
With the template 'rhuk_milkyway' main image is not centered.

Tested in Vista32 with Firefox 3.6 - ie8 - ie7 - ie6 - ie5.5

File Attachment:
File Name: Image_slideshow.zip
File Size: 5095
sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
Last Edit: 2010/06/11 14:39 By sigouil.
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#3105
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 11 Months ago Karma: 1
good work,,,,,
Can you contact me in MNS yuri_cristodaro@hotmail.com
or skype

yuri-cristodaro

I want to speak whit you
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 443
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#4172
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 1
sigouil
can yhou contact me please
my skype is yuri.cristodaro
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 443
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#4173
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 1
some problem not work!!!
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 443
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#4176
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 3
Doesn't work for me, I see tthe large image and the left and right arrows, only when slimbox is choosen not image-slideshow, also the images are not in the boxes.

There are several if($ShowImagesSystemDetail ==
after replacement, it would be helpful if you told us exactly where like

if($ShowImagesSystem == 2 or $ShowImagesSystem == 1)
Tornado
Senior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/31 03:14 By Tornado.
The administrator has disabled public write access.
 
#4187
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 14
Any change Yuri wants to have this module on his payed site?
Ow well why not..

Personally I like the idea of the slideshow, however the problem with the streched vertical image is a serious issue as this is ofter used.

Danny
EagleCorp
Advanced com_properties user.
Admin
Posts: 308
graphgraph
User Offline Click here to see the profile of this user
Gender: Male dannyhab Eagle-Corp Location: The Netherlands Birthday: 07/23
The administrator has disabled public write access.
Best regards,

Danny
Eagle-Corp.nl
I will try to answer all your questions online for free.

If you require dedicated support you can contact me via an email/ Skype.

XML Export creation
XML Import
Dutch: Realworks XML import koppeling aanwezig voor com_properties.
 
#4260
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 0
In which lines of programming code insertions should be made? All?
localizador1709
Always innovating to improve ...
Senior Boarder
Posts: 73
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Localizador Imobiliario Location: São Paulo - Brasil Birthday: 09/17
The administrator has disabled public write access.
Sergio Siqueira
Localizador Imobiliario
 
#4263
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 1
Any change Yuri wants to have this module on his payed site?
Ow well why not..


Sorry my friend but io not understand what you mind!
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 443
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#4266
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 5
In which lines of programming code insertions should be made?
In file /com_properties/views/templates/yourdetailfile.php
(In details.php is the line 225)
First search
if($ShowImagesSystem == 3){

}
?>

and replace for:
if($ShowImagesSystemDetail == 3){

}
?>

The code must be pasted...
if($ShowImagesSystemDetail == 3){
HERE
}
?>



All?
Yes.
TuteMdz
Gold Boarder
Posts: 170
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4268
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 5
Personally I like the idea of the slideshow, however the problem with the streched vertical image is a serious issue as this is ofter used.
Is a css problem.
I'm using this system of images, modified of course. I solved this problem by giving a min-height to the div that contains the images, it works well.
TuteMdz
Gold Boarder
Posts: 170
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/02 19:18 By TuteMdz.
The administrator has disabled public write access.
 
#4274
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 3
These instructions do NOT WORK, can someone attach a working details.php and I will post correct instructions for getting it to work, or email me a working details.php to tornado@tjtag.com
Tornado
Senior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4275
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 5
These instructions do NOT WORK...
Please do not scream tornado. In this way no one will help you.
Say what problem are you having.
TuteMdz
Gold Boarder
Posts: 170
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4276
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 3
Hey, I'm not screaming Sorry if it sounded that way, just saying that the instructions are not clear, and that it does not work for me. In the original instructions it says:
between: if($ShowImagesSystemDetail ==
and:
}
?>(2 times)

2 times, your instrunctions only show:

a change here:

if($ShowImagesSystemDetail == 3){
HERE
}
?>

==3

so its hard to understand... can you send me a working details.php ? I provided an e-mail address above
Tornado
Senior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/03 03:20 By Tornado.
The administrator has disabled public write access.
 
#4291
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 5
here is my details. I hope you understand it, because there is not "if" to load image system.
TuteMdz
Gold Boarder
Posts: 170
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/03 12:31 By TuteMdz.
The administrator has disabled public write access.
 
#4304
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 3
TuteMdz,
Thank you for taking the time to send this to me, but it does not have single "ShowImagesSystemDetail" in it anywhere ? Am I missing somthing ?

Maybe you sent the wrong file ? this is a details_tab file ?
Tornado
Senior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4459
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 26
Try with this file.
I use it for test.
File Attachment:
File Name: details3_.txt
File Size: 27424

Change extension .txt to .php
sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
Last Edit: 2010/08/09 14:56 By sigouil.
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#4461
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 1
Sigouil WELCOME!!!!!!!!!!!!
How are you!?!
Have you finish Holiday
ehehhehehe.....
yuri1982
www.com-property-template.com CUSTOM WORK FOR PROP
Platinum Boarder
Posts: 443
graphgraph
User Offline Click here to see the profile of this user
Gender: Male yuri-cristodaro yuri_cristodaro@hotmail.com Location: ITALIA Birthday: 12/14
The administrator has disabled public write access.
If you need custom work for your Property add new field, customize template, please contact me in MNS yuri_cristodaro@hotmail.com
And go to www.com-property-template.com
 
#4484
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 9 Months ago Karma: 26
yuri1982 wrote:
Sigouil WELCOME!!!!!!!!!!!!
Thanks


How are you!?!
Fine and bronzed.

Have you finish Holiday
yes

Finish sea, sand and sun.
Return to desk and coolness of Paris' suburb.
sigouil
New job => Less time :(
Platinum Boarder
Posts: 411
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: France Birthday: 12/31
The administrator has disabled public write access.
Sorry for my English. It is a Google translation.
 
#5186
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 8 Months ago Karma: 0
sorry for the trouble you can send the files to configure?
details.php
details_tab.php

and any other you've modified
I have a lot of time trying to get this to work, and I can never do work well

please help!!!
Carlosemp
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5187
Re: [Tuto / Add] - Image-slideshow in detail page :-) 1 Year, 8 Months ago Karma: 0
sorry for the trouble you can send the files to configure?
details.php
details_tab.php

and any other you've modified
I have a lot of time trying to get this to work, and I can never do work well

please help!!!
Carlosemp
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123