Create and link custom field 'Author' to CB user profile

More
5 years 10 months ago - 5 years 10 months ago #73578 by alog
Hello there,

i tried to follow this FC documentation under to create a custom field  « Author profile » that links to the Community Builder profile of the author of the article:

flexicontent.org/documentation/faq/71-fi...ent-item-author.html  

with prefix : 
< a href="index.php?option=com_flexicontent&view=category&layout=author&authorid=
and suffix :
alt="This author's content">More content from this author

but it did not work out ...  thanks in advance
Last edit: 5 years 10 months ago by alog.

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

More
5 years 10 months ago #73579 by micker
what is html output ?

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
5 years 10 months ago - 5 years 10 months ago #73583 by alog
Hello,
well, as described i created a new custom field with « Select » field type
enable Use SQL Query with:  SELECT id AS value, name AS text FROM # __users WHERE id="{item->created_by}" as field element

the i removed space
in Frontend Display i’ve selected "value" instead of "text"
and as value prefix:<a href="index.php?option=com_flexicontent&view=category&layout=author&authorid=

as value suffix enter:" alt="This author's content">More content from this author


i also tried to use ‘Created by’ field core with same prefix and suffix values, but all of my custom fields values point to CB profil.

Destination URL is :  index.php?option=com_comprofiler&view=userprofile


Whatever I try, I can't get it to work!  Any clue?
Last edit: 5 years 10 months ago by alog.

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

More
5 years 10 months ago #73585 by ggppdk
Hello

i ll create the field suggested in the FAQ article
test
and correct the FAQ article if needed


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
5 years 10 months ago - 5 years 10 months ago #73587 by alog
 Hello,

i followed step by step every suggestions in the FAQ article but whatever I try to setup in the field settings, it doesn't work and I can't get it to display on every item page.

i've just send a PM

Thank you in advance.
Last edit: 5 years 10 months ago by alog.

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

More
5 years 10 months ago - 5 years 10 months ago #73599 by alog
Hello,

the field suggested in the FAQ article doesn’t work properly.
Every other field values were became selectable and display author’s profile when i click on it ... where the issue come from ?

- How to make Article's Author automatically displays on the article page (via the custom field) without having to select it in the form?

- how can i make language substitution for value suffix ‘More content from this author’?

Are you able to help me with this issue?
Last edit: 5 years 10 months ago by alog.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.523 seconds
Save
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