php - Magento 3column phtml edit doesn't not undo -
i new magento. went go url
/public_html/app/design/frontend/default/modern/template/page and edited page 3columns.phtml. set "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" test, default homepage. when refreshed homepage, string of a's show above appeared on homepage. then, came know default homepage. now, removed string, , saved page, string doesn't disappear home page when open it. here code, can see have remove string, still it's effect there on homepage. how prepare problem?
here code can see output string @ top.
http://spacedookie.com/ and here hte code. please help me solve problem
<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getlang() ?>" lang="<?php echo $this->getlang() ?>"> <head> <?php echo $this->getchildhtml('head') ?> </head> <body<?php echo $this->getbodyclass()?' class="'.$this->getbodyclass().'"':'' ?>> <?php echo $this->getchildhtml('after_body_start') ?> <div class="wrapper"> <?php echo $this->getchildhtml('global_notices') ?> <div class="page"> <?php echo $this->getchildhtml('header') ?> <div class="main-container col2-left-layout"> <div class="main"> <?php echo $this->getchildhtml('breadcrumbs') ?> <?php /*<div class="col-wrapper">*/ ?> <div class="col-main"> <?php echo $this->getchildhtml('global_messages') ?> <?php echo $this->getchildhtml('content') ?> </div> <div class="col-left sidebar"><?php echo $this->getchildhtml('left') ?> </div> </div> <?php /*<div class="col-right sidebar"><?php echo $this->getchildhtml('right') ?></div>*/ ?> <?php /*</div>*/ ?> </div> <?php echo $this->getchildhtml('footer') ?> <?php echo $this->getchildhtml('before_body_end') ?> </div> </div> <?php echo $this->getabsolutefooter() ?> </body> </html>
it cache issue. magento automatically adds cache, 1 time loaded page. because, when seek load page in magento, there happends enormous amount of processing magento.
i cant provide whole process happens in backside. in short give overview. magento first identify module holds controller/method described url. after starts loads layout tree corresponding url requested. believe me huge tree !!!. after loaded entire layout, starts render layout. (layout holds blocks. blocks may parents other blocks, these kid blocks may hold other kid blocks , on). magento take lot of time load it. utilize easy way overcome it. cache (however cache has limitations).
so when page loaded once, set cache. when came load same page again, first check info in cache first. if info there, utilize cache load page. speed loading of magnento site, since doesn't load entire layout tree , create our site user friendly.
however when development going on site, of import disable feature. other wise, couldn't see changes made.
we can disable cache through admin. go system -> cache management. select items , disable it. go var/cache directory (which in root directory) , clear folder/files in there. deleting these folder/files not cause issues site.
php magento
No comments:
Post a Comment