 | |  |
 |

JohnH123
New User
Mar 15, 2008, 3:50 PM
Post #1 of 3
(643 views)
Shortcut
|
|
Single Page Content menu troubles and Global Index questions
|
Can't Post
|
|
I am new to Article Manager and I am using version 2.1 with two issues to resolve. 1) I have followed and completed the "Creating Single Page Content" tutorial. I have created an unlinked category called "Contact Us" to be a "Single Page" item. I have gone through the Publishing Rules and set each one with exclusion options to exclude the "Contact Us" category. In my "categoryMenus/categoryMenu.html" template, I have: [code] <!-- templateInsert : $categoryList$ --> <!-- templatecell : categoryRow --> <!-- templateIf: $category.isSelected$ != '1' --> <!-- templateIf: $category.singlepage$ eq "No" --> <a href="$published.categoryIndex.url$" class="MainMenu">$category.name$</a><br><br> <!-- /templateIf --> <!-- /templateIf --> <!-- templateIf: $category.isSelected$ == '1' --> <!-- templateIf: $category.singlepage$ eq "No" --> <a href="$published.categoryIndex.url$" class="CurrentMenuItem"><i>$category.name$</i></a><br><br> <!-- /templateIf --> <!-- /templateIf --> <!-- /templatecell : categoryRow --> [/code] On the global index page, other category index pages, and article index pages, the "Contact Us" category is excluded from the menu. But on the "Contact Us" index page, it does show up as the selected category and the url ends with "...artman2/publish/contact_us/[unknown placeholder $published.categoryIndex.url$]" I inserted "$category.singlepage$" by each link and the appropriate "Yes/No" values show up on all pages' menus except the "Contact Us" menu. No publishing or template change seems to alter the menu for this "Single page" category. What am I doing wrong? How can I make it disappear from the menu? 2) Rather than have the most recent articles appear on the global index, I would like to be able to display particular information. Let us say, I wish to have some traditional "home page" content of embedded images, some sort of "welcome to our site" as well as perhaps a menu for the weekly dinner, the "thought-provoking quote of the week", or something that would need to be changed. It would be nice if this frequently changing content could be updated like an article or "Category Content" rather than updating the global index template each week. This would be especially true if one day someone who does not understand html needed to edit this information. If I can get the first problem resolved, could I use a include (php or article manager) to display a particular WYSIWYG field in the global index page? Or would I use some manner other than the "Single Page Content" method? Thanks.
|
|
|  |
 |

JohnH123
New User
Mar 16, 2008, 1:24 PM
Post #2 of 3
(612 views)
Shortcut
|
|
Re: [JohnH123] Single Page Content menu troubles and Global Index questions
[In reply to]
|
Can't Post
|
|
I seem to have it. (I should probably say that while knocking on wood with my fingers crossed. ) I recreated the "Contact Us" category and that seemed to resolve the issue. I may have made the category before I made the "single page content" changes or something. I had tried changing everything from publishing rules to templates as well as clearing my cache to see if it was the browser. And yet, I could not get the messed up "Contact Us" page to show any changes. It was as though the "Contact Us" category's index page was magically being rendered without the use of the templates or publishing rules. But, all seems well now. I think I figured out the second the part of my first post. I just created a single page category for the content and just excluded the global index from showing the rest of the categories. Then I just create articles for each part of the "main page" content, set the order for the articles to be displayed in a particular order (e.g. the main article for the "main content" would have the "Show this article first in lists" checked), and strip the code in the global index to just have "$article.content$" rather than the summary, article title, etc. This seems to be working and hopefully this will continue to work without problems.
|
|
|  |
 |

Jake
Staff
/ Moderator

Mar 17, 2008, 3:26 PM
Post #3 of 3
(595 views)
Shortcut
|
|
Re: [JohnH123] Single Page Content menu troubles and Global Index questions
[In reply to]
|
Can't Post
|
|
Hi JohnH123, Thanks for keeping us updated. If you ever run into trouble with anything again, let us know and we'll be happy to help. ----------------------------------------------------------- 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.
|
|
|  |
|