Problems with Primary Category Variables
Posted: 07 August 2008 03:43 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2008-07-30

Hello,

I just purchased the Primary Category module and I am having some problems using it.

I installed all the components in their respective folders.  I can assign a Primary Category to an entry in the CP with no problem.

However, I am having a problem trying to get the Primary Category variables to work in my code.

My page is displaying multiple weblog entries.  However, for troubleshooting purposes, I entered the basic code from the documentation (listed below) and still cannot see the data.

{exp:weblog:entries}
<p>{title}</p>
<
br />
<
p>{primary_category_name}</p>
{/exp:weblog:entries}

When my template renders, it simply displays the variable as text (ex. I actually see the string “{primary_category_name}” on my webpage) instead of using the variable to pull the primary category.

I am new to EE.  In addition, I do not know PHP.  So, if I am missing something totally basic, my apologies in advance.

Profile
 
 
Posted: 10 August 2008 12:33 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

marnie,

Are you sure you uploaded the Primary Category plugin in the Plugin’s folder? smile
(not referring to the Extension - there’s two parts to Primary Category)

 Signature 
Profile