guta
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Where i put my Google maps Code in wordpress?I have it!
I just copy another template and modified it like says here:
http://codex.wordpress.org/Pages#Page_TemplatesSomething like this:
<?php /* Template Name: Localizator */ ?> <?php get_header();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Google Maps JavaScript API Example</title>etc, etc
I mark it as solved
Best regardsForum: Fixing WordPress
In reply to: How to configure google maps in wordpress?Ok I have it!
Thank you,thenk you very much.I just copy another template and modified it like:
<?php /* Template Name: Localizator */ ?> <?php get_header();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Google Maps JavaScript API Example</title>etc, etc
I mark it as solved
Best regardsForum: Fixing WordPress
In reply to: How to configure google maps in wordpress?Ok i understand, but it seems that i can’t mix html code with php code as wordpress do.
For example. I have created one new Page template copying contact.php to maps.php wich looks like this:<?php /* Template Name: Localizator */ $cp_question = "6+3 = ?"; $cp_answer = "9"; ?> <?php get_header(); ?> <div id="content"> <div id="content-main"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post"> <?php //validate email adress function is_valid_email($email) { return (eregi ("^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$"\ , $email));etc, etc
But if i put the html code anywhere it does not work. It says error in line x
So. where must i put my html googlemaps code?
How can i put this code in contact.php for example?Thank you very much and excuses my newbie questions. I am sys admin and Webmasters world is very dificult…
Forum: Installing WordPress
In reply to: Where i put my Google maps Code in wordpress?Sorry, after reading my post i understand that the question is so simple as:
How i insert HTML code (with some javascript) in one page in wordpress?
Thank you again
Forum: Fixing WordPress
In reply to: Attach or link one file (one movie)Yes of course… I dont know wath i was thinking about…
Thank youForum: Installing WordPress
In reply to: define (‘WPLANG’, ‘nl_NL’); doesn’t workI confirm that it worked for me to in one 64bits server (debian amd64) to set it to spanish.
Thank you!…because i was going crazy
Forum: Fixing WordPress
In reply to: Imposible to set to spanish languageYES yes, yes!
I have ine 64bits distroNow it works
Thank you very much!!If someonelese happens:
http://wordpress.org/support/topic/144503?replies=8.Forum: Installing WordPress
In reply to: Set Language in worpress instaled in DebianYes, i put straight quotes
define(‘WPLANG’, ‘es_ES’);
But still not working 🙁Where i can define it?