Page 1 of 1

Changing meta info through ftp

PostPosted: Thu Apr 15, 2010 11:15 am
by Mark
Where is the meta info controlled through using an ftp client and not through the magento backend?

Re: Changing meta info through ftp

PostPosted: Thu Apr 15, 2010 12:32 pm
by edmondscommerce
eh?

Re: Changing meta info through ftp

PostPosted: Fri Apr 16, 2010 9:17 am
by Mark
LOL, sorry i should probably re-word that.

Is it possible to alter meta tags from a file/files, for a single page in Magento?

It's just that when I attempt to alter the meta tags for the homepage through the Magento CMS section, it has no effect, almost as if its being overwritten or controlled elsewhere.

Re: Changing meta info through ftp

PostPosted: Fri Apr 16, 2010 9:49 am
by Mark
FINALLY!

This is what I have been looking for, in:
app\code\core\Mage\Page\Block\Html\Head.php

Code: Select all

public function getTitle
()
    {
        if (empty($this->_data['title'])) {
            $this->_data['title'] = $this->getDefaultTitle();
        }
        if($this->fpseo_isHome())
        {$this->_data['title'] = "~~~~~~TITLE HERE~~~~~";}
        return htmlspecialchars(html_entity_decode($this->_data['title'], ENT_QUOTES, 'UTF-8'));
    }

    public function getDefaultTitle()
    {
        return Mage::getStoreConfig('design/head/default_title');
    }
 


I have no idea why this has been altered this way, but hey...

Re: Changing meta info through ftp

PostPosted: Fri Apr 16, 2010 10:04 am
by edmondscommerce
:) cool

Re: Changing meta info through ftp

PostPosted: Thu Dec 08, 2011 12:56 pm
by rickypounting
for quality CMS it is the best way to use above technique .that is really helpful as runtime change in tags.

Re: Changing meta info through ftp

PostPosted: Wed Oct 21, 2015 3:17 am
by brucekenway
Always have in mind some important things:

HTML must be semantic. Create your HTML structure like it meaning not it appearance.

Use CSS to all positioning. Remember that float, position, z-index and clear are your friends.

Avoid specific browser hacks. In fact, almost all can be done exactly for IE9, Chrome, Firefox, Opera and Safari. Near we have IE8 (only without CSS3 things). Your hard way will be IE7, but it isn't so much away from IE8.

Choose your browsers by audience and graphics like this. I don't care about IE6 anymore and I'm stoping to care about IE7 too.

Using table isn't a crime. Tables was created to tabular data, i.e. grids, lists with more than 2 columns, etc.

Using table is a crime. Don't use it for your layout structure, like menus, headers, footers, etc.

Using div also can be a crime. "Tableless" doesn't means "Divmore". Your markup must be clean and semantic ever. Dozens of divs are so bad as tables could be.

Read W3C Specs and understand the web standards like you understand your own name.

Re: Changing meta info through ftp

PostPosted: Mon Nov 27, 2017 12:05 pm
by PamelaTrent
Yep, HTML must be semantic. Create your HTML structure like it meaning not it appearance.