Just to clarify: Do you want to change how the tags are displayed in
your theme? If so, in your theme, you can just pass an argument to any
function that has '$delimiter' to use something else. Here's an
example that uses a pipe instead of a comma:
<?php echo item_tags_as_string('|'); ?>
You can use this in your items/show.php. And, of course, you can use
any other character (or no character at all) as your delimiter. No
need to find/replace in the core at all.
Best,
Jeremy
> --
> You received this message because you are subscribed to the Google
> Groups "Omeka Dev" group.
> To post to this group, send email to omek...@googlegroups.com.
> To unsubscribe from this group, send email to omeka-dev+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/omeka-dev?hl=en
> .
>
It would be fairly simple to add another setting to the Settings panel (or perhaps just in the application config file) to specify the delimiter to use for tags.
I will put a ticket up on Trac, though we can't guarantee a timeframe for fixing it.
Are you still having problems with your hacked version?
Kris
If you're still up for a bit of hackery, it's the line
$tags = explode(',', $tags);
in the function filterByTags in application/models/ItemTable.php that's causing you trouble. Replacing it with
$tags = explode(';', $tags);
should fix your problem with comma-containing tags, and still allow you to search for multiple tags using a semicolon.
-John
https://omeka.org/trac/ticket/981