I apologize if this is a super noob question, but I can’t seem to find an answer any other way.
I’m trying to figure out what sort of language/syntax I’m looking at. I’m trying to make a few changes to my company’s online store. We use 3dCart. 3dCart lets me edit ‘Templates’. Here are a few lines.
<!--START: items-->
<tr class="report-font1">
<td valign="top" align="left" width="15%">[id]</td>
<td valign="top" align="left" width="53%">[itemname]</td>
<td valign="top" align="right" width="19%">[itemdescription]</td>
<td valign="top" align="center" width="9%">[numitems]</td>
</tr>
<!--END: items-->
When I view the actual HTML page, the values in brackets are filled in. Where are those values coming from? There doesn’t seem to be the right syntax for php or asp (no “echo’s” or “print’s”)
Also, the START and END’s must have some significance, because even though they’re only used once, the code in between them is repeated for each item.
So is something parsing the code? Is this a common practice? What language/methods are used? I think it’s cool and want to learn how to use this, but I don’t know where to start. Thanks so much for your help.
You said it yourself, and so did Valentinas. It’s the 3dCart template engine. Check out the guide and scroll down to the Introduction section. You’ll see a block of markup that looks like what you posted.
Looks like they have all sorts of support options on their website.