Oops also I get this for the text that is placed into the database when publishing an entry :
[15] News Item 1 [16] News Item 2 [17] News Item 3
This is shown on the page after you click save for the entry you are creating.
Don’t know if it’s meant to just place in the number though?
Best wishes,
Mark
Just as a thought. Does this require a certain version of PHP to work correctly? I am on V4 ish but I seem to remember something about V5 working better for these kinds of extensions? Just a thought though.
Yeah, looks like out of the box, this does require PHP5.
You can try Mark Huot’s hack to get Multi-Relation working on PHP4:
Open your /system/modules/weblog/mod.weblog.php file and find this lineto this line// ------------------------------------------- // 'weblog_entries_tagdata' hook.
replace the inside with this// // -------------------------------------------
if (isset($EXT->extensions['weblog_entries_tagdata'])) { // -- PHP4 Fix For call_user_func_array not passing by reference global $Weblog; $Weblog = $this; // -- End Fix $tagdata = $EXT->call_extension('weblog_entries_tagdata', $tagdata, $row, $this); if ($EXT->end_script === TRUE) return $tagdata; // -- PHP4 Fix For call_user_func_array not passing by reference $this = $Weblog; unset($Weblog); // -- End Fix }
Hi Brandon,
Aha thought that it might have to do with the PHP version. Thanks for the style update but I will have to try and get the PHP version upped on the server as I don’t really like hacks all that much. May have to do so in this case if required though :-(
Thanks again for looking into that for me.
Best wishes,
Mark
I really like the way this looks.
Unfortunately, after I select options from the left-side list and save the entry, they don’t “stick,” i.e., there are no longer any selected options on the right-side.
I am using EE Hosting, so I don’t think I have a PHP problem.
Look forward to this getting worked out. I really like the UI.
Actually, this only happens with the “Quick Save” button. It’s working fine with “Update” button. And I’m having the same problem with “Multi Relation.”
Unfortunately, I’m using “Publish Improvements” to make “Quick Save” my primary save button. (Mostly in order to avoid the preview/view entry screen.)
Looking for solutions.
Addition: EE 1.6.2 and PHP Version 5.1.6
This looks very interesting. 😊 Does it work with galleries as well, or just weblogs?
Two things I have wished for with the previous extension were the ability to specify not just a weblog (or weblogs) but also a category, as well as the ability to limit not just how many relations you will select but how many you will display, since you may not always want to show all images. For example, in an RSS excerpt of a post.
Does it work with galleries as well, or just weblogs?
It doesn’t work with galleries yet, but that’s on the to-do list.
Two things I have wished for with the previous extension were the ability to specify not just a weblog (or weblogs) but also a category, as well as the ability to limit not just how many relations you will select but how many you will display, since you may not always want to show all images. For example, in an RSS excerpt of a post.
I would love to be able to add template tag-based overrides to the number of entries that get displayed (for example, {related_entries id="my_playa_field" limit="5"}), but I’m not quite sure how to go about doing that yet. I’m going to look into it if I get the time.
For those interested, here are a few areas that we’re currently using Playa on NavigantConsulting.com:
http://navigantconsulting.com/industries/construction/ (and related pages) - In the Spotlight banners and Key Contacts
http://navigantconsulting.com/industries/construction/management_consulting_services/ (and related pages) - Downloads and Key Contacts
http://navigantconsulting.com/professionals/bio/roddy_allan/ (and related pages) - Industry Specialization and Functional Expertise
http://navigantconsulting.com/knowledge_center/hot_topics/fcpa/ (and other Hot Topics) - Testimonials, buttons, and the content displayed after you click each button.
Before Playa, the first 2 examples just used multiple Relationship fields (i.e. Download 1, Download 2, Download 3). But that technique wasn’t robust enough to satisfy the client requirements for the Professionals and Hot Topics sections, so I ended up building Playa for those. Then I wrote a quick script to convert all those Relationship field sets to Playa fields, which has proved to make things much more convenient in those areas as well.
Hi,
I’m wondering if Playa works with the reverse_related_entries tag as well? If so, how would I code it? It’s, in my view, the reverse_related _entries that make the relationship function really powerful and useful for all kinds of dynamic listings and stuff like that.
I’m wondering if Playa works with the reverse_related_entries tag as well? If so, how would I code it?
I had actually never heard of that tag until now, but Playa saves its relationships in the exp_relationships table the same way that the Relationship field does, so I assume it’ll work just fine.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.