Keyword

how to i get a correct href on k2 item

  • Soundific Rep
  • Soundific Rep's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #120394 by Soundific Rep
how to i get a correct href on k2 item was created by Soundific Rep
...reading the attachment variable?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #120395 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: how to i get a correct href on k2 item
You can see how the getItemAttachments function is constucted in the components/com_k2/models/item.php file around line 1580

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Soundific Rep
  • Soundific Rep's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #120396 by Soundific Rep
Replied by Soundific Rep on topic Re: how to i get a correct href on k2 item
Hi i have manage to make it work but now i have another problem. When i get the attachment filename i pass the file to an mp3 player and can play the file on front - end. but i dont want the attachment link to be visible on the front-end all the time i want the player to play the attachment file even if the link is not visible on the item. is there a way to do that?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum