Implemented Input for coAuthors functionality

More
6 years 5 months ago #582 by Ruud van Lent
Input for coAuthors functionality was created by Ruud van Lent
Hi,
I am preparing for a new functionality: the possibility to add coAuthors to an article
This will be implemented via a Joomla Custom Article field where the author of the article can select others from the list of registered users.
This following an idea brought forward by Daclina.

I am looking for examples of how this should look like when looking at the article.
  • What is the position of the co Authors box
  • What information should show for the co Authors (avatar, name, link to profile, list, etc.

If somebody can provide me with a mockup or with a link to a (working) example on another site: that would be great!

Thanks in advance!
regards,
Ruud.
The topic has been locked.
More
6 years 5 months ago - 6 years 5 months ago #583 by daclina
Replied by daclina on topic Input for coAuthors functionality
Hey Ruud,

Here are some initial suggestions. Notice the coauthors at the top and rest of the contributors at the bottom.

This message contains confidential information


These all have options as the one main author, additional primary contributor (features at the top) and contributor type (free form field). Additional contributors are all shown at the bottom and depending on the type chosen some are just mentions, others are actual links to their profiles (and in reverse those links are shown for content they have contributed to).

Let me know if you need anything else.

Good luck with the research!
DOWNLOADLINK
This message contains confidential information
Last edit: 6 years 5 months ago by Ruud van Lent. Reason: added downloadlink
The topic has been locked.
More
6 years 5 months ago #586 by Ruud van Lent
Replied by Ruud van Lent on topic Input for coAuthors functionality
Cool :)

I like the flexibility (with contributor, authors, video editors, photographers, etc.)
I think the content construction I have built in (for e.g. author bio) can do a lot of what you are suggesting.
The 'data' will then be supplied via one or more custom article fields. These fields will then be configured to be displayed (when set with data) in the article where there will be two 'boxes' one above and one below the article.

This way you have the flexibility of setting any type of custom article field to hold the information.
The topic has been locked.
More
6 years 5 months ago - 6 years 5 months ago #587 by Ruud van Lent
Replied by Ruud van Lent on topic Input for coAuthors functionality
Hi Daclina,

just added a test release to your last post in this topic.

What this adds is two 'Credit' positions: Top (below the article info) and Bottom (above the author info).
These are editor fields, so you can add there whatever you like.
The power lies in the Content Construction functionality :)

So let assume you want to credit the image in your article, in the bottom credit area (below the article text).
1. create a Custom article field for the credit text: name = imagecredit
2. in the Credit Bottom field (ochBlog options, tab 'Article Credits') add {article:imagecredit}

What will happen now is that the tag will be replaced with the field value for the displayed article or omitted when not filled).

Now it is up to your imagination as to what you want to add as credit information :)

here is more information about the Content Construction function in ochBlog: onlinecommunityhub.nl/joomla-extensions/...content-construction

Have a go and tell me if this will do as 'concept'

I am going to work on a special Custom Field for selecting and displaying co-authors (linked to their profile).

PS. the test version also has the profile background image functionality and sharedby functionality (but for that you also need the test version of ochJSsocials) :)
Last edit: 6 years 5 months ago by Ruud van Lent.
The topic has been locked.
More
6 years 5 months ago - 6 years 5 months ago #588 by Ruud van Lent
Replied by Ruud van Lent on topic Input for coAuthors functionality
Hi, just extended the Content Construction part with a handy feature.

When I want to insert e.g. the imagecredit (Custom article Field with value: 'Ruud van Lent photography') in the Credit field I would add the following text:
Code:
Image credit: {article:imagecredit}

That will then display as:
Code:
Image Credit: Ruud van Lent Photography

But when the Custom Article Field imagecredit has no value set, the following would be displayed:
Code:
Image Credit:

Thats not good....
So what I have build in is a very basic {if}...{endif} function. When used it will check if the variable has a value set: if not, do not display what is between the {if}...{endif} tags
So the following logic can be applied:
Code:
{if}Image credit: {article:imagecredit}{endif}
Last edit: 6 years 5 months ago by Ruud van Lent.
The topic has been locked.
More
6 years 5 months ago #594 by Ruud van Lent
Replied by Ruud van Lent on topic Input for coAuthors functionality
The 'Article Credits' functionality is part of the 0.3.0 release.
Closing this one
The topic has been locked.