- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Documentation
				
			
 
					 
			- 
				php syntax display custom fields in article
				
			
 
		
	
	
	
						php syntax display custom fields in article		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			mjl1817
		
 
							- 
													Auteur du sujet
											
 
		
		
					- 
				Visiteur			
 
		
					- 
				
			 
		
			
		 
		
			
	
						il y a 10 ans 8 mois				#3440
		par mjl1817
	
	
		
			
			
				Hi,
I am attempting to modify one of the templates but I am running into a difficulty  regarding the custom fields. I cannot figure out the correct syntax structure to pull the correct field or information. I have tried the following
if ($row->custom field name!=null) {echo '<span><span itemprop="customfieldname">'.$row->customfield.'</span></span><br />';};
also I have tried echo "$customfieldalis";
and     $txt = "";
$x = $customfieldname;
$y = $customfieldname;
echo $txt;
echo "<br>";
echo $x;
echo "<br>";
echo $y;
none of which works. Could you please give me an idea of what I am failing to do?			
					 
	 
			
	
		
			Le sujet a été verrouillé.		
													 
	 
	
		
				
	
		Réduire
		Plus d'informations
		
			
									- 
						Messages : 1929					
 
				
				
									- 
						Remerciements reçus 267					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						il y a 10 ans 8 mois				#3445
		par gmapfp
	
	
		
			
			
				Hi,
The name of the custom fields are :
field_xx
with xx are the id of the field.			
					 
	 
			
	
		
			Le sujet a été verrouillé.		
													 
	 
	
		
				
		- 
			mjl1817
		
 
							- 
													Auteur du sujet
											
 
		
		
					- 
				Visiteur			
 
		
					- 
				
			 
		
			
		 
		
			
	
						il y a 10 ans 8 mois				#3447
		par mjl1817
	
	
		
			
			
				Solved! works perfectly,
Thank you!			
					 
	 
			
	
		
			Le sujet a été verrouillé.		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						Forum
			
		
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Documentation
				
			
 
					 
			- 
				php syntax display custom fields in article
				
			
 
		
	
	
	
	
		Temps de génération de la page : 0.052 secondes