Scenario:
"I am using Nucleus for podcasting and I am posting about 6 podcasts per week in the near future. I want my audience to be able to find the freshest podcast with one click when they come on the site. For now I am just going to manually link from the navigation section to the newest podcast posted but I am looking for a way to automate this so I don't have to keep coding by hand everytime I post a new file."
Original forum thread:
http://forum.nucleuscms.org/viewtopic.php?t=6875
Solution:
Use a combination of if statements and templates.
Method:
This method will assume that you are using NP_Podcast to podcast with Nucleus.
Using a category:
<%if(category,catname,Podcast)%> <%blog(podcast/latest,1,Podcast)%> <%endif%>
Using another blog:
<%if(blogsetting,bname,Podcast)%> <%blog(podcast/latest,1)%> <%endif%>
![]()
Total votes: 4 - Rating: 5.50