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

Home: Products: Article Manager 2:
Artman 2 Placeholders different from V1.xx

 

 


svsanchez
User

Oct 29, 2006, 3:53 AM

Post #1 of 6 (444 views)
Shortcut
Artman 2 Placeholders different from V1.xx Can't Post

Hello, I have been trying to switch my site from v1.41 to v2.00 and it is mostly done, however I am now working on the templates as they are not automatically converted and I see most placeholder names are different from the previous version. Could you please tell me what the new placeholder names are for the following: $cat_name_he

It would be a great idea to point us to a page where we can see all the new placeholders we can use as well as those that have changed names.

Also, could you please tell me if there is an equivalent to $cat_breadcrumb$ as I liked the way it was showing on my previous version, however in this new version I am using <!--#include virtual="$published.categoryBreadcrumb.webpath$" --> which doesn't respect the css style.

Thank you.


Theo
Project Manager / Moderator


Oct 29, 2006, 8:24 AM

Post #2 of 6 (440 views)
Shortcut
Re: [svsanchez] Artman 2 Placeholders different from V1.xx [In reply to] Can't Post

Thanks for posting! Actually, the templates should be automatically converted. There may be a few things that are missed (especially if you're using "ebmedded search.cgi queries" or hard-coded includes to published files), but for the most part, all your templates should have their placeholders and templateCells replaced with new syntax.

If there are things being missed, if you let us know we can see about continuing to improve the import system.


In Reply To
Could you please tell me what the new placeholder names are for the following: $cat_name_he


That would be $category.name:htmlEncoded$. Just like Article Manager 1, html and javascript encoded placeholders are simply the normal placeholder with a placeholder modifier - it's just different syntax for the modifier now, being clearly delineated from its placeholder.



In Reply To
It would be a great idea to point us to a page where we can see all the new placeholders we can use as well as those that have changed names.

There are a couple ways to get the placeholders that you need.
1) Put an <!-- templatePlaceholderList --> in the template you're working with and repulish it. This gives you all the placeholders available to that template, grouped by the placeholder's prefix (category., article., etc.).

Note that just like in Artman 1, there are often slightly different placeholders in templateCells than in the rest template (in articlePages, you can only put article placeholders with in the article.row, for example).

2) You can also login to Admin > Database Editor and go to "edit table and fields" for the appropriate section to see a partial list of placeholders, though some of them are system fields and not overly useful in your publishing templates.

Note that to use them in your template, they'll be named according to their table ($article.title$, $category.name$).


In Reply To
I am using <!--#include virtual="$published.categoryBreadcrumb.webpath$" --> which doesn't respect the css style.

The content for the breadcrumb template should be imported from your artman 1 version and have the exact same classes. Although it's published now, html-wise it works identically to Article Manager 1: you wrap the breadcrumb include in a span that applies a class to it.

Sounds like you're making progress, but if you're hand-updating every single template element than the upgrade system missed something (or a lot) and we should take a look at that.

Talk to you soon, SVS.


Theo Wiersma
Project Manager

(This post was edited by Theo on Oct 31, 2006, 9:43 AM)


svsanchez
User

Oct 29, 2006, 8:55 AM

Post #3 of 6 (436 views)
Shortcut
Re: [Theo] Artman 2 Placeholders different from V1.xx [In reply to] Can't Post

Thanks a lot Theo! Now my first category looks the same as v1.41 but I had to do everything by hand. Should continue modifying the rest of my categories manually or send a support ticket so you can check why templates are all messed up? I am going to open it and reference it to this post so if the way to proceed is you take a look first we can gain some time and hopefully have the site converted to V2.00 today :)


svsanchez
User

Oct 30, 2006, 9:11 AM

Post #4 of 6 (408 views)
Shortcut
Re: [svsanchez] Artman 2 Placeholders different from V1.xx [In reply to] Can't Post

Theo it's been more than 36 hours since I sent support a request to check this but I haven't received an answer yet so I will do it all manually however I need to know if once I see everything is as it should, do I have to change the publish directories and click "Publish All" again to rewrite my articles over the old version or how do I do that (it's important for me since my V1.41 articles have already been indexed by search engines!)


Theo
Project Manager / Moderator


Oct 30, 2006, 10:40 AM

Post #5 of 6 (406 views)
Shortcut
Re: [svsanchez] Artman 2 Placeholders different from V1.xx [In reply to] Can't Post

SVS,

If you're happy with the way everything is names and where everything is going relative to your /artman2/publish/ folder, then you may be ready to go to Admin > Publishing and update your main Publishing URL and folder. Once you've saved those values, click Publish All.

Note that if it doesn't work out, you should be able to just log in to Artman 1 and Publish All to roll back to your previous version.

I'm crossing my fingers for you! Wink Let me know how it goes, and if you need any help with it.


Theo Wiersma
Project Manager


svsanchez
User

Oct 30, 2006, 11:06 AM

Post #6 of 6 (404 views)
Shortcut
Re: [Theo] Artman 2 Placeholders different from V1.xx [In reply to] Can't Post

Theo, it's great to have the ability to go back to artman1 and publish all in case we encounter problems, I was very nervous about doing this but once I finish correcting my templates I will publish all without fear and let you know of the results :)

 
 
 


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