Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
3 questions on a) date, b) single page, and c) new publishing rule (short news)

 

 


Karsten
New User

Jul 28, 2008, 5:34 AM

Post #1 of 6 (3148 views)
Shortcut
3 questions on a) date, b) single page, and c) new publishing rule (short news) Can't Post

Hello, I'm getting ever more happy about this CMS. Its very powerful.

I'm currently custom designing my site and I have 3 questions:

1. Date format
- I would like my articles to display only the data (e.g. 28 July 2008) - not the date. How do I do this?
- I would also like the date to be displayed just above the article title. What needs to be changed in globalindex.html and articlepage.html?

2. Single page problem
I want my site to be able to create single pages and have been following this tutorial: http://www.interactivetools.com/docs/doc.cgi?/articlemanager2/tutorials/single_page_categories.html

I'm using the latest version of Artman 2.16 and got stucked in step 4 (modifying categoryindex.html) because the categoryindex.html - version 2.16 - does not correspond to that of the tutorial.

The tutorial reads:

"First, you'll want to find this code in the template file:

<hr size=1><br>
<!-- template insert : $articleList$ -->"

But there is such thing as <hr size=1><br> in 2.16. It looks like this:

<div id="main">
<!-- template insert : $articleList$ -->

So where should i put:
$category.content$
<br>

3. New publishing rule: short news

Finally, I would like to create a new publishing rule for "Short News" (or notes).
In this publishing rule there should be no article summary (and read more link).

How do I make this rule?

Thanks in advance


Jake
Staff / Moderator


Jul 28, 2008, 12:03 PM

Post #2 of 6 (3085 views)
Shortcut
Re: [Karsten] 3 questions on a) date, b) single page, and c) new publishing rule (short news) [In reply to] Can't Post

Hi Karsten,

I'm glad to hear you're happy with Article Manager!

You can change the date format used on your site by using the "format" placeholder modifier with your $article.date$ placeholder. You can read more about the use of this by clicking the "format" link under the "For date placeholders" heading on this page of the documentation:

http://www.interactivetools.com/docs/articlemanager2/templates/index.html

To change the location of your date text, all you need to do is move the $article.date$ placeholder to the spot on your template where you'd like that information to appear. On your articlePage.html template you can put this placeholder wherever you'd like, and on the globalIndex.html template you can use it anywhere within the articleRow template cell.

Likewise, you can add the $category.content$ placeholder wherever you'd like on your categoryIndex.html file - you'll just want to keep it outside of the articleRow template cell.

One quick question on your short news section - is this only to be used for certain categories on your site, or did you want this section to include articles from all categories?

I look forward to hearing from you. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.



Karsten
New User

Jul 28, 2008, 1:21 PM

Post #3 of 6 (3059 views)
Shortcut
Re: [Jake] 3 questions on a) date, b) single page, and c) new publishing rule (short news) [In reply to] Can't Post

Thanks, Jake

ad. 1. But how exactly do I change the date modifier?

Your documentation left me with no clues, as this page - http://www.interactivetools.com/docs/articlemanager2/templates/modifier_chaining_modifiers.html - shows a 404 not found error

ad. 3. Short news will basically be used for all categories, so how...?


Jake
Staff / Moderator


Jul 28, 2008, 8:13 PM

Post #4 of 6 (2910 views)
Shortcut
Re: [Karsten] 3 questions on a) date, b) single page, and c) new publishing rule (short news) [In reply to] Can't Post

Hi Karsten,

Did you take a look at this page for the date placeholder modifier information?

http://www.interactivetools.com/docs/articlemanager2/templates/modifiers_format.html

I'm not sure where you got that bad link from, but the one used on the main documentation is working.

In regards to your other item, I was curious about how you wanted the structure of this short news area to work for your site. What is the purpose of this area, and what pages did you want to display this information on? I just want to make sure that I'm understanding your needs completely before writing something out for you. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.



Karsten
New User

Jul 29, 2008, 1:56 AM

Post #5 of 6 (2825 views)
Shortcut
Re: [Jake] 3 questions on a) date, b) single page, and c) new publishing rule (short news) [In reply to] Can't Post

Thanks Jake

ad. 1. Yes, I did take a look at the placeholder modifier information, and I still don't get it.
For instance, in the article page, I changed $article.date$ to $article.date:format(dd, MMMM, yyyy) and made a test article.

The article date now shows up as: 29 Jul, 2008 - 10:33:12 AM

I.e. still with the hours which I want to get rid off.

I need your help on this: Please explain what I need to do specifically (I want to change the date format of the articles on the globalindex and article pages)
The documentation is not of much help on this.

Ad. 3. Let me explain in more detail.

When creating an article in Artman, there is a article summary and a content field.

We often post short news which only have 3-5 lines, and the current set up of Artman doesn't accommodate for this.

• If I post the 3 line story in the summary, the story shows up in the global index page in full, but with a "read more". And there's nothing more to read. On the article page, there will be no content unless I also post the 3 line story in the content field.

So my request is pretty straight-forward: I'm looking for a publishing rule which
display the 3-5 line story in full on the global index page, but without the "read more" link, and the 3-5 line story should also be displayed in the article page.

Nearly all news sites have such a feature, and we would like to have it too for our news site. We also publish many longer articles, but the default setup of Artman isn't geared to short news.


Jake
Staff / Moderator


Jul 30, 2008, 12:18 AM

Post #6 of 6 (2774 views)
Shortcut
Re: [Karsten] 3 questions on a) date, b) single page, and c) new publishing rule (short news) [In reply to] Can't Post

Hi Karsten,

The code change you made for the date display should have worked - it's tough to tell what might have happened without looking at your template directly, so if you'd like you can submit a second-level support request on this. That way we can take a look at your installation directly:

http://www.interactivetools.com/support/

To set up the kind of article format you've described, the only change you'll need to make will be to find this line of code on your globalIndex.html and categoryIndex.html templates:


Code
<a href="$published.articlePage.url$" class="readmore">Read more</a>


Now replace that with this:


Code
<!-- templateIf: $article.content$ ne "" --> 
<a href="$published.articlePage.url$" class="readmore">Read more</a>
<!-- /templateIf -->


The extra code I added there is set up to only display the "Read More" link when something has been entered into the content field.

Don't hesitate to contact us. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4