article title + icon in select field

More
7 years 10 months ago #72737 by micker
sorry i don't understand ..... you can't create 1 link to X item in same ahref
maybe you can use multiselect field

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 10 months ago #72738 by micker
sorry in don't understand what you whant to do .....
exmplain more the goal the context ...
1 what you want to display
2 what is tour field configuration
...

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 10 months ago #72739 by aminweb
please see my screen & senario.

1- I have a one field (select) by name HotelName this field`s value load by sql query by this syntax:(load article title in category id 10)

pasteboard.co/HfbcH8x.jpg
Code:
SELECT DISTINCT id as value, title as text FROM #__content AS i JOIN #__flexicontent_cats_item_relations AS rel ON rel.itemid = i.id AND rel.catid= 10 WHERE i.state IN (1, -5)

2- when user submission items , select fields show title of article in catid=10

pasteboard.co/HfbsX6C.jpg


3- Now,after submission I want this value linked to article.when user click on value(title) redirect to article

pasteboard.co/Hfbvqhc.jpg


please help me.sooooo thanks

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

More
7 years 10 months ago #72740 by micker

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 10 months ago #72741 by aminweb
this tutorials for category & contact linked.
How to create a field that links to a category & contact

but I want linked to article

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

More
7 years 10 months ago #72742 by micker
i already explain it !! please adapt
Code:
index.php?option=com_flexicontent&view=item&id=
id=YOURVALUEINSQL
that create a link to your item

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 10 months ago #72743 by aminweb
ohhhhhh.
I'm confused :(

I get only the title(NOT ID) of every article with these codes.
now how get id of articles???

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

More
7 years 10 months ago #72744 by micker
in you field you can set value or id
=> read faq above
5. as Frontend Display
select "value" instead of "text"

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
7 years 10 months ago #72745 by aminweb
I do it.worked.but have a problem
I change title -> id and now get id of articles :

SELECT DISTINCT id as value, id as text
FROM #__content AS i
JOIN #__flexicontent_cats_item_relations AS rel
ON rel.itemid = i.id AND rel.catid= 10
WHERE i.state IN (1, -5)

and use this syntax in prefix:
Code:
<a href="/index.php?option=com_flexicontent&view=item&id=

worked fine and linke to article.
but now not show title text
in suffix :
Code:
" alt="Display article">Some text</a>
show only Some text :(
now how solve it? I want show articles title name

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

More
7 years 10 months ago #72747 by aminweb
no soluation way?

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save