| View previous topic :: View next topic |
| Author |
Message |
netpastor
Joined: 01 Jan 1970 Posts: 9

 |
Posted: Fri Aug 17, 2007 8:44 am
Post subject: Multiple Authors
|
|
|
Does anyone know if it is possible to allow multiple authors to one article in IJoomla mag?
I have an existing newsletter database with several hundred articles that I'm trying to import into the Ijoomla component; and one of the issues I've just figured is that the existing database has multiple author support; and in the case of these newsletters, it's quite a significant part of the tool (as often several authors contribute to one article)
Any ideas anyone?
Ian |
|
| Back to top |
|
 |
merav

Joined: 25 Oct 2005 Posts: 4532 Location: Long Beach, CA, USA

 |
Posted: Fri Aug 17, 2007 2:28 pm
Post subject:
|
|
|
Hi,
Sorry but there is no way to assign more than one author for article, same as core joomla. _________________ Merav
Founder, Product Designer
iJoomla.com |
|
| Back to top |
|
 |
netpastor
Joined: 01 Jan 1970 Posts: 9

 |
Posted: Fri Aug 17, 2007 9:17 pm
Post subject:
|
|
|
| merav wrote: | Hi,
Sorry but there is no way to assign more than one author for article, same as core joomla. |
Doh!
I wonder if anyone has written a hack
thanks |
|
| Back to top |
|
 |
dpk
Joined: 01 Jan 1970 Posts: 23
 |
Posted: Sat Sep 08, 2007 10:12 pm
Post subject:
|
|
|
bump!
Has anyone written a hack? The thing to do might be to parse the author alias field to look for names between separators (comma, "and") so "AUTHOR1, AUTHOR2 and AUTHOR3" generates 3 bio boxes at the end of the article if AUTHOR1-3 matches an author name in iJoomla. |
|
| Back to top |
|
 |
netpastor
Joined: 01 Jan 1970 Posts: 9

 |
Posted: Tue Sep 11, 2007 1:52 am
Post subject: my answer
|
|
|
thanks for the idea with tweak;
i have worked on another answer to the same question though; by modifying the standard Joomla mod_related_items, and placing author names in the metatags of each article, and then displaying the mod in the right place on the page, this seems to work.
Each Author must have their own 'page' (article) to match the metatag search though
This then gives the end user editor a way to assign authorship; and also allows a display of authors and articles written by them. |
|
| Back to top |
|
 |
dpk
Joined: 01 Jan 1970 Posts: 23
 |
Posted: Tue Sep 11, 2007 2:52 pm
Post subject:
|
|
|
that's an interesting solution. iJoomla allows you to show related items in the article sidebars, right? which leaves the core related items module available for use like this... However, this means you can't ever use the related items module for its intended purpose, or you'd have to make a copy of it for its intended purpose which would still display your custom author bio pages instead of just "related articles."
Also, unless you embed a modloadpositions tag or use another method to embed the related items module in the article on a per article basis, you will have the related items module appearing on all article pages whether it is being used for multiple authors or not. The related items module also lacks functions such as displaying nothing if there are no related items or limiting the number of related items that are displayed. |
|
| Back to top |
|
 |
netpastor
Joined: 01 Jan 1970 Posts: 9

 |
Posted: Tue Sep 11, 2007 9:27 pm
Post subject:
|
|
|
| dpk wrote: | that's an interesting solution. iJoomla allows you to show related items in the article sidebars, right? which leaves the core related items module available for use like this... However, this means you can't ever use the related items module for its intended purpose, or you'd have to make a copy of it for its intended purpose which would still display your custom author bio pages instead of just "related articles."
Also, unless you embed a modloadpositions tag or use another method to embed the related items module in the article on a per article basis, you will have the related items module appearing on all article pages whether it is being used for multiple authors or not. The related items module also lacks functions such as displaying nothing if there are no related items or limiting the number of related items that are displayed. |
Bright minds think alike
As I thought about your earlier suggestion, the one thing it appears to lack is a human interface (without building one) so that it is easy to add / assign the new authors. This 'mod' seems to be an easier way to achieve what I need; but am open to correction
I have modified the related items module, to only show related items which appear in my 'category' of authors; and as I'm working with existing content (800 + articles), can mod each article to show the 'Authors' in my article in the right space with a {modloadpositions tag}. Parsing existing data to reflect this is relatively straightforward. Every article should / does have an author; so no problem with it showing when no author; as if it does that would be a hint that I need to do something about it!
The other thing I will do with this though, as a reverse 'related items' thingo, that shows all the articles written by that author when you visit that author 'page'. |
|
| Back to top |
|
 |
|