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

TOPIC:

[FIXED] camelCase not working in fields 06 Feb 2017 21:05 #14979

  • VeCrea
  • VeCrea's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Hello everybody,
It has been such a long time. Cook has been so helpfull but i was working on other project styles the last months.
Jocelyn, hope you're doing ok, i miss our long mails about the world ;-)
Now I'm back on cook, i'm designing a new project and have trouble with cacading combobox.

Project : Kustom
Table : Projects
Layout = All :-)

Without any modifs, even in sandbox, i got a sql error about some
Unknown column '_projectartisan_.screenname' in 'field list' SQL=SELECT a.id,a.creation_date,a.hits,a.projectartisan,_projectartisan_.screenname AS `_projectartisan_screenname`,a.projectbanner,a.projecttitle FROM #__demo13748_projects AS a LIMIT 20

Has the builder changed that much that i can"t do it the way i used to ?

Thanks,
V.

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

[FIXED] camelCase not working in fields 06 Feb 2017 21:10 #14980

  • VeCrea
  • VeCrea's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I should add that i can create one new element (one new project), but it is the collection view that shows error.
But the "save" function works because it shows when i go to my phpmyadmin

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

[FIXED] camelCase not working in fields 06 Feb 2017 22:17 #14983

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Hey ! You are back ! Long time...
Happy to hear from you

I see the problem. You are using capital letters in the fields.
This is a really good catch because I totally forgot to test this possibility, and the new ORM system has apparently a little problem.
I might not be a big deal to fix. I am already looking after it.
Coding is now a piece of cake
The following user(s) said Thank You: VeCrea

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

[FIXED] camelCase not working in fields 06 Feb 2017 22:33 #14984

  • VeCrea
  • VeCrea's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I remember now that in previous builder versions, it was impossible to have capital letters. Why you hate capital so much ? (j'adore le double sens de cette phrase ;-)

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

[FIXED] camelCase not working in fields 06 Feb 2017 23:27 #14985

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It was just a limitation, and also for conventions because nobody is using them in reality. You are the first to ask for it.
And also to be clear between the field label and the field name. Lot of beginners mismatch the concept.
I love camel case as you are using in you fields. It is very clear and I'd like to use them as well fo my projects. Afterall why not ?

Pour la private joke, ici il n'y a pas de chameaux ici non plus
Coding is now a piece of cake

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

[FIXED] camelCase not working in fields 06 Feb 2017 23:37 #14986

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

good luck with your camels
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.063 seconds

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started