Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-21-2009, 01:00 PM {Is this a macro?}
Average Talker

Posts: 16
Trades: 0
I have recently been playing around with an e-commerce product and noticed the regular use of calling an external page through braces {}.

The use of this is really good and I would like to learn more about how it works. I was led to believe that this is called macros but can't seem to find anything anywhere about it.

Therefore I was wondering if anybody might know any articles or tutorials out there that would point me in the right direction.

Thanks,
Dan
superdan_35 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-21-2009, 01:15 PM Re: {Is this a macro?}
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
You might want to just start by reading the manual or documentation for the ecommerce product you are using. Brackets to call an external page like that are not a means that is implemented by HTML, so you won't find any general information about this practice on the internet. Likely, the ecommerce package you are using is just programmed to read this pattern, then substitute appropriate information based on how it is programmed.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 10-22-2009, 01:47 PM Re: {Is this a macro?}
Average Talker

Posts: 16
Trades: 0
Cheers
superdan_35 is offline
Reply With Quote
View Public Profile
 
Old 10-22-2009, 01:55 PM Re: {Is this a macro?}
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
Generally the { } are called curyl (or place-holder) brackets, which can store things like a users name, address, city, state zipcode etc..etc.. They're usually put into 'template' files or files that have the ability to process what ever is inside of those { curly brackets } Sometimes you might see a newsletter in the the shopping cart application have a default newsletter that starts out like:

Dear { User_First_Name },

...............
.......
....

The information inside of the { } is the users_first name which is in your shopping carts user database for example. The { } can be used for just about anything.

Btw, are you using the Smarty Template Engine by chance?

Hope you understand
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to {Is this a macro?}
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44334 seconds with 12 queries