Support » Plugin: Pods - Custom Content Types and Fields » lost 1 pod single view

  • Resolved go-systems

    (@go-systems)


    Hi, I have the PODS displaying the list of items, but when I view the individual ones, it shows me the code. The page with the list of the softwares is working perfect.

    {@software_name} instead of the value of the field.

    It was working, not sure what I changed that caused this. What could cause this?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @go-systems
    Pods magic tags can only be used in Pods templates and shortcodes, not in the post content.
    I don’t see the magic tag on the page link you added, is this issue already fixed?
    Cheers, Jory

    Hi Jory,

    Thanks for replying. It is in a template. Here is my template code, if that might help ::

    [before]
    <style type="text/css">
    
    	
    	.software_name {background-color: #c16722; width: 100%;  text-align: center; padding: 20px; color: #FFF;}
    	
    	.software_logo {background-color: #FFF; padding: 20px; margin-bottom: 20px; max-width: 150px;text-align: center; margin-left:auto; margin-right: auto;}
    	
    	.software_introduction {text-align: center; }
    	
    	.casino { display: inline-list; width: 100%;  background-color: #FFF; border: solid #CCC thin;margin-right: 3px;
    		}
    	.casino:hover { display: inline-block; width: 100%; background-color: #f7f7f7;}
    	
    
    </style>
    
    <h1 class="software_name">{@software_name}</h1>
    <div  style="text-align: center;"><img src="{@software_logo._src}" class="software_logo"></div>
    <div class="software_introduction">{@software_introduction}<div>
    
    <!----
    		
    		<ul>[/before]
    
    		<li class="casino_{@casinos.GUID} casino">
    			
    			<ul>
    				<li>{@casino.casino_name}</li>
    				
    				<li><a href="{@permalink,esc_url}"><strong>{@casino.casino_name}</strong></a></li>
    				
    				<li><a href="{@permalink,esc_url}"><img src="{@casino_logo}" style="width: 50px; height:50px;"></a>
    				</li>
    					
    				<li>
    				{@casino_bonus.bonus_amount}
    
    				<a href="{@casino_affiliate_link}"><button style="padding: 10px; margin-top: 20px;background-color: #C16722; 
      border: none;
      color: white;
      padding: 10px 10px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 14px;
    	">Play Now</button>
    					</li>
    
    	
    	
    	[after]</ul>
    			[/after]
    
    --->
    
    	<br><hr>
    	{@comments}
    	<Br>
    
    	
    	<div class="casino_software_games">
    	
    		
    		{@game_name}
    		
    	
    	
    	</div>
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @go-systems
    It seems none of the magic tags are working.
    I see [before] at the top of your code which looks like it at a incorrect location, could you correct that?
    Cheers, Jory

    Hi Jory,

    Thanks, it helped, I played to much and messed up design, so im recreating the template, and going to design it a bit different.

    Thanks Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.