CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 1/23/2007 3:29:43 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 16 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
DennisBetten
Asp.Net User
Change theme after publish doesn't work correctly1/23/2007 3:29:43 PM

0/0

Here's the issue:

I have created a website which should get it's theme from the web.config. While testing this worked fine. But now that I published the site, the theme still works, but changing to another theme in the web.config doesn't have any effect!

I did find out where the problem is, but would like to find a clean solution!

The problem is this. When the website is published, automatically a theme="..." reference is added to the top of each webpage. This means the pages will never inherit from the web.config!! Ok, manually removing every reference does work, but this means I have to edit the pages everytime I want to publish changes made to the website.

Can anyone think of a clean solution to this problem??

Thanx!!

Zhao Ji Ma - MS
Asp.Net User
Re: Change theme after publish doesn't work correctly1/26/2007 3:45:30 AM

0/0

Hi,

I'm wondering how the theme directive goes to there, by default when I create a new page with "And New Item.." in Visual Studio,

The resulting page directive will be similar as following:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

 


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
Peixinho
Asp.Net User
Re: Change theme after publish doesn't work correctly1/26/2007 12:58:07 PM

0/0

Try to remove the referenceto any theme from web.config BEFORE you start the publish process.

After the publish procedure stops you can copy the web and on the destination you can add the theme reference again to the destination web.config.

Write if you need more help.

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Special Edition Using Microsoft Office 2003 Authors: Ed Bott, Woody Leonhard, Pages: 1368, Published: 2004
Collected Jack Kirby Collector Volume 4 Authors: John Morrow, Jack Kirby, Pages: 240, Published: 2004
Special Edition Using FileMaker 8: Special Edition Authors: Scott Love, Steve Lane, Bob Bowers, Pages: 890, Published: 2006
Wordpress 2: Visual QuickStart Guide Authors: Maria Langer, Miraz Jordan, Pages: 294, Published: 2006
John Shaw's Business of Nature Photography: A Professional's Guide to Marketing and Managing a Successful Nature Photography Business Authors: John Shaw, Pages: 144, Published: 1996

Web:
Gallery2:FAQ - Gallery Codex 4.30 How can I change the default theme when I can't reach site admin? ..... Note: Gallery Remote doesn't work with Gallery 2.2.1 - nor does ...
DaylightMap iGoogle Themes After Theme Manager is installed, uncheck Cached next to the Live Planet theme ... so that it'd be more obvious for new users how to make it work correctly. ...
Why Don’t My “Archives” and “About” Links Work? | Cutline Theme ... If that doesn’t work, re-upload the original archives.php page from the theme ... Most themes, probably like the theme you switched to after ...
ClearPixels - Free WordPress Theme | Theme Lab Well that had to be the quickest comment I’ve ever had after publishing a post. :D ... But it’s a pity, that Internet Explorer can’t work correctly with ...
Troubleshooting Guide for PowerPlugs: Web Templates My local website looks fine, but the website published to the server is missing navigation bars or the theme doesn't seem to be applying correctly. ...
Release Notes [OLAT-3245] - bulk user change can update users with the same email address ..... Red screen after course edit; [OLAT-2856] - login blocked doesn't work ...
Foxkeh's Blog - Foxkeh theme for Firefox 3 Sep 1, 2008 ... Thank you!! Btw. It will not work correctly with upcoming 3.1 :( ... that the Find system in the theme is also broken, as it doesn't work, ...
WP Remix Support Forum How to add testimonials? doesn't display correctly, 11, rbhavesh, 4 days ... WP Remix 2.0 Theme troubleshooting – How to install, errors, problems, ...
LiteJazz Handbook Once you have correctly installed and configured the Block Theme module, .... a teaser break after a fixed number of characters probably won't work for you. ...
WordPress › Support » I don't like the way 2.5 is going Granted, I've only spent little time on this, but my theme doesn't work and the plugins has ... There is a huge CHANGE THEME button on the *dashboard*. Why? ...

Videos:
Core Patterns for Web Permissions Google TechTalks July 19, 2006 Tyler Close Visiting Scientist Hewlett-Packard Laboratories Mr. Close is a researcher and developer, working in the...
Being Opinionated in America: Maureen Dowd & Thomas Friedman New York Times columnists Maureen Dowd and Thomas Friedman in conversation with UC Berkeley professors Cynthia Gorney and Mark Danner.
Charlie Rose - Judy Woodruff & Mike Allen / Wole Soyinka / Jeremy Allaire Segment 1: Guest host Judy Woodruff talks politics with Mike Allen of Time magazine. Segment 2: Nobel laureate Wole Soyinka talks with guest host ...
www.moldytoaster.com 0s. Paid rent, and dined on \'87-la-mode beef and potatoes--beer limited to one quart. Peter hinted at wages, and was remonstrated with on the folly ...




Search This Site:










detect if internet connection is available

sessions in asp .net

dnn 3.0 localization enh/bug

dynamically assigned events to dynamic controls

dbnull error when editing with dropdownlist

** membership.getuser( ) and timestamp ?

cool menu skin object from scott mcculloch

authentication for pictures?

loading control....

object as optional argument in a procedure

dnn and firewall

aspnet user permission problem

designing newsletter

css = constant scarey script?

how do you modify what is required in registration?

install, setup, multi-targeting, toolkit

need help setting membership authentication cookie to never expire

i have many link buttons on a page and need to know which one was click on postback:

browser/os check?

error adding user accounts module to a page & solpart error

tfs problems and vsts project creation

making a vs 2005 project out of a website

use session variables or user profile

retrieving variavle data from the address bar

how to import and define class components

how to pass dataset as parameter to javascript

display content based on permissions

confusion with asp.net 2.0

objectqualifier in web.config

something funny going on with portal folders

 
All Times Are GMT