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

Home: Discontinued Products: Article Manager 1:
Creating Pullquotes

 

 


ross
Staff / Moderator


May 30, 2005, 3:01 PM

Post #1 of 11 (4353 views)
Shortcut
Creating Pullquotes Can't Post

Hi everyone.

One of our community members, Pascale, brought up a really neat suggestion for Article Manager. Pull quotes. Pull quotes are a small excerpt from the current article that are displayed larger than the rest of the article. Some examples would be an important “sound bite” from the interview the article covers, or a really funny line. I am sure most of you have seen them in the past when reading through the web or magazines and newspapers.

I did a little research and there is actually a way to do this using Article Manager Smile. In this post I’ll go over how to set that up.

1. Log into Article Manager and go to the Setup Options -> General Tab
2. Scroll down to the Article Fields section and create a new text box. I called mine “pull quote” and used art_field7. Feel free to adjust this though Smile.
3. Check the new field’s enabled box and hit save.

Now, whenever you are creating or updating an article you’ll see the new Pull Quote you just created. Just so you have an example to work with, try creating or updating an article and add some text into the new field.

One thing to keep in mind is that there is going to be a little bit of JavaScript involved in adding the pull quote to your page, so you won’t be able to use quotation marks in the pull quote. I have quote on the template though, so the quote will still look like a quote Smile.

4. Next is updating your article template. Just add the following code where you would like the pull quote to appear on your article page:


Code
<script> 
if ("$art_field7$" > "")
{
document.write ("<table align='right' width='300' cellpadding='10'><tr><td><span style='font-size: 18;'><i>");
document.write ("&quot;" + "$art_field7_je$" + "&quot;");
document.write ("</i></span></td></tr></table>");
}
</script>


Basically, what this code does is only tries to display a quote if you have anything in art_field7.

And that’s all there is to it Smile. I am attaching a basic template for you to use as a reference as well as a screen shot of the pull quote in action.

Just let me know how you make out or if you have any questions about it Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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.




(This post was edited by ross on Feb 13, 2006, 3:22 PM)
Attachments: default.html (4.01 KB)
  sample pull quote.JPG (186 KB)


yubanet
User

Jun 5, 2005, 11:06 AM

Post #2 of 11 (4287 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

Hi Ross,

Works like a charm, thanks for posting this.

Pascale


MEKAEEL
User

Sep 23, 2005, 1:02 PM

Post #3 of 11 (3947 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

O god tears are forcing their way out!

Every time I visit the forum I get happier that I chose AM and AM only!

You guys are simply the best!


mjfontec
User

Jan 20, 2006, 10:40 PM

Post #4 of 11 (3354 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

Ross,

This is great. Thank you for posting. I'm wondering, is there a way that the placement of the quote can be controlled, maybe like an placeholder image?

With your script, it is always at the top right, but I'd like to put it in different places, maybe 1 or 2 paragraphs deep into the text.

Also, are we limited to just one quote, or can more than one be used if another text field is set up?

Thanks
Mike


MikeB
Staff / Moderator


Jan 21, 2006, 1:56 PM

Post #5 of 11 (3343 views)
Shortcut
Re: [mjfontec] Creating Pullquotes [In reply to] Can't Post

Hi Mike,

Thanks for the post! Smile

I've taken a look into this and it doesn't look like there is a way to control the way the JavaScript will be output with any kind of placeholder. The code is actually on the template file to it will always be in that same place.

If you wanted to enable another field in Article Manager and add a second pullquote you could just use the same code you previously had and modify the field name.

You'll also want to note that Article Manager outputs it's content as one block of text so you'll be able to add the pull quote before or after the article rather than in the middle (between paragraphs).

That said there is a way you can get around this in Article Manager. One thing I've seen people do in the past is create two "Content" fields in Article Manager and call one "First Half" and call the other "Second Half". This way when you create your article you can enter the first part of your article in one text box and the rest in the other box. Then, on your template file you'll be able to output the first content field, then your pullquote, then your second content field.

I hope this helps and if you have any other questions or comments, just let me know! Smile

Cheers,
Mike Briggs - 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.


mjfontec
User

Jan 21, 2006, 3:06 PM

Post #6 of 11 (3340 views)
Shortcut
Re: [MikeB] Creating Pullquotes [In reply to] Can't Post

Thanks Mike!

I'd like to try the two content fields and am wondering if you could you give me an example of how to do that. What templates do I need to modify, or do I have to change something in the setup?

Thanks
Mike


ross
Staff / Moderator


Jan 22, 2006, 9:41 AM

Post #7 of 11 (3320 views)
Shortcut
Re: [mjfontec] Creating Pullquotes [In reply to] Can't Post

Hi Mike.

Thanks for the update!

To get things going with two content fields, you’ll need to make a couple changes in Article Manager’s Setup Options and a couple changes on the template. Let’s start with the Article Manager changes.

First thing will be to find the Article Fields section on the General tab of Setup Options. Change the field labeled “Content” to “First half Content”. Next, you’ll pick the first available field and enter “Second half content” as its name. Make a note of which article field it is before hitting save. In my examples, I’ll say we used art_field7.

Now, you’ll have two fields to enter your article content into. One will be the original field called First half Content and the second called Second half content. You can fill them out appropriately.

The next step will be to look at your article template (/templates/article/default.html). On it, you will see the placeholder for your content. It looks like this: $art_content$. This is where you add in the extra code like this:


Code
$art_content$ 
<p>
PULL QUOTE CODE
<p>
$art_field7$


And that’s about it. Just remember to republish your articles after editing the template.

Does that all make sense? Have a go at it and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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.




bbenjamin
User

Feb 16, 2006, 7:16 AM

Post #8 of 11 (3065 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

SmileThanks for the sample jpg above - it really sells the concept.


etfreedman
User

May 30, 2006, 7:48 AM

Post #9 of 11 (2206 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

Hi

for some reason, the pull quotes have stopped showing up, even though I can't see anything obvious that's changed in the template. Any suggestions?

Thanks
Terry
Articles about information & communication technology
http://www.terry-freedman.org.uk


ross
Staff / Moderator


May 30, 2006, 2:41 PM

Post #10 of 11 (2191 views)
Shortcut
Re: [etfreedman] Creating Pullquotes [In reply to] Can't Post

Hi Terry.

Thanks for posting!

Would you mind sending me a support request for this so I can have a closer look? Here’s the link:

https://www.interactivetools.com/support/email_support.cgi

I look forward to hearing from you Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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.




etfreedman
User

May 30, 2006, 3:05 PM

Post #11 of 11 (2189 views)
Shortcut
Re: [ross] Creating Pullquotes [In reply to] Can't Post

Thanks, Ross, I've done that

Cheers
Terry
Articles about information & communication technology
http://www.terry-freedman.org.uk

 
 
 


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