Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Specific Content question

 

 


Ginslinger
User

Mar 25, 2008, 11:15 AM

Post #1 of 8 (2447 views)
Shortcut
Specific Content question Can't Post

Working on a new AM layout where I need to have specific category content for a large number of categories (Each Different). This content would be in the form of something like a category introduction etc with articles from AM showing below the introduction area.

I know I can code this into the templates using the IF tags but I am wondering if this is the most resource friendly way of doing this as I am concerned with the amount of code that would end up in the category template.

Thanks
Tim


(This post was edited by Ginslinger on Mar 25, 2008, 11:16 AM)


Jake
Staff


Mar 26, 2008, 11:37 AM

Post #2 of 8 (2438 views)
Shortcut
Re: [Ginslinger] Specific Content question [In reply to] Can't Post

Hi Tim,

The best way to do something like this is probably to create a category field for this content. That way, all you have to do is add that placeholder to your categoryIndex.html template and the appropriate content will be brought in for each category. You would enter in the content on the category modification page when logged into Article Manager. Does this make sense?

Let us know if you have any other questions about this!
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


Ginslinger
User

Mar 26, 2008, 12:38 PM

Post #3 of 8 (2437 views)
Shortcut
Re: [Jake] Specific Content question [In reply to] Can't Post

Sounds like a plan. I'll give it a try.

Thanks


Ginslinger
User

Mar 26, 2008, 2:34 PM

Post #4 of 8 (2434 views)
Shortcut
Re: [Jake] Specific Content question [In reply to] Can't Post

Hey Jake: Works like a charm. Exactly what I needed.


Jake
Staff


Mar 26, 2008, 4:19 PM

Post #5 of 8 (2427 views)
Shortcut
Re: [Ginslinger] Specific Content question [In reply to] Can't Post

Hi Tim,

Glad to hear it - feel free to post any other questions that come up. Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


aussieincanada
User

Mar 20, 2009, 9:21 AM

Post #6 of 8 (2042 views)
Shortcut
Re: [Jake] Specific Content question [In reply to] Can't Post

How do I stop the same category introduction "blurb" from showing on the "next" page links after the number of category articles are reached eg. 15

Thanks, Ian.


Donna
Staff / Moderator


Mar 24, 2009, 11:38 AM

Post #7 of 8 (1994 views)
Shortcut
Re: [aussieincanada] Specific Content question [In reply to] Can't Post

Hi Ian,

I used the templatePlaceholderList command and came across a few different placeholders that would probably work for a templateIf on that page.

You could try something like this:

<!-- templateIf : $articlelist.thispagenumber$ = "1" -->
...your blurb placeholder here
<!-- /templateIf -->

...or you could try using the "$articlelist.firstresultnumber$" placeholder if that doesn't do it for you.

Give that a try and let me know if it works for you. :)

Donna

--
support@interactivetools.com


aussieincanada
User

Mar 24, 2009, 12:06 PM

Post #8 of 8 (1992 views)
Shortcut
Re: [Donna] Specific Content question [In reply to] Can't Post

Thanks Donna

That worked but I had to add an extra "=" as in:

<!-- templateIf : $articlelist.thispagenumber$ == "1" -->
...your blurb placeholder here
<!-- /templateIf -->

Cool