 |

Dennis de Rooy
User
Feb 1, 2007, 9:04 AM
Post #1 of 7
(465 views)
Shortcut
|
|
summary of specific articles on globalIndex
|
Can't Post
|
|
I'm still struggling with the new AM2. I'm trying to get the summaries of specific articles to show on the homepage (globalIndex). Is this something I can work out using the publishing rules or by includes? Anyway, please help me out one more time
|
|
|  |
 |

Divya
User
Feb 1, 2007, 8:23 PM
Post #2 of 7
(457 views)
Shortcut
|
|
Re: [Dennis de Rooy] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
Hi Dennis Thanks for the post , You can be able to display the summaries of specific articles on the homepage (globalIndex) by creating a new field nalmey "showOnFrontPage" to the article database field.After creating this new field you have to apply some template if statement in the GlobalIndex.html page for showing articles which has got the "showOnFrontPage" field checked. For getting this done follow the below steps. 1.Go to Admin>Database Editor and select edit tables & fields for articles. 2.Now click Add Field from the bottom side of the page 3.Enter the field label as Show On Front Page,fieldname as showonfrontpage,Field Type as checkbox rest leave it as it is and click save 4.Now open your globalIndex.html page which is present in the articleList/ directory and look for the code where you have included the $article.title$ place holder 5.Include a templateif statement before it so that it will look like
<!-- template insert : $articleList$ --> <!-- templatecell : articleRow --> <!-- templateIf : $article.showonfrontpage$ eq "Yes" --> $article.title $ <!-- /templateIf --> <!-- /templatecell : articleRow --> 6.Save this page and go for publishing the globalindex pages . Give this a try Dennis and let me know whether it helped Cheers Divya
|
|
|  |
 |

Roberto
User
Feb 5, 2007, 12:47 AM
Post #3 of 7
(442 views)
Shortcut
|
|
Re: [Divya] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
Hello Divya, and all forum guests :-) Also a question like this. I want the latest summary on a page from a other categorie. This page i used for the basic homepage. It is 1 page with items from other categories. 2 summarys from other categories and 1 headline ( 10 items) from a other categorie How can i include this. Now i am getting whit a include the hole page again in the basic page. He take also the template of the article but i want only the specific article inside the basic page. How can i do this in article manager 2. Best regards Roberto
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 5, 2007, 4:14 PM
Post #4 of 7
(432 views)
Shortcut
|
|
Re: [Roberto] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
Hi Roberto, Thanks for your post. I'm not quite following what you're asking here -- could I get you to rephrase? Thanks! I look forward to helping you. :) Donna
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.
|
|
|  |
 |

Roberto
User
Feb 6, 2007, 5:05 AM
Post #5 of 7
(427 views)
Shortcut
|
|
Re: [Donna] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
Hi Donna, Yes i rephrase it for you :-) I have a page in articlemanager where i put some php include. This page i use is the start page. I use a script that is going to redirect you to that page. On this (start) page I want some information from other category. So i want to have 2 article's as a summary on that page and the latest 10 headlines of a another category. So i have 4 different category on the page. 1 the category of the (start)page it self. ( the latest summary of welcome on my website) 2. the latest summary (1x) of category ( sportnews ) 3 the latest summary (1x) of category ( othernews) 4. Headlines of the latest 10 articles of a category ( clubnews ) On the old article 1 manager it works fine with the included. I have make a template with nothing in for the included category on the start page. Now in the new Article Manager 2 i can included, But then i see on the startpage also the entire website again in the startpage. I think i have to use a code from Article Manager and not make use from the include. How i do this, or can i still use the include?? Or am i make a big mistake her and is the template not good to use for the things i want to do. How can i make the things i want to do. Can i mail you the example's of the website so you understand it a little bit better?? Best regards Roberto UPDATE: I have not the file ( thisisapage_67.php ) but the index.php included. The specific category is using a template with only the source code from article manager. So it is a blanc page It is working now. Wondering of there is a rule that you can always using only the latest content and not the hole lay out. So you van incuded easy any article on every page.
(This post was edited by Roberto on Feb 7, 2007, 11:44 AM)
|
|
|  |
 |

jpea1
User
Feb 7, 2007, 6:57 AM
Post #6 of 7
(418 views)
Shortcut
|
|
Re: [Roberto] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
javascript: postShortcut(52905) After reading this post, is "showonfrontpage" preferable to "notonfrontpage" (see 1/24/07 post #52905)? What is the difference? In the end, under "notonfrontpage" the original goal was to be able to select only the specific articles to appear on the front page. And "notonfrontpage" was a bit more complicated to set up. We're all always looking for a better and easier way! thanks - jpea1
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 7, 2007, 4:19 PM
Post #7 of 7
(405 views)
Shortcut
|
|
Re: [Roberto] summary of specific articles on globalIndex
[In reply to]
|
Can't Post
|
|
Hi Roberto, I think it'll be a little easier for me to help if I can take a look at your site directly. Can I get you to fill out a support request form? You can find this on our website here: https://www.interactivetools.com/support/email_support.cgi Thanks! I look forward to helping you. :) Donna
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.
|
|
|  |
|