Results 1 to 5 of 5

Thread: Placing variables on site
      
   

  1. #1
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default Placing variables on site

    Hey.
    Is there anyway that I can create text "variables" for templates. Meaning that every time a tag like <siteURL> or something like it appears it will replace it with the actual site URL etc.
    Thanks.

  2. #2
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Placing variables on site

    I believe that you could do this using CSS........darn good idea.

    Look forward to other members suggestions

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Placing variables on site

    This is a most common tecnique for Smarty and other similars. Of course, it is part of a CMS. The content is retrieved usually from the database.

    Even the BlueVoda built in form processor uses the same tecnique. In fact (look at the Form Wizard tutorial) the error page has simply the text ##error## (could be anything else, like {error} ) is then replaced by the actual error message as it is created by the processor (if errors are found).
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  4. #4
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default Re: Placing variables on site

    So I still don't understand how you can do this. Maybe if it's something a lot of people can use you would be able to make a tutorial about it ?

    Don't mean to be out of line....just thinking out loud.

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Placing variables on site

    This is not something that has to do with BlueVoda or Vodahost hosting. From this point of view, no tutorial can be made.

    Please note that using templates this way (not in the simple way that the form processor does), you need to have extensive knowledge of php and MySQL. Looking at the issue from this point, whoever has that knowledge also (usually) knows how to create such a template and use it.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49