Hey Kevin,
I'm wondering if you have a tip for this - In the file plugin (which flexfile extends) it has links/pages like "All site files", "Friends files", "Your files" and "Upload file".
Doing get_context() on all of them returns "file" and I need to know in which page exactly the user on, whether it's the "Your files" or "Upload file" matters to me.
Have you got a tip on accomplishing that?
Thanks,
Liran.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Liran Tal@liri2
Liran Tal - 0 likes
- Deepvoice@Deepvoice
Deepvoice - 0 likes
- Liran Tal@liri2
Liran Tal - 0 likes
- Deepvoice@Deepvoice
Deepvoice - 0 likes
- Liran Tal@liri2
Liran Tal - 0 likes
You must log in to post replies.Nope, sorry, if you want to change the current behaviour, this month you're on your own.
I've got a pile of client work to do and it's keeping me extremely busy right now.
I would love to extend the plugin but like we said before, it's not on any code version control and I don't want to make (too many) changes on my version and later on bang my head around the wall to then patch a new version that you'll release with my own changes.
This might help.. I had a similar issue: http://community.elgg.org/mod/groups/topicposts.php?topic=302496&group_guid=302495
@Deepvoice - sadly your approach is to temper with the file plugin as opposed to extend it via some other plugin which I can then not be independant of whatever changes Kevin is going to make in his new version of the flex-form plugin series.
@liri - Unforntunately, I don't have time to wait around for developers to put it in their code.
I will write the hacks and hopefully they will pick them up.
In the meantime, the question was asked and I answered it. Implementation roadmaps are not my bag.
@Deepvoice sorry if that answer of mine sounded to harsh, my point wasn't to criticize you but just to mention that tempering with the code of the plugin is something I'd like to avoid (and I think everyone would...). If developers would get their plugins under source-code management systems then we wouldn't have to face these problems.