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/3/2006 6:56:14 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 31 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
RichardMathis
Asp.Net User
Theme CSS file + URL Rewriting = bug1/3/2006 6:56:14 AM

0/0

Hello, I've been happily coding along using a combination of masterpages and themes, when I added the next requirement of my project, which is URL rewriting. 

I rewrite something like /comics/[date].aspx to /default.aspx?comicdate=[date], which since the default.aspx page is in the root, the theme outputs the CSS file as if the current file was in the root. 

Unfortunately of course, the browser acts (appropriately) as if it were in the root of the site, so thus, no CSS file. 

I found a guy who says he has the solution: http://blogs.dotnetgerman.com/thomas/PermaLink,guid,f211331c-b175-4a25-8958-ece6bc6d364a.aspx

I tried to use bablefish to translate, but had no luck.  Can someone either tell me how to force the theme to output the apropriate path for the css file (I honestly prefer rooted paths, aka /app_themes/dndorks/dndorks.css, but I've never had a project that needed to be run from a virtual folder...) or translate the german into workable code?

Thanks!


Richard Mathis
Dndorks Webmaster
http://dndorks.com/
TopWebcomics Webmaster
http://topwebcomics.com/
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
URL rewriting breaks ASP.NET 2's themes - Fabrice's weblog If you try to use URL rewriting and ASP.NET 2 themes at the same time, you will likely get broken pages, ... The path to the CSS file is missing an extra ". ...
Solving URL rewriting problems with themes and trailing slashes ... Yet, a simple problem still existed: whenever URL rewriting is used with a URL like ~/somepath/ the theme gets broken because the path to the CSS files and ...
CodeProject: URL Mapping / URL Rewriting / Search Engine Friendly ... References to the images, css files, and themes should stay intact. .... I face one problem while rewrite url when i rewrite url css and image is not apply ...
URL Rewriting with ASP.NET and Handling Images and CSS « Perry ... As usually, ScottGu has an excellent post about URL rewriting with ASP.NET. .... Your solution works fine with one css file, but if you have more than one, ...
URL Rewrite problem | Gallery URL Rewrite problem ... my .htaccess file is still there from Beta 2 unchanged. .... [03/Jun/2005:06:11:43 -0500] "GET /gallery2/themes/black/theme.css ...
inetserver iis Over 66 seconds to fetch a simple css file on IIS 6 ... Here is the full trace for a css file that took about 20 seconds. .... I have URL rewriting rules (using Helicon) that apply to two domains ...
Integration:WPG2 Release Notes - Gallery Codex 0000051: [Bug] Gallery2 Rewrite Embedded Path is Not being Set. ... Automatic inclusions of G2image CSS file, no more having to edit WP Theme stylesheets! ...
Url Rewrite and relative file paths - Neowin Forums Aug 16, 2008 ... Problem is that I link relatively to files (css and other) from the ... Do I have to rewrite the rewritten url back again if it links to ...
Aggregate and compress CSS not working. | drupal.org @import url(/sites/all/themes/spreadfirefox/modules.css); .... the aggregate css file does not seem to be the problem, just the path ...
URL rewriting using php and htaccess This means that requests for images, CSS files, etc. will still return the correct ... How can i make this url rewriting by apache mode i.e. by htaccess. ...

Videos:
Literate functional testing Google London Test Automation Conference (LTAC) Google Tech Talks September 7th, 2006 Presenters: Robert Chatley and Tom White




Search This Site:










menu shows admin to all users ?

fresh install issue

abbr

constant compilation during web development

button and linkbutton

losing 1st row in datatable/reader, how?!

help! vwd suddenly doesn't work

printer permissions

how to share dlls,and needn't copy to directory bin??

can you update a access database?

add nodes to child nodes

where do i find my default provider at?

microsoft reporting services

catia file

sdk 1 vs sdk 2

how to retrieve the values from html dropdown list

session timeout

forms authentication - change anonymous username

experience w/ vs.net 2008?

stifling creativity

dnn 3.0.5 - help debug dnn 3.0.5

i tried an asp.net upload tutorial but can't get it to work.

multiple custom error page

paging and autopostback do not work

a lame question from asp.net newbie, urgent, please help!!

pages running slow

how to acces the value returned by a function in .vb class

export to word/excel

classifieds starter kit currency problem

sending usernametoken in webservice

 
All Times Are GMT