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

Home: Products: Article Manager 2:
New publishing rule to SMS articles

 

 


ColinW-O
User

Feb 17, 2007, 2:44 AM

Post #1 of 4 (325 views)
Shortcut
New publishing rule to SMS articles Can't Post

Alright, I found the perfect way to send articles/headlines via SMS from the web. The only problem I have is this.

I want to create a new publishing rule, but not a page for SMS for every article. I don't think it's necessary as it won't be hit as much as a printer friendly article link.

Should I create a rule as a singlePage or that won't work? I want it that whenever any user click on the SMS it! link, this page will pop up with the news already in the text box and all he has to do is input the number, select carrier and that's it.

Is there a way to do this without having to create a rule like the article printer page, where a different file will be created every time? I tried creating a singlePage rule, add the $article.content$ in the text area but it says unknown placeholder whenever I click on the link.

This is what I'm using as form to send http://www.wrestling-online.com/news/smsit.php SMS's.

Thanks,

Colin
Wrestling-Online.com


Mike4172
User

Feb 17, 2007, 2:58 AM

Post #2 of 4 (320 views)
Shortcut
Re: [ColinW-O] New publishing rule to SMS articles [In reply to] Can't Post

In the article page template, put a link like so:


Code
<a href="/news/smsit.php?content=$article.content:textOnly$">


In the textarea tags of smsit.php put:


Code
<?php echo $_GET["content"]; ?>


That should get it done.

Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Feb 17, 2007, 2:58 AM)


ColinW-O
User

Feb 17, 2007, 9:45 AM

Post #3 of 4 (310 views)
Shortcut
Re: [Mike4172] New publishing rule to SMS articles [In reply to] Can't Post

Awesome! Great it works thanks. The only thing weird is that it's not loading the whole text in the text area. Maybe there's a limit set, but I don't recall setting any. Oh well, minor problem.

Thanks Michael.


Mike4172
User

Feb 17, 2007, 9:50 AM

Post #4 of 4 (309 views)
Shortcut
Re: [ColinW-O] New publishing rule to SMS articles [In reply to] Can't Post

You most likely need to add the urlEncoded then....


Code
<a href="/news/smsit.php?content=$article.content:textOnly:urlEncoded$">


Regards,
Michael
NEW!Logo and Website Design
Auto Post Date and Expiration
GoForum 2.02
http://www.amscripts.net
SKYPE - michael.amscripts

(This post was edited by Mike4172 on Feb 17, 2007, 9:52 AM)

 
 
 


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