Change footer content in magento - css

I'm new to editing the footer in magento. I want to use my footer instead of default and managed to remove QUICK LINKS and ACCOUNT according to this, but the 2 footer blocks showing in red block are placed vertically which I wish they are in horizontal and in the same format with the green block(colored title and black links). Please help me out.

For Footer Area, we are divided in two parts for fetching the information.
One part is a static block which created within the Magento admin area (CMS > Static Block).
The other part is held as .phtml / .php / .xml files within the design files.
XML files location: app/design/frontend/PACKAGE_NAME/THEME_NAME/layout/page.xml , app/design/frontend/PACKAGE_NAME/THEME_NAME/layout/cms.xml
Here you will find some footer references which which take you to .phtml files.
Eventually, you will be required to follow this two paths to get all the sections of footer sorted out and you will be able to edit everything at the end as I see it :)

Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or store view.
Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.
Then refresh your frontend page. This will help you determine the phtml file that's arranging the layout of divs in your footer. Once found you can overwrite the file if it's a default one into your own theme's folder.

Follow the bellow steps to edit footer :
Got to :
/app/design/frontend/default/yourtheme/template/page/html
Inside html directory you have footer.phtml file. Download and edit.
If you have any query paste in comment.

The links are available on Admin menu -> CMS -> Static Block
Here you choose Footer Links and Add/Modified your required links.

Related

Create second place order button in wordpress checkout page

This may be a strange question, but I want to use 2 of the same buttons on my mobile checkout page in woocommerce. I think this is much better for the user experience because the button to "place order" is pinned to the bottom of the mobile browser so as you can see in the image below.
In my screenshot i made a circle with 2 inside, its on the end of all fields. I think it would be great to create an extra button there.
Is that possible and can that work together? And in what file do I need to edit this?
Really thanks for any help or advise!
As you can see the code for the button is in the next template file
https://github.com/woocommerce/woocommerce/blob/163aaa029dc57b1b04f6ca583bc04c4c4e1b6767/templates/checkout/payment.php#L51
How to Edit Files
Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.
Example: To override the admin order notification, copy: wp-content/plugins/woocommerce/templates/emails/admin-new-order.php to wp-content/themes/yourtheme/woocommerce/emails/admin-new-order.php
The copied file will now override the WooCommerce default template file.
Be aware that when moving, the button must still be between the <form></form> elements

Footer Message Drupal

How do I adjust the footer message in Drupal? Do I need to login to Drupal dashboard or what?
I have searched almost every file in cPanel, but I could not find any of the website's actual HTML.
I can only customize body content but not footer
Thanks.
PS: I think they might using Drupal 7 - precision themes
The answer to this question depends pretty heavily on the manner in which the theme has been built. However, there are a few generic things to try. And yes you will most likely need to be logged into your site.
In a default setup, the footer content is simply a block or blocks placed in the footer region of the theme. In this case, navigate to {site_address}/admin/structure/block (Structure >> Blocks from the Admin Toolbar) and edit the blocks placed in the footer region.
If there are no blocks in that region, it is likely that the footer content is hard-coded in the theme files or configured in the theme settings. I would check:
the files inside of the /sites/all/themes/ directory in your
webroot for a hard-coded footer
the settings for your default theme configured at
{site_address}/admin/appearance/settings/{default_theme_name} (Appearance from the
Admin Toolbar and then Settings underneath your default theme) for a configuration based footer
Best of luck.
It depends on how it's added:
May be hard-coded somewhere in theme files. In that case you'll have to edit theme files, /sites/all/themes/your-theme-name
Theme may have some options/property for this - check theme prefs (under appearance)
It may be added as a block - go to Structure -> Blocks and see if there is some block which name associates on "Drupal", "Copyright" or similar and remove it from it's block.

Just HOW do I remove this pesky block

I've tried deleting blocks, disabling views - the lot! I just can't get this little block to go away!
A block called "Related Forum" is showing up on our knowledge base pages an example is found - here.
I'd like the whole Related Forum block removed from any /help* page:
If I login and hover my mouse over the block, no settings icon appears.
Any idea?
Navigate to the blocks admin page at "admin/structure/block".
There somewhere you should see your block (generated from a view) named something like "View: related forums".
Click configure and change this blocks visibility settings under the "pages" tab at the bottom of the configure page.
If this does not work, check that this block is not being specifically included in a template file.
Another thing that may be affecting it is the context module.

Can't edit block in Drupal

I have recently started using Drupal but I am having a bit of difficulty editing some blocks. I've gone into the blocks admin menu and I can see a list of all of the different blocks being used and they have the configure option next to them.
If I click configure on some of them, on the next page I am given the 'edit block' box but on others the box doesn't show up (e.g. footer). How can I make the edit box show up or is there another way to edit them?
Thanks for any help.
1] visit this link http://drupal.org/project/block_edit and download module and install it on your site.
2] visit this link to apply setting admin/settings/block_edit.
What actually this module do?
It's provide a edit link on block itself where you are viewing it. Now clicking on edit link will redirect you to specific block edit page. This means need not to go deep inside and find block you want to edit.
Some modules, like the menu module, add blocks with auto-generated content that cannot be edited directly from the blocks admin page. Usually only content blocks added by yourself will have the edit block content option.
Footer will be a menu block, so there will be no editable area. If you want to make changes to the menu you'd need to edit the menu rather than the block.

Same node, different templates in Drupal, how to do?

I have a content type which displays an image.
When this image is displayed as regular node page (node/xxx), I would like it to use the regular template file.
When this image is displayed in a modal (Lightbox2 popup modal), I would like it to use another template file (to remove the header and footer, change background, etc).
How can I set two different templates for the same node?
Thanks,
You probably want to use page-node-lightbox2.tpl.php which can be found in the lightbox2 module folder. Copy that file to your theme folder and make all the changes you want, then clear your cache (www.example.com/admin/settings/performance) and you should see the changes to the modal view of your images.

Resources