OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
MediaLibary Component Support
Go to bottom Favoured: 0
TOPIC: Buy it button
#1289
fazel (Visitor)
Fresh Boarder
Posts: 4
graphgraph
User Offline
Buy it button 5 Years, 11 Months ago Karma: 0  
I run Media-library component on my site. When I enter the media details manually, it does not show the [buy from] link on the front end. The example is at
www.spiritualise.org/index.php?option=co...tid=80&Itemid=64

I am setting the fetch information to my own and enter the URl for buy from link.
How can I fix this problem?
Fazel
 
Logged Logged  
  The administrator has disabled public write access.
#1290
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Buy it button 5 Years, 11 Months ago Karma: 61  
Hi,

Please go to folder: {yours host}/components/com_medialibrary file: medialibrary.html.php

and change below code at all places where you find it.
Code:

         if ( $params->get('show_input_buy_now') && $media->informationFrom == 1)


to code
Code:

         if ( $params->get('show_input_buy_now') )


Thanks,
Andrew
 
Logged Logged  
  The administrator has disabled public write access.
#1361
carrillotoste (Visitor)
Fresh Boarder
Posts: 1
graphgraph
User Offline
Re:Buy it button 5 Years, 9 Months ago Karma: 0  
I had make the changes you suggest but nothing happend.

diversidadpr.prometea.org/index.php?opti...Itemid=2&lang=es
 
Logged Logged  
  The administrator has disabled public write access.
#1367
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Buy it button 5 Years, 9 Months ago Karma: 61  
Can you give admin access to yours site and we will check where error.

Account details please send with help this site "Contact form"

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#1649
fredgo (User)
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Re:Buy it button 5 Years, 7 Months ago Karma: 1  
I had this same issue and found this post on the forum. I made the changes to the file as you suggested and now it works fine. Thanks!

By the way, in looking to change the string, I did notice that there was a slight difference in spacing in what needed to be replaced. Some places it appeared as

if ( $params->get('show_input_buy_now' && $media->informationFrom == 1)

and other places it appeared as

if ( $params->get('show_input_buy_now' && $media->informationFrom == 1 )

with an extra space after the 1.

This might not make a difference in the code, but if does affect a simple search and replace since if you search and replace the first string, you will miss the second one.
 
Logged Logged  
  The administrator has disabled public write access.
#5006
fredgo (User)
Junior Boarder
Posts: 20
graphgraph
User Offline Click here to see the profile of this user
Re:Buy it button 4 Years, 1 Month ago Karma: 1  
I also had this issue on the most recent version on Joomla 2.5. I made the suggested changes,and it also worked there.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?