Welcome, Guest
Username: Password: Remember me

TOPIC: Link to article

Link to article 20 Jan 2014 11:06 #12067

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
is there any way to include a field that allows you to link to an article within your local joomla installation?
The administrator has disabled public write access.

Link to article 20 Jan 2014 14:47 #12071

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.

Link to article 20 Jan 2014 17:27 #12073

  • vlemos
  • vlemos's Avatar
  • Online
  • Elite Member
  • Posts: 295
  • Thank you received: 41
  • Karma: 21
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
Last Edit: 20 Jan 2014 17:32 by vlemos.
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Link to article 21 Jan 2014 16:45 #12077

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
@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
The administrator has disabled public write access.
Time to create page: 0.082 seconds

Get Started