Announcement

Collapse
No announcement yet.

Display PDF in Article

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Display PDF in Article

    Ok I wanted to try and see if a pdf file could be displayed in an article so I tried adding following in the article:

    Code:
    <embed src="files.pdf#toolbar=0&navpanes=0&scrollbar=0" width="500" height="375">

    When I view the CMS Home page the preview actually show the pdf file correct but if I click on the link read more the actual code line above is displayed. Is this a bug, am I missing some code or is this working as designed ?
    Last edited by tommykjensen; Sun 14th Feb '10, 7:09am.
    Best Regards Tommy

  • #2
    Do you have a link where we can see this? (And do you mean to have two .. in the src file url?)

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      I don't have a link since I tested it on my closed test forum. No the two .. is just a mistake here. I replaced my real path and filename in this post.

      I attached 2 screenshots.
      Attached Files
      Best Regards Tommy

      Comment


      • #4
        I really can't tell why it is happening from your screenshots. You may want to just put in a support ticket so they can look at your actual article text and the page source being rendered.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X