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

More
10 years 5 months ago - 10 years 1 month ago #52119 by Chabi01
Hi again,
Any news about this issue ?
I have a new install of Flexicontent on a new website : the preview works well.
So the problem is obviously linked to Sh404...
Thanks :)
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 5 months ago - 10 years 1 month ago #52129 by ggppdk
Hello

a frontend link generation while in backend is a little different,


-- and SH404SEF code is not called while generating link in backend !!

maybe solution is to generate a NON-SEF link for previewing
e.g. detect that SH404SEF link is active and generate non-SEF links


-- 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 5 months ago - 10 years 1 month ago #52136 by Chabi01
Hi Georges,

First, i don't really know how to do that :)

The link on the preview button is obviously allready translated by Joomla rooter as i see readable url (with the category name and item name).
When the url is shown on the frontend, sh404 try to find in his url pool the correct url and as the url is not in his database, he shows the 404 page.

It's not possible to deactivated sh404 for some url : if i deactivate sh404, that's for all url of Flexicontent, and that's not possible as i need sh404 for special treatment on my urls and for all the urls for Flexicontent.

If the url is human readable, that's because the joomla router and the .htaccess is active, and again, i cannot deactivate it.

Have you an idea ? I'm sure i'm not the only one in this situation...

Thanks again Georges.
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 3 months ago - 10 years 1 month ago #52777 by Chabi01
Hi,
Is anybody have a clue for this preview and sh404 ?

In my admin, i have an article.
When i click on the preview of an article, i have for example this results :
sportactive.net/en/site_content/ ... ?preview=1
And sh404 show me an 404 page...

If i disabled sh404, it works, but i can't disable sh404...
Thanks.
Xavier
Last edit: 10 years 1 month ago by ggppdk.

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

More
10 years 3 months ago - 10 years 1 month ago #52781 by ggppdk
Hello

fixed here:

github.com/FLEXIcontent/flexico ... f6cabd4b91


-- 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 3 months ago - 10 years 1 month ago #52805 by Chabi01
Hi Georges,
First of all : thanks again !
Now, i have a really different file in administrator/components/com_flexicontent/views/item/tmpl


What change do i have to do to this file ?
If i replace the numbered lines, i dont think it will working (maybe...surely i'm wrong :) )

I put my default.php in attachment : is that the correct file to modify ?
Thanks again for all your work.
Xavier
Attachments:
Last edit: 10 years 1 month ago by ggppdk.

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

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