Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to magento, so i have little knowledge about it. I want to Add an Image or Html Code at the Header of Magento.I want this (http://prntscr.com/8c5ens) one to be placed here (http://prntscr.com/8c5eyy) .Can AnyOne guide me how to do it ?
You need to find the html template file.
One way to do that it's enable Template Path and Block Name hints:
Login to Magento Admin panel
Go to System->Configuration.
The Template Path and Block name will only appear for current website. So change the Current Configuration Scope to ‘Main Website’.
Go to the Advanced section and click on Developers.
Expand the Debug tab.
Set the Template Path Hints to ‘Yes’.
Set the Block Name Hints to ‘Yes’.
Click on ‘Save Configuration’ button.
Open Magento user panel and see the template path hints. It shows each file where the page element is located in.
Another way it's find the code in whole project (intuition needed):
Open developers tools of browser.
Find some specific pieces of code, copy it and try to find it through the whole project.
Probably it should be somewhere in app/design/frontend/ path.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'am an administrator of a website (I mean user that can access to the site with a login and I can modify the page; the site called me admin). I want to know if as admin I can modify and update this webpage from code. Since I'm admin I can modify by a textbox the information of the site (through a dashboard?), but I want to know if I have autorization to access the server files (or something like that) and I can modify page direclty from it. I want to find a way to modify the site without insert text in the box, clicking every time in the bottom "upgrade" (as a data entry), but I would try to modify all directly from htlm code. I don't know the permission and I don't directly know who has created the site, but I'm asking you if it is possible know if I'm authorized to edit the site and what is the easiest way to do this.
Thank you in advance.
If you inspect a page and update the html code, js, text or whatever, those changes are just for you, the changes are not permanently.
To update permanently what you see when you open a page, you have to modify the server files which are hosted or if that website have a admin dashboard and the website content is customizable from admin, you can change it from there.
I hope my answer helped you.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I would like to move an item from my shop page. I moved it with google inspector tool, but i don't have any idea to move it like that in my real site.
Any ideas?
Thanks a lot
enter image description here
enter image description here
When you modify your code with google inspector, it is only to test it and see how it looks, but the changes are not saved.
If you want to save your changes, you need to open the files of your website (HTML, CSS...) directly into a code editor. Some great text editors are Sublime, Visual Studio Code or Atom.
Once you have opened your files inside your code editor, you can edit your code and save it. In your case, it seems that you would want to select the full <div>...</div>, cut it and then paste it a few lines below.
I hope this helps. Let me know if you have more questions.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am sure there must be an easy solution for this. I have started maintaining a website which is well-established. I need to add a new tab in the Navigation bar, which I did. However, I have to go through all the HTML pages in the website to reflect that edit.
Is there any other effective way, I can make the edit at one place and it gets reflected throughout. From what I have gathered, the site has multiple folders, and each respective index.html page as the HTML code for navigation bar. It is not importing or downloading it from some main source.
Any pointers would be appreciated. Thanks
If you are not using PHP or anything like that you could write it once and with HTML5 they have imports.
http://blog.teamtreehouse.com/introduction-html-imports
The easiest way when I deal with webpages like this is to convert all index.html to php (merely changing the file type). Copy out the navbar codes into a file, say "navbar.php". Then in every single index.php where the navbar should be, replace it with
<?php include 'navbar.php'; ?>
Add to "navbar.php" any additional folder paths that you may have.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Where to find magento homepage in .html or .xml format in FTP?
I actually want to host my javascripts/ CSS in html itself for better SEO.
Magento's home page is not saved a flat html document, it is a CMS page configured in the admin panel. To find what page is currently being used, go to;
system > configuration
From the top menu, then go to;
General > Web
From the left menu. Find the 'default pages' block in the main content area and there you will find the name of the cms page being used for the home page. You can search for this page here;
Cms > Pages
From the top menu, then search by name.
Note if you have more than 1 store setup in Magento, you may need to change the viewscope when checking the settings in configuration.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I would like to know how I can have a website that has links to deeper pages like so: www.example.com/ then I click on "Projects" (that becomes www.example.com/Projects) and then I click on a project (Which now becomes www.example.com/Projects/projectName/) How would I do that??? Please help, I really need these.
EDIT: Why are people down voting my question?
This is usually done with folders.
When you open www.example.com/Projects you are actually accessing www.example.com/Projects/index.html then let's say you want to access the project the folder Foobar so you type in www.example.com/Projects/Foobar/ and you are served www.example.com/projects/Foobar/index.html
However this can also be done with PHP URL rewriting and the use of a .htaccess fie.
Also when linking make sure that you start with a backslash (Absolute URLs) e.g.
href="/projects/test"
If the link was to "projects/test" and you were on that page then if you clicked on that link you would be taken to "projects/test/projects/test"
Well, usually to write a Web page you should learn html and then css. While learning html you will learn how to create a link.
In html a link is such as
my link