[SOLVED] [SH404SEF does not support link generation in backend] SH404SEF and Flexicontent item preview link in backend

More
10 years 1 month ago - 10 years 1 month ago #54284 by ggppdk
Hello

seems in recent version of SH404SEF / J3 , frontend links cannot be generated by calling them from backend,

we may need to ask authors of SH404SEF on how to do this,

or SH404SEF may need to update something in their code


-- 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...
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 1 month ago #54297 by Chabi01
Hi Georges,
I have allready ask this to the "old" forum of sh404 here : anything-digital.com/forum/extension/sh4...link-in-article.html
As Sh404 is now handled by weeblr.com/ , i'm going to ask again : if i have a response on my side, i will go back with.

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

More
10 years 1 month ago #54306 by Chabi01
Me again :)
I give you the response of the support guy for sh404 :

Hello,
I use Sh404 for a long time and Flexicontent CCK as well.
In article management, there is a link for preview : the link to preview doesn't work anymore with this two component.

On Flexicontent board, the lead developer told me the issue is from SH404... Can you help me for this ?

To give you all for this, i have all these links :
www.flexicontent.org/forum/20-general-su....html?start=10#54284

anything-digital.com/forum/extension/sh4...link-in-article.html

This is a real problem : none of my website work with the preview now...
Take a look to the screenshoot on this post : www.flexicontent.org/forum/20-general-su....html?start=10#54251

Thanks for the help.
Xavier Lemoine - aka Chabi01, moderator on Joomla.fr

Hi

See: take.ms/wdI2c

It's more than "light" for George to answer that. Joomla never allowed front end URL creation in the backend. It works with Joomla SEf because URL are not stored in database, but cannot work with database-backed SEF extensions of course, as URLs are not stored in database when FC creates them on the fly.

sh404SEF has had an API for some years to deal with that, and I remember discussions about this with Emmanuel, the original FC developer (is he still around?) when he implemented the FC plugin for sh404SEF and I'm pretty sure that code was an FC before:

if (defined('SH404SEF_IS_RUNNING'))
{
$sef = Sh404sefHelperGeneral::getSefFromNonSef($nonSefUrl, $fullyQualified = true, $xhtml = false, $ssl = null);
}



I tested it again just in case, and it works fine for me.

Rgds

Hi again,
First, many thanks for your quick answer :)
I'm going to give your answer to Georges (Flexicontent) : with this, he can maybe help to solve this :)

Thanks again for your help !
Xavier


Georges, how to handle this ? What is the file to look at ?
Xavier

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

More
10 years 1 month ago #54337 by ggppdk
Hello

ok will use non SEF url , until more time to test this , and use this code


-- 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
10 years 1 month ago #54355 by ggppdk
Hello

added in (item form) preview link the suggested code, it seem to be working


-- 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
10 years 1 month ago #54363 by Chabi01
Hi Georges,
What code ? I didn't see a new release or i don't look at the right place ?
Thanks :)
Xavier

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

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