123 Posts
EclipseMedia
10 years ago
8
Topic

I posted way back when Seblod was 3.1.5 and I figured this bug would of been fixed by now with the latest version, But it isn't and it totally shuts down my clients sites. When will this notorious issue be fixed. 

Today it happened when I simply went into Components -> Seblod 3.x -> Lists & Search Types -> Clicked my own I created -> The "Item" tab and "Field Tab" was selected by default -> and I simply added a field to Mainbody and clicked Save. That should not break the template. I didn't unselect the template. This makes it almost impossible to continue making custom changes if its going to produce "Error Oops! Template not found.." error on front end. There are so many complaints about this.

Get a Book for SEBLOD
123 Posts
EclipseMedia
10 years ago
2
Level 1

I believe this is a direction to fix it. 

http://www.shopping-online-outlet.com/to.php?aff=cmlvbmU=&dest=bmxhbmdsb2k=

693 Posts
rpoy
10 years ago
1
Level 2

Hi EclipseMedia,

Thank you for creating the Tracker item.  Were you able to fix the issue by saving the Search Type again as outlined here?

regards,

Randy

123 Posts
EclipseMedia
10 years ago
0
Level 3

Yes I have. I now wait for a minute before I click save. It seems to be helping will the bug gets looked at. :)

39 Posts
dazzafact
10 years ago
0
Level 1

here is a dirty solution for the backend- this shows (for me) the positions from the "MainBody":

go to file "libraies/cck/base/form/form_inc.php"

edit LINE 135 to:

if ( ! $templateStyle ) {
	$templateStyle->id='24';
	$templateStyle->name='seb_one';
	$templateStyle->params=json_decode('{"field_label":"1","field_description":"0","variation_default":"seb_css3","position_force_height":"1","position_margin":"8","position_header":"0","position_header_variation":"","position_left":"0","position_left_variation":"","position_top":"1","position_top_variation":"","position_sidebody_a":"0","position_sidebody_b":"0","position_bottom":"1","position_bottom_variation":"","position_right":"400","position_right_variation":"","position_footer":"0","position_footer_variation":"","debug":"0"}',1);
	#$app->enqueueMessage( 'Oops! Template not found.. ; (', 'error' ); return;
}

a cleaner Version would be to go to MySql->#___cck_core_types change field values of template_admin to id "24".
This last solution works a few times until it breaks again down.

123 Posts
EclipseMedia
10 years ago
0
Level 1

Hey szczepan, 

I really think you are on to something. The bug goes like this. By default positions like header, footer, left are set to 0 meaning off. Most, if not all of use usually uses one or all of those positions so we turn them on and then add the fields to those positions. What happens is that sometimes (and there is no pattern) when you go to edit a Content Type, the positions "RESET" back to the default 0 (off) . Which breaks the template. 

The solution in plain terms is to make sure SEBLOD "loads" the saved settings the user has done all the time. It seems like it preloads the defaults then updates the settings to what we use, but doesn't always work.

4229 Posts
Kadministrator
8 years ago
0
Level 1
123 Posts
EclipseMedia
8 years ago
1
Level 1

Will this be added to the next SEBLOD release? I rather not hack it then override the fix when I do the next update? This is awesome news BTW. :)

4229 Posts
Kadministrator
8 years ago
0
Level 2

Hi,

it is not my call to include this in next release, but having few good test will certainly help. Chaged fiels are tempalte layouts so to test without hacking core files you can easily create template overrides in your admin template

https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

Get a VIP membership