Jump to content


k1000o

Member Since 09 Nov 2011
Offline Last Active Jul 09 2012 06:36 PM
-----

Posts I've Made

In Topic: DefaultDataMaker from other module

09 July 2012 - 06:36 PM

Thanks, I was missing this method, it works now.

In Topic: LinkAction with Symb.ly icons

08 July 2012 - 02:47 PM

Nice!! I'm just waiting to test it.
thanks

In Topic: Problem evaluating item->id value in Column Adapter from related list view

23 June 2012 - 07:51 AM

Hi Jason
After some thoughts I changed the strategy, the problem does not seems with zurmo but in the way yii/redbean resolves the name.
So I modified the function to receive the $data and then resolve the associated material-id in the function.
So we can close this one.
Thank you very much

In Topic: Problem evaluating item->id value in Column Adapter from related list view

22 June 2012 - 12:20 PM

These are the paths in the repository
  • The method __toString() of /protected/modules/materials/models/Material.php
  • The definition of the column adapter is /protected/modules/materials/adapters/columns/MaterialThumbListViewColumnAdapter.
  • The column adapter uses a new function in the imageGalleries module that returns the first image in the gallery /app/index.php/imageGalleries/default/ShowFirstRelatedThumbnailImage
  • The view that presents the MaterialThumbnail is /protected/modules/bombdetails/views/related/BomdetailsRelatedListView
I hope this helps

Thanks

In Topic: Field that sum column in list view

21 June 2012 - 09:12 PM

Refreshing the div didn't went quite well, the field was reloaded but the value was maintained. So the approach taken has been to call an ajax method after the deletion to recalculate the value and assign it to the field.

			    $.ajax({
				    type: 'GET',
				    url: '" . Yii::app()->createUrl('bomdetails/default/ReturnTotalBomdetailsFromAjax'). "?oppId=$oppId'   ,
				    success: function(msg){
					    //Change Value
					    $('#sumOfTotal').val(msg);					   
				    }
			    });