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

TOPIC:

Builder Field Label/Name 27 Apr 2015 15:31 #12942

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Sounds good, and completely off topic, but whilst you are online.. did you get that contact from me through your website contact form or are you too busy to contemplate? There is a little configuration of a JCook project I needed heklp with that I was hoping you could assist with for proper dev payment
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Builder Field Label/Name 27 Apr 2015 15:37 #12944

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I didn't remember your mail. Guess I didn't received it.

I will be hirable after the release, and the stabililization of it.
Also I mean "releases" in plural : N:M and F0F (experimental) are the priorities and I work full time on that at the moment.
But it will not be that long.

Normally I accept this of course, but if you are in hurry, you can ask in the forum int this category (moved topic)
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

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

Custom save 27 Apr 2015 15:50 #12946

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
This is the copy for the mail your website sent me after I used the contact form... I have embellished a little more

==================
I was wonder what the chances were of getting you to assist me with after coding of a component.

I have asked for help on the forums with no replies from the usual JCook experts.

I will happily pay whatever hourly rate you require, but I suspect (hope) as this is using JCook code you will be able to do it in record time.

1) I need is a snippet of code so that when somebody adds or updates a record on one table (and several others) it will auto write an entry to a separate 'feed tables' ie

i,e if someone adds a new DEAL record on the deal table, the following will be added silently to the FEEDS table

So a save action of a new deal saves the deal as normal but then fires off a function which passes ('deal', new deal ID, 'add', JoomlaID) to the feeds table
An update actions will save the deal (again) but fire off a function that passes ('deal',DealID, 'update', JoomlaID) to the feeds table

This function could be reused for several other tables

etc.. so this be will a reusable helper function. On old Joomla, I could do this easily, but I would much rather do it using strict J3 / latest JCook standards which I am not yet totally familiar with

I do not want to say on the forums which project it is as the name is a brand, but its the project that begins with Pin... on my project area

The table I want to auto update is called FEEDS (so you can see the structure)

2) GROUP BY seems to have been depreciated but it is a very powerful SQL statement. i have need of GROUP BY in one of my models, but no matter how I try to force it in, I cant get the statement to appear.

Can you clarify how I can add a GROUP BY clause in perpareQuery (in the code as LEGACY)

I am happy to pay upfront if terms are agreeable if you can estimate the job.
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Custom save 27 Apr 2015 16:33 #12948

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, I see more or less the idea.
I take note, I will tell you when I am back hirable.


Group By has been deprecated for GroupOrder. Because the REAL SQL statement has never been handled in component until component has a use for it.
So because Cook do not use this statement, is does not exist in the model.

It has been asked many times, I will create it.

The old groupBy, still works. It is only a prioritary order before all other order statements to group items on FK in the lists (grid).
So, I simply renamed it. And it is not the SQL group by.
Coding is now a piece of cake
The following user(s) said Thank You: MorganL

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

Custom save 27 Apr 2015 16:46 #12949

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Thanks, if you do fancy the change from upgrading the builder and can get to that custom helper (or anyone reading this can) sooner, it would be nice, but I understand what being busy and focused is all about

Thanks
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Custom save 17 May 2015 11:34 #13025

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
addGroupBy() is now instancing a real GROUP BY (since 2.7)

and

addGroupOrder() is instancing a prioritary order for lists (unchanged)
Coding is now a piece of cake

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

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

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started