Explanation |
Explanation |
Zick |
Feb 20 2014, 09:47 AM
Post
#1
|
Group: Members Posts: 5 Joined: 20-February 14 Member No.: 20,401 |
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)} This post has been edited by Zick: Feb 20 2014, 09:50 AM |
pandy |
Feb 20 2014, 09:57 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Feb 20 2014, 10:04 AM
Post
#3
|
Group: Members Posts: 5 Joined: 20-February 14 Member No.: 20,401 |
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... This post has been edited by Zick: Feb 20 2014, 10:06 AM |
pandy |
Feb 20 2014, 10:10 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Feb 20 2014, 10:14 AM
Post
#5
|
Group: Members Posts: 5 Joined: 20-February 14 Member No.: 20,401 |
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) This post has been edited by Zick: Feb 20 2014, 10:15 AM |
pandy |
Feb 20 2014, 12:37 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Feb 20 2014, 12:40 PM
Post
#7
|
Group: Members Posts: 5 Joined: 20-February 14 Member No.: 20,401 |
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 |
Feb 20 2014, 04:41 PM
Post
#8
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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 |
Feb 20 2014, 08:28 PM
Post
#9
|
Group: Members Posts: 5 Joined: 20-February 14 Member No.: 20,401 |
Website
You can change it to English and obviously view the code. I hope it helps somehow. |
Christian J |
Feb 20 2014, 09:16 PM
Post
#10
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
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.
|
Lo-Fi Version | Time is now: 23rd April 2024 - 10:28 AM |