- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Modules and plugin
				
			
 
					 
			- 
				Where question
				
			
 
		
	
	
	
						Where question		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			pcdewit
		
 
							- 
													Topic Author
											
 
		
		
					- 
				Visitor			
 
		
					- 
				
			 
		
			
		 
		
			
	
						12 years 11 months ago				#816
		by pcdewit
	
	
		
			
			
				Hello,
I want to show only the markers made by the current logged in user and found in the menu section the WHERE statement can be made. Can somebody tell me the php code to get the current userid within this where statement?
I know how to get it from here
<?php
$user = &JFactory::getUser();
echo "cf_user_id = ".$user->id
?>
Thanks in advance,
Peter de Wit			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 1929					
 
				
				
									- 
						Thank you received: 267					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 11 months ago				#828
		by gmapfp
	
	
		
			
			
				Hi,
In the field "Where", you can only write that SQL code.
For this function, You must modify the php code in the sources.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Modules and plugin
				
			
 
					 
			- 
				Where question
				
			
 
		
	
	
	
	
		Time to create page: 0.039 seconds