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 5 months ago.
Improve this question
I'm currently hosting my website on Hostinger and I have a little issue. Mmy URL is now like this: https://example.com/home.html and I would like to replace the home.html with the page name
I'm not sure if you mean https://example.com/home or https://example.com/, so I explain both:
https://example.com/home:
To make it looks like this you just create a folder called "home". Then you put your home.html into this folder and rename it to index.html
https://example.com/:
Just rename your home.html to index.html.
NOTE: Do this inside the public_html folder.
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 4 years ago.
Improve this question
This is how I am changing the directory path to the download folder.
Dir.chdir("C:/Users/abcd/Downloads/")
But this specific to a user. Is there is any way to make it more general?
Use home method for Dir
Dir.chdir(Dir.home + '/Downloads')
The "C:/Users/abcd/Downloads/" looks like the user directory for user abcd on windows. So I think this is a windows related question.
The Dir.home on my Windows-PC is U:/, not the user-directory.
But you can make use of ENV:
Dir.chdir(File.join(ENV['USERPROFILE'], 'Downloads'))
Just to be aware of: This changes the directory for the rest of your script. There is also a block-version of Dir.chdir.
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 8 years ago.
Improve this question
I have installed magento1.8.0.1, and also import sample data.
I added one more menus,
Now i want add pages like e-mail us, so i go to cms -> pages -> add new page ->. so it will be created, i want to know how to display that e-mail us page in footer.
Can anyone help me?
Thank you!!!.
There are various way, but for your quick reference:
Go to Magento Admin
Go to CMS Block
Edit Footer Links (Click on that name)
Do whatever changes you like and save that page.
Good luck!
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 9 years ago.
Improve this question
How can I navigate back one or multiple directories in Ruby?
For example:
users/luigi/test/folder/file.rb
If I'm in the folder directory and want my file.rb script to load a file from within the test directory, how can I do that?
Something like:
require /../required_file.rb
You can use require_relative
require_relative "../test/file.rb"
require_relative "../requred_file.rb"
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 8 years ago.
Improve this question
I am working with giftcard and I want to investigate some behavior of giftcards. Being new to magento I am not sure where to start looking for a url
http://mysite.com/index.php/myspecificfolder/giftcardaccount/new
I am not sure what giftcardaccount is ? is it a folder or an action?
Also would be interested in "new"
Magento ver. 1.10.0.1
any help will be appreciated
thanks
giftcardaccount is a controller.
Look in: /app/code/core/Enterprise/GiftCardAccount/controllers/Adminhtml/GiftcardaccountController.php
The URL maps to the newAction() method.
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 9 years ago.
Improve this question
I want edit the css of a component in zoomla ..can you tell me how?
Use can a text editor, VIM or Notepad. Else you can edit the CSS from the template management section inside Joomla!. But then you need to set proper permissions on the CSS file.
go to ur hosting folder .. and goto components/component_name you can find the files