9 posts by 4 authors in: Forums > CMS Builder
Last Post: July 4   (RSS)

Hello, on the list of placeholders I can see $currentuser.fullname$ and $currentuser.num$ as the users who edited for the last time an article. So, if user ABC creates an article but some time later user XYZ edits the same article, $currentuser.fullname$ and $currentuser.num$ will change from ABC to XYZ.

What placeholder should I use to ALLWAYS KEEP the original user's fullname and num?

Thank you

Sven Sanchez
www.deguate.com

Heelo, any ideas anyone? If there's a placeholder for the "current user" there should be a placeholder for the creator of the article! I went to bed at 3 AM guessing but none of my guesses worked!

Sven Sanchez
www.deguate.com

Hi Sven,

It sounds like you're using Article Manager?  Do you have $article.author$ available as a placeholder?

Thanks,
Robin

Robin
Programmer
interactivetools.com

Hi Robin, thanks a lot for your reply. You're right, I'm still using Artman 2.1, and I already tried the $article.author$ placeholder which didn't work ([unknown placeholder $article.author$])

I created a placeholder in the accounts section named 'analytics ', what I'm trying to do is to place a different google analytics account depending on the article's author, this way I can pay my authors based on the amount of traffic their articles generate to our site.

Sven Sanchez
www.deguate.com

Hi Sven,

In the Article Manager templates, you can add this placeholder:

<!-- templatePlaceholderList -->

The templatePlaceholderList command generates a complete list of all the placeholders available for the template.

If you put it in the template footer, it will generate a list of all the placeholder and values available for that template.

Hope that helps.

---------------------------------------------------
Cheers,
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Hi Sven, 

Unfortunately, none of us have used Article Manager in years so we're really not sure. 

It's always a challenge with old software (12 years since last update) on how much time to put into it and when to start on something new.

If you want to try CMS Builder it's a free download now.  That will be a lot of work but is a decade more modern.

Sorry, I can't be of more help! 

Dave Edis - Senior Developer
interactivetools.com

Hello Dave, thank you for your reply. I bought 2 licenses of CMS Builder when it came out (2012 I think) but had a problem with it:

My site is huge (more than 150,000 pages built with Artman) all with the extension .shtml

The new software uses the extension .php

Since I have thousands of pages already positioned in Google and other Search Engines, I can't risk losing my positioning renaming all my pages so that they use .php now

If there's a way now to convert my site to CMS Builder keeping my current filenames that would be very nice.

Sven Sanchez
www.deguate.com

Hi Sven, 

There's no automatic, easy way.  How you'd do it is when you import all your articles into the new system you'd import the old link into a "permalink" field.  Then use either the permalinks plugin or some custom code to show the correct article.

How permalinks work is that when a request for a page that doesn't exist is received, a PHP script handles that request, so instead of showing 404 it can show a page generated from the database.  To the end-user or a search engine it is exactly the same in every way.

Dave Edis - Senior Developer
interactivetools.com