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

TOPIC:

Link to article 20 Jan 2014 11:06 #12067

is there any way to include a field that allows you to link to an article within your local joomla installation?

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

Link to article 20 Jan 2014 14:47 #12071

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
No, not for the moment.
It is something I want to integrate in future.

Fields data types are limited for the moment because everytime I change / evolve the code, I do not need to evolve 50 field types and JS plugins...
It is exponential work for me. Thank you for understanding my priorities. As well I recognize many basic fields are missing yet. Sorry again.
The closer we will be to the final convention, the more features you will get.

For the moment, I still need to work on the core before to go more in details.
I am sure you gonna find some help here to create the feature you want.

Also, when you share your code, It can then be added faster.
Coding is now a piece of cake

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

Link to article 20 Jan 2014 17:27 #12073

Hello @cefnllys

Here is the shorthand version on how to link to native Joomla tables when building a j-cook component.

For now, when it is required to link to native Joomla tables, it is possible to recreate the table with its field names in the cook framework. This makes the table part of your component but it also allows you to link your component to the table and even manipulate the data-values of the target table. Basically, the full power of the builder is now at your fingertips as it relates to this table.

Once you are happy with the component and how it works, download the component and do a bulk replace for the table-name within the component-code replacing eg "#__mycomponent_content" with "#__content". Now your component no longer looks at the table in your component but looks at the native Joomla table and should work as intended. All your links and coded features should be preserved.

There is some housecleaning which you can do to make the solution clean and free from dead code but this outline should set you thinking.

Let me know if you need additional help.

Regards
v
The following user(s) said Thank You: admin

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

Last edit: by vlemos.

Link to article 21 Jan 2014 16:45 #12077

@admin thanks for the reply. I understand there is a lot to do and implement. but am glad to hear this feature is in the pipline.
@vlemos Thanks didn't know I could do that but yes indeed you have now got me thinking about how i could further use this method.

Cheers guys

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

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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started