From 7b69a015638f8e3a84b060bb2b0911a7b6a4b7d6 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Wed, 26 Apr 2006 19:43:03 +0000 Subject: [PATCH] some fixes --- docs/upgrades/7fixup.pl | 37 ++++++++++++++++++- .../upgrades/7fixup/style1/roottab_level1.nav | 3 +- docs/upgrades/7fixup/style2/css02.snippet | 2 +- docs/upgrades/7fixup/style2/style02.tmpl | 2 +- docs/upgrades/7fixup/style3/style03.tmpl | 4 +- 5 files changed, 41 insertions(+), 7 deletions(-) diff --git a/docs/upgrades/7fixup.pl b/docs/upgrades/7fixup.pl index c68aa8863..8cc7841a5 100644 --- a/docs/upgrades/7fixup.pl +++ b/docs/upgrades/7fixup.pl @@ -30,6 +30,9 @@ sub addNewContent { my $home = WebGUI::Asset->getDefault($session); $home->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", + isHidden=>1, title=>"Welcome", menuTitle=>"Welcome", url=>"home/welcome", @@ -43,8 +46,11 @@ sub addNewContent { }); $home->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Key Benefits", menuTitle=>"Key Benefits", + isHidden=>1, url=>"home/key-benefits", ownerUserId=>'3', groupIdView=>'7', @@ -71,7 +77,10 @@ sub addNewContent { my $gs = WebGUI::Asset->new($session,"_iHetEvMQUOoxS-T2CM0sQ","WebGUI::Asset::Wobject::Layout"); $gs->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Getting Started", + isHidden=>1, menuTitle=>"Getting Started", url=>"getting_started/getting-started", ownerUserId=>'3', @@ -105,8 +114,11 @@ Enjoy your new WebGUI site! my $yns = WebGUI::Asset->new($session, "8Bb8gu-me2mhL3ljFyiWLg", "WebGUI::Asset::Wobject::Layout"); $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Talk to the Experts", - menuTitle=>"Talk to the Expoerts", + menuTitle=>"Talk to the Experts", + isHidden=>1, url=>"yns/experts", ownerUserId=>'3', groupIdView=>'7', @@ -117,7 +129,10 @@ Enjoy your new WebGUI site! $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Documentation", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", menuTitle=>"Get Documentation", + isHidden=>1, url=>"yns/docs", ownerUserId=>'3', groupIdView=>'7', @@ -127,8 +142,11 @@ Enjoy your new WebGUI site! }); $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Get Support", menuTitle=>"Get Support", + isHidden=>1, url=>"yns/support", ownerUserId=>'3', groupIdView=>'7', @@ -138,7 +156,10 @@ Enjoy your new WebGUI site! }); $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Get Hosting", + isHidden=>1, menuTitle=>"Get Hosting", url=>"yns/hosting", ownerUserId=>'3', @@ -149,7 +170,10 @@ Enjoy your new WebGUI site! }); $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Get Style", + isHidden=>1, menuTitle=>"Get Style", url=>"yns/style", ownerUserId=>'3', @@ -161,6 +185,9 @@ Enjoy your new WebGUI site! $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Features", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", + isHidden=>1, menuTitle=>"Get Features", url=>"yns/features", ownerUserId=>'3', @@ -172,6 +199,9 @@ Enjoy your new WebGUI site! $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", title=>"Get Translated", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", + isHidden=>1, menuTitle=>"Get Translated", url=>"yns/translated", ownerUserId=>'3', @@ -182,8 +212,11 @@ Enjoy your new WebGUI site! }); $yns->addChild({ className=>"WebGUI::Asset::Wobject::Article", + styleTemplateId=>"stevestyle000000000003", + printableStyleTemplateId=>"stevestyle000000000003", title=>"Get Promoted", menuTitle=>"Get Promoted", + isHidden=>1, url=>"yns/promotion", ownerUserId=>'3', groupIdView=>'7', @@ -196,7 +229,7 @@ Enjoy your new WebGUI site! #------------------------------------------------- sub deleteOldContent { print "\tDeleting old content\n"; - foreach my $id (qw(TKzUMeIxRLrZ3NAEez6CXQ sWVXMZGibxHe2Ekj1DCldA x_WjMvFmilhX-jvZuIpinw DC1etlIaBRQitXnchZKvUw wCIc38CvNHUK7aY92Ww4SQ)) { + foreach my $id (qw(PBtmpl0000000000000071 PBtmpl0000000000000075 f2bihDeMoI-Ojt2dutJNQA KZ2UytxNpbF-3Eg3RNvQQQ G0wlShbk_XruYVfbXqWq_w TKzUMeIxRLrZ3NAEez6CXQ sWVXMZGibxHe2Ekj1DCldA x_WjMvFmilhX-jvZuIpinw DC1etlIaBRQitXnchZKvUw wCIc38CvNHUK7aY92Ww4SQ)) { my $asset = WebGUI::Asset->newByDynamicClass($session, $id); $asset->purge if (defined $asset); } diff --git a/docs/upgrades/7fixup/style1/roottab_level1.nav b/docs/upgrades/7fixup/style1/roottab_level1.nav index 191ce2d88..b34253598 100644 --- a/docs/upgrades/7fixup/style1/roottab_level1.nav +++ b/docs/upgrades/7fixup/style1/roottab_level1.nav @@ -5,4 +5,5 @@ #startPoint:2 #relativesToInclude:descendants #descendantEndPoint:1 -#templateId:PBnav000000style01lvl2 \ No newline at end of file +#templateId:PBnav000000style01lvl2 +#displayTitle:0 diff --git a/docs/upgrades/7fixup/style2/css02.snippet b/docs/upgrades/7fixup/style2/css02.snippet index 23c79416f..132de7aa4 100644 --- a/docs/upgrades/7fixup/style2/css02.snippet +++ b/docs/upgrades/7fixup/style2/css02.snippet @@ -1,6 +1,6 @@ #title:css02.css #menuTitle:css02.css -#url:style/css02.css +#url:style2/css02.css #mimeType:text/css body, html { height:100%; diff --git a/docs/upgrades/7fixup/style2/style02.tmpl b/docs/upgrades/7fixup/style2/style02.tmpl index ac61280a3..605e24cfd 100644 --- a/docs/upgrades/7fixup/style2/style02.tmpl +++ b/docs/upgrades/7fixup/style2/style02.tmpl @@ -31,7 +31,7 @@

diff --git a/docs/upgrades/7fixup/style3/style03.tmpl b/docs/upgrades/7fixup/style3/style03.tmpl index 11462d3d6..6a6b4b382 100644 --- a/docs/upgrades/7fixup/style3/style03.tmpl +++ b/docs/upgrades/7fixup/style3/style03.tmpl @@ -25,7 +25,7 @@

^H(^c;);

^Page(title);

- ^AssetProxy(style3/wg.jpg);
+ webgui
@@ -44,7 +44,7 @@ - ^AssetProxy(style3/pb.jpg);
+ plain black