
ChetW
Staff

Nov 15, 2006, 9:52 AM
Post #6 of 8
(1698 views)
Shortcut
|
|
Re: [jublack2000] The value of static includes
[In reply to]
|
Can't Post
|
|
Hi Juliana, Thanks for the extra info! Article Manager has some really powerful publishing options that are going to make it easy to publish a page of your featured articles. There is a bit of setup to get it going so I have outlined all the steps below: 1. Login to your Article Manager admin section and go to 'Admin' --> 'Publishing', on this page select the 'create' button. 2. You will now be on a page where you create Publish Rules, we are going to create a rule based on the publishcron.ini information that you have provided. This new Publish Rule will include: --> The template to use for publishing this content. --> How many article will be published to this page. --> What category this page publish rule will apply to. --> Where this published static page will be placed on your server. 3. Fill in the Publish Rule you are creating with the follow details: Rule Name: featuredProjects Rule Description: This creates a static featured projects page. Rule Type: select "a list of articles" Template: select your "featuredProjects.html" template file. Placeholder set name: featuredProjects Published Files: Be sure that "One file - listing articles from selected categories" is picked. For filename type "featured-projects" and leave the <ext> that is in the second text field. Limit Results: 1 to 2 Publish Dir: Pick "Use custom publish directory", then use the browse button to point this publish rule at the /cron-includes/ directory on your server. Also fill in the actual Publish URL this url may look similar to: http://www.mysite.com/cron-includes/ Category filters: Select which category this publish rule applies to. When you are finished save your changes, what you have just done is create a publish rule that will create a static html page in your /cron-includes/ directory. This static page will be called "featured-projects.shtml" and will display only two listings from whichever category you are looking at. The include statement will look like this: <!-- #include virtual ="$published.featuredProjects.webpath$ --> Give this a try Juliana and if you have any questions I will be happy to help out. :) Cheers, Chet Woodside - 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]
|