154 Posts
WebOne
8 years ago
6
Topic

I have SEBLOD 3.7.1 installed on Joomla 3.4.3. The site is not using SEF URLS.

Everything is working fine but I have some problem with the urls on AUTO REDIRECT.

When I create a new form it goes to the url fine

index.php?option=com_cck&view=form&layout=edit...

When I setup a menu to a list type with auto-redirect for one result (so it goes to form edit) then the url shows & AMP ;  in the url. (note I have added spaces in the & AMP ; as this forum is converting the & AMP ; to read &)

so

index.php?option=com_cck&view=list&search=listform&task=search

redirects to (

index.php?option=com_cck& AMP ; view=form& AMP ;layout=edit & AMP ;type=form1...

I need the url redirecting without the & AMP ; as this is causing some issue with a module displaying properly on the page (when I enter the url replacing & AMP ; with & it works fine)

ie. I'd like it redirecting to:

index.php?option=com_cck&view=form&layout=edit&type=form1...

Are there any setting / file changes you can advise?

Get a VIP membership
121 Posts
deralex
7 years ago
0
Level 1

Hi!

Have you solved your problem? Same with me...

4229 Posts
Kadministrator
7 years ago
3
Level 1

In the libraries/cck/base/list/list.php line 379

try changing

$url    =  ( $url != 'index.php' ) ? JRoute::_( $url ) : $url;

to

$url    =  ( $url != 'index.php' ) ? JRoute::_( $url, false ) : $url;
121 Posts
deralex
7 years ago
0
Level 2

Great!!!! Same here:

In the libraries/cck/base/form/form.php line 148

121 Posts
deralex
7 years ago
1
Level 2

Getting mad... New installation, CCK 3.9.1, same bug. Calling the user form shows up "&" within the url. Fixing the two files mentioned in this thread doesn't help. Any ideas?

4229 Posts
Kadministrator
7 years ago
0
Level 3

seems that redirect function is not used anymore, now you need to change

plugins\cck_storage_location\joomla_article\joomla_article.php line 734 from return JRoute::_( $route); to return JRoute::_( $route, false);

4229 Posts
Kadministrator
7 years ago
0
Level 1

I added pull request to fix this

https://github.com/Octopoos/SEBLOD/pull/274

Get a VIP membership