Forums

link chronoconnectivity result to k2 article

nil85x 10 May, 2016
Hello,
I have the following problem:
I enter through ChronoForms the values of name, category, description of my article.
By chronoconnectivity I see the inclusion of these values on the website front end of joomla.
Now what I want to do is create a shortcut on the item name, and point it to an article already created with k2. How can I do?
GreyHead 10 May, 2016
Hi nil85x,

I expect that you can create a new Joomla! menu item. I'd suggest that you check the Joomla! docs for that.

Bob
nil85x 10 May, 2016
A new menu? but so I can not simply make this link?
GreyHead 10 May, 2016
Hi nil85x,

Sorry, my mistake.

You can create a custom link using the Front List > HTML box. I think that will do what you need.

Bob
nil85x 10 May, 2016
But in html box I can not put a specific link for that item
nil85x 10 May, 2016
I would insert a specific connection for each id of each article, because if I write tipo.nome: http: //nil85x.altervista.org/index.php/anime/item/12-neon-genesis-evangelion html box, all articles that will create will point to the same page
GreyHead 10 May, 2016
Hi nil85x,

If the value you want to add is in the data for the row then you can add it to the link.

Bob
nil85x 10 May, 2016
But how?
nil85x 10 May, 2016
I don't know how insert the link
GreyHead 11 May, 2016
Hi nil85x,

You'd add it as {model_id.column_name}

Bob
nil85x 11 May, 2016
I'm sorry, but I can not understand ... I mean I go in front list ---> html and here I must be able to associate a specific id (for example 18) to connect http://nil85x.altervista.org/index.php / anime / item / 12-neon-genesis-evangelion
GreyHead 11 May, 2016
Hi nil85x,

How do you know that is the URL for item 18 - is that information stored somewhere?

Bob
nil85x 11 May, 2016
The ID of the line 18 (you see in the pitcure). I wat associate this ID (therefore make id or name linkable) to that specific link.
GreyHead 11 May, 2016
Hi nil85,

Yes I get that. But where is that information saved - that line with ID18 should be linked to that URL?

Bob
nil85x 11 May, 2016
In the db catalogo57 (you see also this in the picture)
GreyHead 11 May, 2016
Hi nil85x,

Sorry, I don't' see a picture. Is catalogo57 the name of a column or of a table?

You have to have the link - or the unique part of it available in the CC data to use it in a link.

Bob
nil85x 11 May, 2016
Is the name of the table that I have created with chronoforms
GreyHead 11 May, 2016
Hi nil85x,

And the link information is a column in that table?

Bob
nil85x 11 May, 2016
No. I created a chronoforms with name, image, category, description. I made linkable name in chronoconnectivity and I wish click on the name to go to the page of the article that I have created with k2. Therefore link specific id with the page of the article
nil85x 11 May, 2016
Table created in Chronoforms
nil85x 11 May, 2016
If I put a form for the link of k2 article in the design of chronoforms? Or better is possible put a rooldown in the design of chornoforms link to k2 article table? I'll try tomorrow. What you say? :-)
GreyHead 12 May, 2016
Hi nil85x,

You can't create a link unless you have the data needed to create it.

In this case it sounds as though you need to update the table used for the listing to include the new K2 article id.

Bob
nil85x 12 May, 2016
So I've come up with another idea:
in ChronoForms I create another textbox where I copy the link of the k2 article.
The value is properly loaded into the database and visualize with chronoconnectivity, but if I make it "view linkable" does not go (pointing to empty ... why?!? !!?)
nil85x 12 May, 2016
Link problem
GreyHead 12 May, 2016
Hi nil85x,

Because View Linkable creates a link to a form to View the data.

You need it in the Custom HTML of LInk boxes.

Bob
nil85x 14 May, 2016
And how do I use it? You mean this?
nil85x 14 May, 2016
If I write in this way every name that I will insert will always point to the same page. I want to make a link to a different page for each name that I insert. How can I do?
GreyHead 14 May, 2016
Hi nil85x,

Yes, In the HTML box as I said, you add the HTML for a link
<a href='http:// . . . ' >Click here to read</a>
But the link need to include some reference to a specific article and as far as I can see you haven't yet said how that information is available in the listing.

Bob
nil85x 14 May, 2016
Here is the table. How create the reference? The article was created with k2
nil85x 14 May, 2016
How can I include the reference? (I would associate the id to the link of k2 article that I added in HTML)
nil85x 14 May, 2016
This is what I would like to
GreyHead 14 May, 2016
Hi nil85x,

Once you have saved the article you need to add the new article id into a column in the table, then you can reference that from CC.

Bob
nil85x 14 May, 2016
Therefore I must create a new field in this table and then connect the id of article in k2 table with this new field?
GreyHead 14 May, 2016
hi nil85x,

Yes, there has to be some way of knowing the id of the article you want to link to.

Bob
nil85x 14 May, 2016
I'll find with phpMyAdmin, but after how conncet the id of the k2 article with a table's field of chornoforms?
nil85x 14 May, 2016
I'll make a relation between this two tables with the id, write? Then I will create a new column in chronoforms table for the id of k2 articles...But after how connect the link...I will let you know
nil85x 14 May, 2016
Found it...id 12, table n0jh8_k2_items
nil85x 14 May, 2016
And now?
GreyHead 15 May, 2016
Hi nil85x,

I don't know anything about K2 but I imagine that after you create a K2 article the id is available to you so it can then be saved in the CF table.

Bob
nil85x 22 May, 2016
Hello,
Now that I have found the id of the table, I wanted to know if it is possible to connect this id in the dropdown ChronoForms, in order to make it appear in the drop down menu. More precisely I would like to understand where to insert the table name and id in the drop down box options.
GreyHead 22 May, 2016
Hi nil85x,

Presumably the table name is the same so you don't need to include that. You can include the id in the value part of a select drop-down. If you are getting the data from a DB query you can use the Dynamic Data options in the Drop Down element to do this.

Bob
This topic is locked and no more replies can be posted.