- Posts: 6
- Thank you received: 0
I have a mysql database with fields: id, name, address, town, path1, path2 and path3.
The fields path1, path2 and path3 all contain URL's to images.
Am I able to add a link to, say, the field "name" that will open an article that displays all three images. I have no problem doing it to display one of the images but cant work out to do it to show all three. Any help would be appreciated. I have a very basic understanding of php. Thanks for your help.
Please Log in or Create an account to join the conversation.
I am sorry, but I am not sure what exactly would you like to achieve. Would you like to display all three images within the Table JX or would you like to display images in the article where the link from the table view points to? Or do you maybe want do display image with a link that points to an article?
Please Log in or Create an account to join the conversation.
I would like to display the images in the article that I have created. Also, I can't work out how to open the article. Is there some more detailed documentation that you have to support the module? Thanks
Please Log in or Create an account to join the conversation.
Hi,
I am really sorry but I am still not sure, where and in what connection would you like to use Table JX, Article and Images.
Here are some documentation pages, but I suppose that you have already seen them all..
toolsjx.com/table-jx/documentation
toolsjx.com/table-jx/1-documentation
The third example here shows how is it possible to display a picture in Table JX...
toolsjx.com/faq/3-how-to-create-a-databa...use-it-with-tools-jx
Please Log in or Create an account to join the conversation.
Thanks unfortunately the document links you supplied were not a lot of help.
The problem I am having is this - if I create a table with four fields eg: "id", "persons name", "address", "photo (this is a URL)" - and I then place ten records in the table. I have no problem creating an article and displaying the ten lines of data (excluding the photo link - as I want this to open in a separate article).
I then create a another article (it has an id of 56) and create a second grid with just the "id" and "photo" fields and place it in this new article.
I then go back to the first grid and select the "id" field as the link? in the columns section Grid edit.
I then go the Links section of the Grid edit select the "Id" as the linked column, select Custom ID as the option and place the following in the text box
Please Log in or Create an account to join the conversation.
OK, now I see. You did everything OK, just the link needs some improvements.
With the link
index.php?option=com_content&view=article&id=56
you are just saying that it should open the article. Now you have to pass also some filter parameters. As mentioned in the topic here: toolsjx.com/support/3-suggestions/1208-s...ment-provided-by-url you can filter the data using this:
index.php?option=com_content&view=article&id=56&aso=exact&s_f=id&data_search=@ID
s_f=id sets that you want to apply filter to column 'id'
data_search=@ID sets that the search parameter will be replaced with the one from the first grid, depending on the linked column setting
aso=exact tells the Table JX to use exact search, so it won't display e.g. 10 ,11 and so on if you search for 1.
I think that it should work. Do you have this somewhere on-line?
Please Log in or Create an account to join the conversation.