Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Multiple Author / Created By V2 fails build SQL 18 Sep 2012 10:45 #3731

  • BTB300
  • BTB300's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
Hi There
I use more than one author field for a few of my projects
for example
created_by = seller
created_by_2 = buyer
that way when the item is purchased and becomes unpublished to the public views both users have access to the data without a great deal of external coding being needed

In V1.5 we could create multiple author fields in a table - v 1.5 builds ok
In v2 we can also create multiple author fields

in the builder if you have two author fields it allows you to create two or more author fields
it names them created_by and created_by_2

V2 Build: the build fails indicating that there is a duplicate field "created by" and does not show a created_by_2 field

Thanks in Advance

Please Log in or Create an account to join the conversation.

Last edit: by BTB300.

Re: Multiple Author / Created By V2 fails build SQL 18 Sep 2012 13:40 #3736

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It is very specific. Not handled by Cook.

You are right, in 1.5, it was possible to have 2 times the wizard.
So it is still available, but works only with one.

The author initialization is .... only one line, so really easy to modify the system.
(Table, or Model, depending of the configuration)

Then for the acls if you need to extend the visibility, it is really easy as well.

In populateParams()
params->set('access-view', true); //This is forcing the item to be shown.
Coding is now a piece of cake
The following user(s) said Thank You: BTB300

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.078 seconds

I've evaluated lots of other Joomla Component Dev tools such as Shell Manager (J)enesis Danny's Joomla! 1.5 MVC Component Code Generator Marco's Component Maker and I must admit that I love what I see on your site! Lots of potential... Otherwise Great Job and keep up the good work!!!
Clifton (forum)

Get Started