Help - Search - Members - Calendar
Full Version: Explanation
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Zick
Hi, I'm trying to figure out a code of our website I taken over... I'm not really good at these things...

I need to add additional page into a menu. I prolly won't be specific enough or so, but could you please tell me what does the $menupages.id27 and ##SERVICES## mean? I suppose there are some files with lists where it'll have the services listed and this is a replacement code. Is that correct? What about the dollar sign?

I can't add additional page via API because it gives me some odd error.

Here's part of the code:
CODE
<div id="right">
        <div id="services">
            <div class="leftheader">##SERVICES##</div>
            <div class="leftinner">{$menupages.id27}</div>
            <div class="leftbottom"></div>
        </div>
        {if empty($menukat)}
pandy
It's something that's interpreted on the server, but I don't recognize the syntax. It this some kind of template? For a blog maybe?
Zick
QUOTE(pandy @ Feb 20 2014, 03:57 PM) *

It's something that's interpreted on the server, but I don't recognize the syntax. It this some kind of template? For a blog maybe?

It's a company website, but I think the guy who designed it did it in this API that's used for like shops and all.

I can go to the API and see the actual services (sub-pages) there, but I can't add any other. So I was thinking - if I can find the file where the sub-pages are coded, I could add it there and then it'd appear in the API and I could work with it.

I can link the site, if it helps...
pandy
A shopping cart? Do you know what it's called? I won't be able to help, but maybe someone else has used it.
Zick
It's just used for it. We don't have a shopping cart and it probably has nothing to do with it.
This is how it looks like, the red part is what I'm trying to edit (add more subs)
IPB Image
pandy
OK, you talked about shops so I thought shopping cart. Must be some kind of CMS anyway, I gues.

You mean the program is custom made for your site? Then I doubt no one but the guy who wrote it can answer.
Zick
QUOTE(pandy @ Feb 20 2014, 06:37 PM) *

OK, you talked about shops so I thought shopping cart. Must be some kind of CMS anyway, I gues.

You mean the program is custom made for your site? Then I doubt no one but the guy who wrote it can answer.

It's their API, they stopped working on our site, the API is web-based and I can log in there with /admin pw un, as per usual.
It's just so strange I can't find it in any of the files...
Christian J
QUOTE
##SERVICES##

No idea.

QUOTE
{$menupages.id27}

The curly quotes might be Tumblr code, but I suspect not in this case.

QUOTE
if empty($menukat)

That might be PHP, but to be sure I need to see more of the code...
Zick
Website
You can change it to English and obviously view the code. I hope it helps somehow.
Christian J
No, server-side code can't be viewed in a finished web page. It's run on the server, and outputs HTML that's finally sent to the browser.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.