added variables config
							parent
							
								
									4316857b5e
								
							
						
					
					
						commit
						89770328b9
					
				| 
						 | 
				
			
			@ -116,8 +116,8 @@
 | 
			
		|||
    </div>
 | 
			
		||||
    <script src="https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js"></script>
 | 
			
		||||
    <script>
 | 
			
		||||
        const contentUrl = "{{url('/types/'.config('settings.type').'/contents')}}";
 | 
			
		||||
        const locationField = "{{config('settings.location_field')}}";
 | 
			
		||||
        const contentUrl = "{{url('/types/'.$_type.'/contents')}}";
 | 
			
		||||
        const locationField = "{{$_location_field}}";
 | 
			
		||||
        //const filterFields = ['categoria'];
 | 
			
		||||
    </script>
 | 
			
		||||
    <script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
[
 | 
			
		||||
    {
 | 
			
		||||
        "name": "Type",
 | 
			
		||||
        "value": "Place",
 | 
			
		||||
        "type": "string",
 | 
			
		||||
        "required": true
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        "name": "Location Field",
 | 
			
		||||
        "value": "Address",
 | 
			
		||||
        "type": "string",
 | 
			
		||||
        "required": true
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
		Loading…
	
		Reference in New Issue