Results 1 to 6 of 6

Thread: How to insert dynamic content without getting smarty error??

  1. #1
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default How to insert dynamic content without getting smarty error??

    Does anyone know how I can insert this dynamic html into my script without getting a "smarty" error?

    http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm
    If it's not fun, stop doing it!

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: How to insert dynamic content without getting smarty error??

    If you add { or } in smarty template, it will be considered as smarty variable.

    Solution is to use {iteral}. For more info, see

    http://smarty.php.net/manual/en/languag ... iteral.php

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to insert dynamic content without getting smarty error??

    SWEET! Thanks, I'll give this a try!
    If it's not fun, stop doing it!

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to insert dynamic content without getting smarty error??

    OK, that seemed to do the trick and it works fine except for one small problem. The "search videos" search box appears in the middle of it and I don't know how to get rid of it. Anyone?

    If it's not fun, stop doing it!

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to insert dynamic content without getting smarty error??

    Well, I thought maybe moving the "body" part around might help that, but it just messed up the whole webpage and I put the "body" part in the footer.tpl right above the </body> tag like it says to do in the instructions and the "search videos" just won't go away.
    If it's not fun, stop doing it!

  6. #6
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to insert dynamic content without getting smarty error??

    Well, never mind. It keeps popping up on every page and that's not what I want no matter what I set the "how many times they see this" is set (and when I set it, it crashes LOL).

    If I find another one that DOES work, at least now I know how to use it with vShare. Thanks Admin!
    If it's not fun, stop doing it!

Similar Threads

  1. Dynamic Gallery Mod
    By l1some in forum Template Modifications
    Replies: 0
    Last Post: 11-06-2008, 09:53 AM
  2. how can i add users online script 2 header.tpl (smarty error
    By Spaniard7886 in forum Template Modifications
    Replies: 2
    Last Post: 07-11-2008, 11:53 PM
  3. Fatal Error about Smarty
    By brsonrr in forum Installation Support
    Replies: 1
    Last Post: 02-20-2008, 04:28 AM
  4. Fatal error: Smarty error:
    By megavideos.in in forum Installation Support
    Replies: 1
    Last Post: 11-25-2007, 08:16 PM
  5. Smarty error: Code
    By CVS in forum Installation Support
    Replies: 2
    Last Post: 06-01-2007, 10:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •