- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Modules and plugin
				
			
 
					 
			- 
				Where question
				
			
 
		
	
	
	
						Where question		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			pcdewit
		
 
							- 
													Auteur du sujet
											
 
		
		
					- 
				Visiteur			
 
		
					- 
				
			 
		
			
		 
		
			
	
						il y a 13 ans 3 minutes				#816
		par 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			
 
					 
	 
			 Connexion  ou Créer un compte pour participer à la conversation.
	
		
			 		
													 
	 
	
		
				
	
		Réduire
		Plus d'informations
		
			
									- 
						Messages : 1929					
 
				
				
									- 
						Remerciements reçus 267					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						il y a 12 ans 11 mois				#828
		par 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.			
					 
	 
			 Connexion  ou Créer un compte pour participer à la conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Modules and plugin
				
			
 
					 
			- 
				Where question
				
			
 
		
	
	
	
	
		Temps de génération de la page : 0.046 secondes