- Posts: 5
COMMUNITY FORUM
Where is the attachment k2 field variable located
- Anthony Fassolas
- Topic Author
- Offline
- New Member
Less
More
10 years 11 months ago - 10 years 11 months ago #120197
by Anthony Fassolas
Where is the attachment k2 field variable located was created by Anthony Fassolas
I want an mp3 player to 'read' the attachment file of an item and play on the front-end the file, since i can't make the particular player work with k2 as AllVideos (if anyone knows of another way pls tell). I plan to use a custom html module in a loadposition within the items description to do that but i need the variable of attachments in the html so the player can do its job. Any help?
edit:
As i was searching i came across this tutorial which maybe helps a bit to what i need. If i only knew the location or name of the k2 item php file and the name to read the actual variable of attachments field.
edit:
As i was searching i came across this tutorial which maybe helps a bit to what i need. If i only knew the location or name of the k2 item php file and the name to read the actual variable of attachments field.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 11 months ago #120198
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Where is the attachment k2 field variable located
This tutorial will help you locate the files you need to edit.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
In the code the comments will tell you which is the attachments tab.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
In the code the comments will tell you which is the attachments tab.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Anthony Fassolas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 11 months ago #120199
by Anthony Fassolas
Replied by Anthony Fassolas on topic Re: Where is the attachment k2 field variable located
thank you i going there now, i really need this :)
Please Log in or Create an account to join the conversation.
- Anthony Fassolas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 11 months ago - 10 years 11 months ago #120200
by Anthony Fassolas
Replied by Anthony Fassolas on topic Re: Where is the attachment k2 field variable located
not much luck this is the code i managed to put into item.php with no result :
Log in or Create an account to join the conversation.
- Anthony Fassolas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 11 months ago #120201
by Anthony Fassolas
Replied by Anthony Fassolas on topic Re: Where is the attachment k2 field variable located
no luck yet and i see it is not something easy! :(
Please Log in or Create an account to join the conversation.