Author link tutorial bug

More
12 years 3 months ago #33659 by mauriestate
Hi,

Thanks for the help on this, :?: my configurations are exactly the same but I am still having the same error!

How can it be that a configuration works for a site and does not work for another site? I cannot see what I did wrong since everything seems the same in the field configuration?

Offering professional real estate and investment services in Mauritius. Visit us at www.sjkestate.com to also see the power of Flexicontent with Joomla to promote our services.

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

More
12 years 3 months ago #33663 by ggppdk
Replied by ggppdk on topic Author link tutorial bug
Thanks, everybody for assisting here:

Comparing algardata and tutorial query i see a mistake in the FAQ article (i updated FAQ article and corrected it):

the user_id should become id

Wrong:
SELECT id AS value, name AS text FROM #__users WHERE user_id="{item->created_by}"

Correct:
SELECT id AS value, name AS text FROM #__users WHERE id="{item->created_by}"


-- 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
12 years 3 months ago #33669 by igcorreia
Replied by igcorreia on topic Author link tutorial bug
:D that's why!

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

More
12 years 3 months ago #33671 by mauriestate

ggppdk wrote: Thanks, everybody for assisting here:

Comparing algardata and tutorial query i see a mistake in the FAQ article (i updated FAQ article and corrected it):

the user_id should become id

Wrong:
SELECT id AS value, name AS text FROM #__users WHERE user_id="{item->created_by}"

Correct:
SELECT id AS value, name AS text FROM #__users WHERE id="{item->created_by}"


You are right, that was the mistake, it works perfectly now, I can see the drop-down option to select the author.

As per this new field, there is a new text that appears on the item page as 'More content from this author'. However, when I click on this link, the page just refresh but I remain on the same page and I am not redirected to the author page!

Offering professional real estate and investment services in Mauritius. Visit us at www.sjkestate.com to also see the power of Flexicontent with Joomla to promote our services.

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

More
12 years 3 months ago #33683 by mauriestate
Hi,

I locate the main issue with this field, it does not work when default Joomla sef is enable in configuration.

When sef is enable, it remains on the same page, that is, as an example:

Current page is: www.mysite.com/item.html and when I click on the 'More content from this author' link, it just give me the new link www.mysite.com/item.html?layout= ... thorid=663

But it remains on the same page!

Offering professional real estate and investment services in Mauritius. Visit us at www.sjkestate.com to also see the power of Flexicontent with Joomla to promote our services.

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

More
12 years 3 months ago #33688 by igcorreia
Replied by igcorreia on topic Author link tutorial bug
I usually cahnge the ...index.php/... to the actual sef link. But that is me I prefer the fast approach. Is not the best one but does the job.

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

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