By goodsanket on
My requirement is to create some simple quick links to my sites user. This will be available as a block. Users will be able to create their own links. All the links that user created will be accessible to him. How to go about this thing?
What i did was this.
- Created a content type quick_links.
- Created another content type external_links.
- Created custom field for quick_links of nodereference type, and external_links are allowed to attach to this.
- Problem is, user can create external_links content but they are not allowed to add it to quick_links, because of permissions.
- I think I am not handling this problem properly.
How to go about this thing??
Any solution is appreciated.
Thanks.. Cheers !!!!!!!
Comments
I don't see why you need two
I don't see why you need two content types.
Create a quick_link content-type, and give your users permission to view/edit/create own quick_links (not all quick_links).
Then make a View (using Views module) that displays a list of quick_links by the currently logged in user.
I cannot see why you need another content type and bunch of nodereferences ... seems overly complicated for your requirements.
Thanks..
I solved it.. Did exactly the same thing to solve it. My initial Idea was to construct few more blocks of different types of content types. I dropped it for now. If i want to get that done, I can always use taxonomy, which a good option rather then using nodereference..
Thanks.. Cheers !!!!!!!!!!