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

TOPIC:

pre fill form 25 Nov 2017 19:13 #15458

I think you need to remove <?php echo JUri::base(); ?>
Please check your page and see what the actual url is, but you do not need it anyway.
The following user(s) said Thank You: Nicolas

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

pre fill form 27 Nov 2017 23:05 #15460

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 83
  • Thank you received: 12
I removed it but unfortunately it does not work.
I think the problem is that I do not go through a form but by my javascript calendar.

In fact I have a function that, when I drag and drop an event, calls the new variables. I would like to save them instead of the old ones.

the calendar is on the grid list of my events.

Is there a solution for me? or should I abandon this way ??

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

Last edit: by Nicolas.

pre fill form 01 Dec 2017 10:03 #15462

It's hard to say what is wrong without the context of your component.
I use the method quite often, so it is possible.,

If you want, you can send me you zipped component + sample data and forks and I can take a look :)

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

pre fill form 05 Dec 2017 22:02 #15469

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 83
  • Thank you received: 12
I really tried to understand but I can not do it.
So I leave the pros ... here is the zipped component:

For information :
The "lib" folder contains the fullcalendar program.
The code I created is in the fork> views> requests> tmpl> default.php
the public function UPDATE () is in the controller in fork> controllers> demande.php
I created data for example in database
i would like to drag and drop events and update it in database (so without form but the xml already exist)

What I would like is to understand why it does not work ... I do this to learn in first time and foremost.

i try to send the component but the size is over the limit allowed... (0.98Mo)

Nicolas

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

Last edit: by Nicolas.

pre fill form 06 Dec 2017 08:21 #15470

Just upload to my dropbox via this link:
file recieved

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

Last edit: by Romkabouter.

pre fill form 06 Dec 2017 09:02 #15471

Thnx, got it!

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

pre fill form 06 Dec 2017 09:39 #15472

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 83
  • Thank you received: 12
well, If you have some question.
Dont hesitate to ask me.


I keep looking for the problem from my side

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

pre fill form 06 Dec 2017 14:05 #15473

Hi Nicolas,

The link for the working component: www.dropbox.com/s/sleb97lj2d4eyu6/Nicola...com_litsupp.zip?dl=0

I have changed some things:
  • removed not used fork code: you probably just renamed the _fork folder, you only need the files you fork
  • the controller was the original, not the forked empty class
  • in the frontend code, some variable names where wrong (or not the same as used in the controller)
  • in the controller code, the model was not instantiated

When you check into the forked files, look for //PR: to see my updates.
You will quickly see what went wrong.

Good luck!

EDIT: Let me know when you have downloaded the file, I can remove the link after that
The following user(s) said Thank You: Nicolas

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

Last edit: by Romkabouter.

pre fill form 06 Dec 2017 22:57 #15474

  • Nicolas
  • Nicolas's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 83
  • Thank you received: 12
I just downloaded.
I have carefully watched your work and it is really perfect! I will learn from my mistakes.
I'm going to look at the instantiation of the model because I did not understand everything.
I thank you again for your patience.

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

  • Page:
  • 1
  • 2
Time to create page: 0.068 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started