poper
Forum Replies Created
-
Forum: Themes and Templates
In reply to: IE6 CSS layout problemThanks a lot plodder, you rock!
It works 🙂
Thanks again!Forum: Themes and Templates
In reply to: IE6 CSS layout problemAnd here are the template files i’m using for WP (no loop, just the layout): http://personales.ya.com/poper/cole3.rar (header, index, footer and style.css)
Forum: Themes and Templates
In reply to: IE6 CSS layout problemThanks plodder. I’m going to check the link.
One more odd thing: If I copy and paste the code from the page rendered by WP into a new HTML file it’s shown properly in IE6! but i doesn’t in localserverThe code is here:
http://personales.ya.com/poper/index.html —> HTML from a page rended by WP
http://personales.ya.com/poper/style.css –> CSS
Thanks a lot!Forum: Themes and Templates
In reply to: IE6 CSS layout problemThanks for the answer, unfortunely it doesn’t work. The problem is not only the centering but also the width of the “caja” DIV. The odd thing is that the “pie” DIV (the grey footer) renders OK in IE (and both DIVs share almost the same CSS code)
Forum: Fixing WordPress
In reply to: Customizing sidebarMoshu and strugglefish thanks a lot, it works like a charm!
Forum: Fixing WordPress
In reply to: Customizing sidebarstrugglefish I’ve tried something similar:
elseif (is_page()) {
// we're looking at a static page. Which one?
if (is_page('5' || '9' || '10' || '11')) {
wp_list_pages('sort_column=menu_order&exclude=8,3&title_li=');
} elseif (is_page('8' || '3')) {
// our about page.
echo "HTML";
} else {
// catch-all for other pages
echo "html";
}It works, but It always show the HTML for the first option (even if the displayed page is #8 or 3)
Thanks a lotForum: Fixing WordPress
In reply to: Customizing sidebarThanks a lot moshu, I’m gonna try it
Forum: Fixing WordPress
In reply to: Customizing sidebarThanks for you answer, but I understand that, but I want to know if that piece of code can be assigned to different pages at the same time (to avoid repeating code and increase the size of the file).
// we’re looking at a static page. Which one?
if (is_page(‘8 or 9 or 10‘)) {
// our about page.
echo “HTML for pages 8, 9 or 10”;I mean translate ‘8 or 9 or 10’ to PHP code.
Thanks again and sorry for my English.Forum: Fixing WordPress
In reply to: Can hosting provider disable localization?I’ve found a solution. All you have to do is changing these lines in /wp-includes/gettext.php (108-111)
// $MAGIC1 = (int)0x950412de; //bug in PHP 5
$MAGIC1 = (int) - 1794895138;
// $MAGIC2 = (int)0xde120495; //bug
$MAGIC2 = (int) - 569244523;for these ones:
// $MAGIC1 = (int)0x950412de; //bug in PHP 5
$MAGIC1 = 2500072158;
// $MAGIC2 = (int)0xde120495; //bug
$MAGIC2 = 3725722773;If it doesn’t work, you can try these ones:
$MAGIC1 = (int)0x950412de; //bug in PHP 5
//$MAGIC1 = (int) - 1794895138;
$MAGIC2 = (int)0xde120495; //bug
//$MAGIC2 = (int) - 569244523;I hope it helps others.
Forum: Fixing WordPress
In reply to: Can hosting provider disable localization?Acording to the phpinfo, gettext is enabled
Forum: Fixing WordPress
In reply to: Translation into Spanish is not workingPues entonces no sé a que puede deberse el error. Comprueba que las rutas están correctas (/wp-includes/languages/es_ES.mo) y que has subido el fichero .mo en lugar del .po.
En estos momentos yo estoy usando la traducción 1.5 en mi blog que está actualizado a la 1.5.2 y no he encontrado ningún problema. Las nuevas versiones que han ido apareciendo corregian fallos y no añadian nuevas caracterÃÂsticas que implicasen nuevas cadenas de texto, por lo que funcionan bien.
SaludosForum: Fixing WordPress
In reply to: Translation into Spanish is not workingHola
si los datos que has puesto son exactos, el fallo está en las mayúsculas. El nombre que emplees en wp-config.debe ser exactamente igual al que tengo el fichero con la traducción:es_ES.mo (dentro de wp-includes/languages/)
define (’WPLANG’, ‘es_ES’); (en wp-config.php)Por lo que has escrito, el fichero con la traducción está nombrado como es_Es.mo con la segunda letra en minúscula Haz los cambios oportunos para que ambos nombre coincidan.
Espero que sea eso. Un saludo.
Forum: Fixing WordPress
In reply to: Upgrade 1.5 > 1.5.1Hi, Upgrading was fine but I’ve found an error on my site. My index.php calls to a SSI function in order to get the lastest posts from a forum (SMF 1.0.3):
<?php require("/home/mydir/public_html/foro/SSI.php"); ?>I worked nice with WP 1.5 , but after upgrading to 1.5.1 this error appears:
Fatal error: Cannot redeclare is_admin() (previously declared in /home/mydir/public_html/wp-includes/functions.php:1367) in /home/mydir/public_html/forum/Sources/Security.php on line 111once I remove
<?php require("/home/mydir/public_html/foro/SSI.php"); ?>from the very first line of the index.php the page loads fine, although obviously SSI functionality is lost.Any idea about what’s happening, please?
ThanksForum: Fixing WordPress
In reply to: Timestamp can’t be edited for draftsHi Callistawolf,
I’ve solved the problem this way:
Write the post, change the timestamp (checking the appropriate box previously) and then click on the ‘Publish’ button, not on ‘save’. It will be posted using the ‘old’ date.Forum: Fixing WordPress
In reply to: Timestamp can’t be edited for draftsSame problem here. I need to introduce posts that were written long time ago so the timestamp needs to be changed. ‘Edit timestamp’ is checked, date is changed, then I save but the original timestamp remains, no changes appear
Help please!