• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Join between a component table and the com_content table detail show article.

jeffhoneyager

New Member
JComments and Joomla Articles

I want to create a list of JComments linked to the article.

The join is ... where jcomments.object_id = content.id

displaying a few fields from the jcomments table and a couple from the content table.
When clicking to show details, it shows the article (rendered) with jcomments info.

I've tried a number of things, but I'm missing something probably very simple. I get the jcomments fields displayed but not the content fields. ???


_jcomments
.object_id (the article id)
.name
.email
.title
.comment
.date

_content
.title
.introtext
.fulltext

Any ideas?

Also, can I put the list into a module?

Thanks.
 
So is your List on #__content (the main J! article table)? With a repeat join from #__content.id to jcomments.object_id?

-- hugh
 
Yup - simple...

I was using _jcomments.id instead of _jcomments.object_id duh.

Next.

All I want to do is display a list. Then have a link from a list item to then:
1) Open a new window with nav _blank
2) display the article

The URL would look like:
http://portal.isocloudtools.com/ind...5:s22-iatf-16949-2016-no-shalls-here&catid=55

I have the article id, the alias and the catid. How do I create a link and construct a URL with this content?

Also, the domain name needs to be relative - I need to move it to 3 other sites.
(NOTE - this used to be called packages, it is not now, but I cannot re-find where it spells it out - frustrated - searched for 3/4 hour looking for it ???)

Is there a plugin? Is there documentation?

Thanks again.
 
I found this
Custom detail URL

Changed it to:
/index.php?option=com_content&view=article&id={jvanmx_content___id}:{jvanmx_content___alias}&catid={jvanmx_content___catid}

And
Detail Link Target = blank (new window)

Works great.

How do I change the jvanmx database name to be generic. I need to move this list to other sites that will have other database names.

And again, how do I export this list/form application to another site?

Thanks.
 
I tried:

/index.php?option=com_content&view=article&id={#_content___id}:{#_content___alias}&catid={#_content___catid}

But got a 404 error.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top