Page 3 of 4

Posted: Fri 24. Jun 2005, 07:31
by flip-flop
@pico:
--------------------------------------------------
Sorry, but I can´t see an static URL at your testpage.
"http://test.hdk-online.de/index.php?test" isn´t statically.

Are you switch rewrite off since yesterday?


@pepe:
--------------------------------------------------
Yes, thats right but it isn´t an basically problem of CSS.
Statically testpage runs fine including this long comment.
I believe the template editor has a short problem.


@Oliver:
--------------------------------------------------
An dieser Stelle halte ich CSS für ungeeignet. Dann kann man das eben nicht nutzen oder muss sich Alternativen überlegen.
You are right man.
Sorry, there is no problem with {NAV_LIST_TOP:Home:Class} but {NAV_LIST_CURRENT}

/* Tantek-Hack IE5 error correction */
#list_level a {
background-color: #B7C2D0;
display: block;
padding: 4px 2px 3px 16px;
border: 1px solid #92A1AF;
width: 184px;
voice-family:"\"}\""; /* after this point IE 5.x is ignoring following declaration */
voice-family:inherit;
width:164px;
}


page layout: space head/right/bottom/left dosn´t work
--------------------------------------------------
Welcher Code aus 1.21 soll nicht in 1.2.3 enthalten sein?
what code isn´t contained from 1.21 to 1.2.3?
function get_body_attributes($values)
located in front.func.inc.php
Replacing this function from 1.2.3-DEV -> 1.2.1-DEV and space head/right/bottom/left runs fine.

Knut

Posted: Fri 24. Jun 2005, 07:38
by Oliver Georgi
for page borders I always recommend CSS.

Oliver

Posted: Fri 24. Jun 2005, 09:24
by flip-flop
Short question page boarders:

where i can find the class or thereabout ?
I am unwillingly change source code.

:!: For a one man show it´s a great work you do. :!:

Knut

Posted: Fri 24. Jun 2005, 10:52
by Oliver Georgi
it is the nomal

body {
border:0;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
}

somewhere in your used CSS file, maybe frontend.css

Oliver

Posted: Fri 24. Jun 2005, 17:27
by flip-flop
Ok ok

tz.tz.tz I haven´t seen the body tag in my frontend.css.

Thank you.

(Manchmal sieht man den Wald vor lauter Bäumen nicht)


Wünsche ein schönes Wochenende :D


Knut

Posted: Fri 24. Jun 2005, 18:05
by pico
:oops: sorry was my fault - did a Error in .htaccess so that don't work properly
also bei mir gehts mit 1.2.3 und rewrite http://test.hdk-online.de
print didn't work with 1.2.3 when rewrite is on :!:

Posted: Fri 24. Jun 2005, 18:15
by Ben
So does anyone have a suggestion as to what could be done to get print layouts working with rewrite turned on? URL's look nicer without the index.php?alias. Anyone have any ideas? :?:

Posted: Fri 24. Jun 2005, 18:22
by Oliver Georgi
for me it is working on my Windows test system.

Oliver

Posted: Fri 24. Jun 2005, 18:24
by Ben
I'm on a Linux server with cPanel, where it works for 1.2.1 but not 1.2.3

Posted: Fri 24. Jun 2005, 18:24
by pico
think that I look into the Code tommorow - if I will find some time - cause I like to have it too - when I upgrade my Site to 1.2.3 :?

Posted: Sat 25. Jun 2005, 09:41
by Oliver Georgi
I think I know your problems - please compare your .htaccess files. In 1.2.3 there is one step of rewriting changed. The "." will be rewritten in once to ",". This is the only change in 1.2.3 I have made. So the step

Code: Select all

//if($phpwcms["rewrite_url"]) {
//$_GET['id'] = str_replace(".",",",$_GET['id']);
//}
in content.func.inc.php around line 49 is not neccessary anymore.


Oliver

Posted: Sat 25. Jun 2005, 10:48
by pico
mhhh

my htaccess looks like that

Code: Select all

RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /index.php?id=$1.$2.$3.$4.$5.$6
RewriteRule ^(.+)\.phtml$ /index.php?$1 
and the above Code in content.func.inc.php is commented out

but it won't work - :cry:

Posted: Sat 25. Jun 2005, 12:04
by Oliver Georgi
yepp - but check again. You are using the wrong version ;-)

Code: Select all

# These settings are recommend
# Maybe you might have problems
# with other scripts that needs
# register_globals ON
php_flag magic_quotes_gpc Off
php_flag register_globals Off


# Rewrite functionality for phpwcms
# optimized by Jan212
# 18-04-2004

# Check that you have set Options FollowSymLinks
# and right Allow
RewriteEngine On

# maybe you need this
#DirectoryIndex index.html index.php 


# Default ReWrite settings for phpwcms
# ===============================================
# This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6

# This will rewrite mypage.phtml => index.php?mypage
RewriteRule ^(.+)\.phtml$ index.php?$1


# If phpwcms is installed in a subdirectory,
# sample: "mysubdir" then use this (remove #)
# if above lines doesn't work for you
# ===============================================
#RewriteBase /mysubdir
#RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /mysubdir/index.php?id=$1,$2,$3,$4,$5,$6
#RewriteRule ^(.+)\.phtml$ /mysubdir/index.php?$1 


# If you want to set rewrite logging
# ===============================================
#RewriteLog "/absolute/path/to/the/rewrite.log" 
# 0 = Logging disabled, 9 = highest level of logging, only for debugging 
#RewriteLogLevel 3
Oliver

Posted: Sat 25. Jun 2005, 13:39
by pico
:oops: :oops: :oops:

ich glaub ich brauch ne Brille :wink:


sag ja immer 'kaum macht mans richtig - schon geht's '

DANKE

geh jetzt zu Fielmann oder so :D :D :D

Posted: Sat 25. Jun 2005, 13:44
by Cyrus
Thanks Oliver.

I had left the old .htaccess as I had some permanent redirects from the old extension .shtml pages to the new .phtml

Loaded the .htaccess from the 1.2.3-DEV files and it works for me now.

Regards.