Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow attributes to be set for linkToOwnerProfile() #12

Closed
kimisgold opened this issue Sep 5, 2013 · 1 comment
Closed

Allow attributes to be set for linkToOwnerProfile() #12

kimisgold opened this issue Sep 5, 2013 · 1 comment

Comments

@kimisgold
Copy link
Member

As a theme writer, I'd like to be able to set classes and other attributes for a link to an owner profile. For example, in conjunction with the Groups plugin, I'd like to set an "owner" class on a link to the profile of a group owner.

The linkToOwnerProfile() helper needs to be able to take an array of attributes and values and works if it prints out those attributes and values within the <a> tag.

@kimisgold
Copy link
Member Author

Actually, it might be more helpful to have some way to use Omeka's existing link_to() helper with User Profiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant