Web Hosting, Design, & Coding forum

Question

Where can I find a guide on tracing code to its file source?

by drobertsavenue / February 20, 2013 5:52 PM PST

I've had a website built through joomla. I'm very familiar with Joomla but now want to start editing code in the files for layout, graphics, functions etc. things that aren't in the joomla extension options.

The fastest way for me to learn would be a way to know how to locate which files the source code is located in, follow the path, look up the code in a book to understand it and change to my desired outcome.

I just need a step by step guide on how to do this? or someone to show me over skype who I can pay per minute?

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: Where can I find a guide on tracing code to its file source?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Where can I find a guide on tracing code to its file source?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

All Answers

Collapse -
Answer
Re: source code.
by Kees_B Forum moderator / February 20, 2013 6:00 PM PST

In the link that calls the page you can see the name of the page. Start with the start page (index.html or something like that) and work down till you found the page you want to edit.
But you can't edit directly from the browser. You need to edit the file in your local copy and then ftp the changed file.

Kees

Collapse -
Still trouble locating
by drobertsavenue / February 20, 2013 6:16 PM PST
In reply to: Re: source code.
Collapse -
With php it might be different.
by Kees_B Forum moderator / February 20, 2013 6:38 PM PST
In reply to: Still trouble locating

Why not ask the developer for help? I assume you have a service or maintenance contract with him.

Kees

Collapse -
Contracts finished
by drobertsavenue / February 20, 2013 6:46 PM PST

The contract hasa finished, we don't want to pay anymore money hence me learning it all myself.

There must be a guide to locating/tracing webpages or joomla extension/oftware I can get to do it for me?

Collapse -
Re: sources
by Kees_B Forum moderator / February 20, 2013 7:25 PM PST
In reply to: Contracts finished

All sources should be somewhere in the right folder structure where you can edit and upload them. Could be .php or .html, .htm, or depending on what you want to change .js or .css.

A good trick to find it is this. First thing in the morning, before doing anything else, edit the page in joomla. Then use your favorite filemanager to search for files changed or created today. One of them is the page you're looking for. Having found the first, it won't be difficult to locate the others.

But we really don't recommend editing pages made in joomla manually. It defeats the purpose of the program and might even make it useless, because it doesn't understand your coding or handles it wrong.

Kees

Collapse -
Useful trick!
by drobertsavenue / February 20, 2013 7:57 PM PST
In reply to: Re: sources

"A good trick to find it is this. First thing in the morning, before doing anything else, edit the page in joomla. Then use your favorite filemanager to search for files changed or created today. One of them is the page you're looking for. Having found the first, it won't be difficult to locate the others."


This is a useful trick and will work for a lot of my pages however will not work for the registration page as Its not editable through joomla.

I'll keep looking, but there must be a bit of software that shows me a coding map as it loads or something like that.

Collapse -
Answer
If you see something on the page
by Sovereign Forum moderator / February 21, 2013 12:54 AM PST

that's not stored in the database, in other words, somewhere within the content management system, it must be stored in a file. The easiest way to locate such things is to find something unique to that page, download all of the files, then search for that string. There's going to be at least one search result and once you have it, like Kees said, the others can't be far.

As a side note, always ask for documentation. If somebody develops something custom, there should be some documentation detailing what, where and how.

~Sovereign

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech for the school year

Smart tech for smart students

Forget the pencils and notebooks. Gear up your students with these portable and powerful note-taking machines.