0
Hi,
is it possible in the album view, to add the albumtitel in the top, an url?
I want to link to amazon album site, is there any chance to do this for every album?
Greetings
is it possible in the album view, to add the albumtitel in the top, an url?
I want to link to amazon album site, is there any chance to do this for every album?
Greetings
Responses (32)
-
Accepted Answer
0well, you can add a link of course, all you have to do is to modify the file
components/com_muscol/views/album/tmpl/default.php
and add a link element surrounding the album title. but.. where will the link to amazon stored in every album? (you can use the Buy Link field...)
the variable for the buy link is stored in
$this->album->buy_link
-
Accepted Answer
0Hi Germi,
yes you are correct-it is a little bit stupid to add the url to the album title
My problem is - i can not use your buy link field because i use the amazon affiliate program. i get from amazon not a simple link, i get an html code with java inside - so i have to put this code on every site to generate the link with my affiliate program id. -
Accepted Answer
-
Accepted Answer
0yes the code is different for every album
where is the Buy field displayed? I typed into this field http://www.amazon.de/gp/product/B001EOQUIM?ie=UTF8&48es5d8e4&linkCode=as2&camp=4812&creative=6742&creativeASIN=B001EOQUIM but i dont see anything in the frontend?
Show buy button on album is on "yes" on the the parameters settings -
Accepted Answer
-
Accepted Answer
0Hi Germi,
hm...i dont see this link
i made some changes on the template but i tried it with the original template, too. no link
here is a link -> http://www.sound-ecke.de/sound-ecke/a/anthony-b/rise-up
no other album has at the moment a buy link -
Accepted Answer
-
Accepted Answer
0i installed it a few days after you puplished it on your site.
i attached the default.php because the code is not dispalyed correct in the forum [file name=default-20090911.zip size=3191]http://www.joomlamusicsolutions.com/images/fbfiles/files/default-20090911.zip[/file] -
Accepted Answer
-
Accepted Answer
0Hi,
the line 105 looks ok
i cann not show the code here becaus it is cut out
the parameter in the setting is set to yes for Show BUY button on albums (where can i check if the setting is correct in the code?)
i have some text in the buy link of the album - i tried 2 different links.
no buy album is shown on the album :/
I deleted all text for the album like tracklist and so an because there are some amazon script inside - no change. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0shit :blush:
now here is the zip: (ok its to big - here is the rapidshare link: http://rapidshare.com/files/279013914/no_buy_link.zip.html -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0hi,
yes...hm... i edit my last post. i uploaded a old (original) default.php - the encoding with DOS is normal :/
but also with the orignal default.php there is no buy link...
shit
is it possible that i "destroyed" something in a other file while i changed some other things??
maybe a stupid question - you dont see the buy link, arent you? http://www.sound-ecke.de/sound-ecke/a/anthony-b/rise-up
because i use win7 and i hope i'm not the only one who dont see the link -
Accepted Answer
0mmmmm... I dont think so. very unlikely
hey, try to write something directly on the template file, some dummy text there where the buy link is suposed to appear... and check out if it shows up.
also... check your views/album/tmpl/ folder. is there any other file there, besides of default.php and index.html ? -
Accepted Answer
0hm..there are 4 files in the temp folder
default.php
default.xml
default_album.php
index.html
i changed the buy link - but i'M not sure if this is correct
i add a txt file because the forum cut out the code [file name=Neues_Textdokument_2.txt size=258]http://www.joomlamusicsolutions.com/images/fbfiles/files/neues_textdokument_2.txt[/file] -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0yes i upload the file
i upload now the original untouched default.php from the update zip file and deleted the german language ini - same problem
i delete teh if condition (attached the code, is this correct?)
same problem [file name=Neues_Textdokument_2-20090912.txt size=226]http://www.joomlamusicsolutions.com/images/fbfiles/files/neues_textdokument_2-20090912.txt[/file] -
Accepted Answer
-
Accepted Answer
0yes i'm not really familiar to php :/ sorry!
i changed it again - is it corrct now?? with this code - same problem
[file name=Neues_Textdokument_2-20090912-2.txt size=224]http://www.joomlamusicsolutions.com/images/fbfiles/files/neues_textdokument_2-20090912-2.txt[/file] -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »