diff --git a/application/modules/default/views/scripts/home/index-plingcom.phtml b/application/modules/default/views/scripts/home/index-plingcom.phtml index a875f69c6..a9132edca 100644 --- a/application/modules/default/views/scripts/home/index-plingcom.phtml +++ b/application/modules/default/views/scripts/home/index-plingcom.phtml @@ -1,436 +1,436 @@ . **/ $this->doctype(Zend_View_Helper_Doctype::XHTML1_RDFA); -$this->headMeta()->appendProperty('og:url', 'www.pling.com'); +$this->headMeta()->appendProperty('og:url', $_SERVER['HTTP_HOST']); $this->headMeta()->appendProperty('og:type', 'website'); -$this->headMeta()->appendProperty('og:title', 'pling.com'); -$this->headMeta()->appendProperty('og:site_name','www.pling.com'); +$this->headMeta()->appendProperty('og:title', $_SERVER['HTTP_HOST']); +$this->headMeta()->appendProperty('og:site_name',$_SERVER['HTTP_HOST']); $this->headMeta()->appendProperty('og:description','A community where developers and artists share applications, themes and other content'); $this->headMeta()->appendProperty('og:image','https://www.pling.com/theme/react/assets/img/logo-pling.png'); $modelInfo = new Default_Model_Info(); $this->comments = $modelInfo->getLatestComments(10); $this->productsCollections = $modelInfo->getLastProductsForHostStores(5,"567"); $this->productsThemesGTK = $modelInfo->getLastProductsForHostStores(5,"366,363,273,267,138,125,131,153,154,414,133"); $this->productsThemesPlasma = $modelInfo->getLastProductsForHostStores(5,"365,119,123,266,114,118,349,417,101,100,111,422,423,446,417"); $this->productsWindowmanager = $modelInfo->getLastProductsForHostStores(5,"117,267,139,143,142,140,141,144"); $this->productsIconsCursors= $modelInfo->getLastProductsForHostStores(5,"386,107"); //$this->productsScreenshots= $modelInfo->getLastProductsForHostStores(5,"225,445"); $this->productsApps = $modelInfo->getLastProductsForHostStores(5,233); $this->productsAddons = $modelInfo->getLastProductsForHostStores(5,"152"); $this->productsWallpapersOriginal = $modelInfo->getLastProductsForHostStores(5,"295",null,true); $this->productsWallpapers = $modelInfo->getLastProductsForHostStores(5,"295",null,false); $this->productsArtwork = $modelInfo->getLastProductsForHostStores(5,"158"); $this->productsVideos = $modelInfo->getLastProductsForHostStores(5,"518,586"); $this->productsBooksComics = $modelInfo->getLastProductsForHostStores(5,"581,39"); $this->productsPhone = $modelInfo->getLastProductsForHostStores(5,"491"); $this->productsDistors = $modelInfo->getLastProductsForHostStores(5,"404"); $this->countSupporters = $modelInfo->getCountAllSupporters(); $this->featureProducts = $modelInfo->getRandFeaturedProduct(); $this->type='Featured'; $json_productsPlinged = $modelInfo->getJsonNewActivePlingProduct(15); $response = array( 'productsThemesGTK' => array('title' =>'Supporters Favourites','catIds' =>'','products' => $json_productsPlinged), ); $helperBuildMemberUrl = new Default_View_Helper_BuildMemberUrl(); $helperImage = new Default_View_Helper_Image(); $helpPrintDate = new Default_View_Helper_PrintDate(); ?>
Welcome to pling.com. For Linux related content jump to /s/Linux or pick one of the substores from the sidebar.
featureProducts) {echo $this->render('home/partials/featured-products.phtml');} ?>
partial('/home/partials/product_group.phtml', array( "title" => "Applications", "products" => $this->productsApps, "catIDs" =>"233" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "App Add-Ons", "products" => $this->productsAddons, "catIDs" =>"152" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "KDE Plasma", "products" => $this->productsThemesPlasma, "catIDs" =>"365" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "GTK/Gnome", "products" => $this->productsThemesGTK, "catIDs" =>"366" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Window Managers", "products" => $this->productsWindowmanager, "catIDs" =>"147" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Icons, Cursors", "products" => $this->productsIconsCursors, "catIDs" =>"386,107" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Phone ", "products" => $this->productsPhone, "catIDs" =>"491" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Distros", "products" => $this->productsDistors, "catIDs" =>"404" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Collections/Rankings", "products" => $this->productsCollections, "catIDs" =>"567" ) ); echo $this->partial('/home/partials/product_group_store.phtml', array( "title" => "Artwork", "products" => $this->productsArtwork, "stores" =>"Artwork" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Wallpapers ", "products" => $this->productsWallpapers, "catIDs" =>"295" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Wallpapers (Original)", "products" => $this->productsWallpapersOriginal, "catIDs" =>"295" ) ); ?>
partial('/home/partials/product_group_store.phtml', array( "title" => "Music,Videos", "products" => $this->productsVideos, "stores" =>"Music,Videos" ) ); echo $this->partial('/home/partials/product_group_store.phtml', array( "title" => "Books,Comics", "products" => $this->productsBooksComics, "stores" =>"Books,Comics" ) ); ?>
inlineScript()->appendScript( ' $(document).ready(function(){ TooltipUser.setup("tooltipuser","right"); TooltipUser.setup("tooltipuserleft","left"); TooltipUserPlings.setup("tooltipuserplings","right"); }); ');