Jump to content

qwertyeee

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About qwertyeee

  • Rank
    Jr. Member

Profile Information

  • Gender
    Not Telling
  1. yes, yes it's editors fail when i did copy/paste. I do not know how to more accurately express his thought(for now) . Maybe some who will understand and be able to explain to the other.
  2. Hi guys. What do you think about field which takes a template name as parameter and operates with the filed of this tamplate. example we have 2 templates =============== template "basic page" field title field body field comments ======================= ===================== template "comments" field name field body field comments ==================== field comments uses template "comments" as parameters and this is done in order to receive comment on the cascading. (sorry for my english).
  3. mmm... don't understand problem with create new page with name "0"
  4. i try and have same problem, i think it's becouse page name set "0" (not "o"), maybe letter in code Ryan do check somethink like if ( $page->name ){...} else {...} and it's not work couse $page->name = 0 (sorry for my english).
  5. hello everyone. anybody did user registration/login ? (would like to see source)
  6. would add something like "autohide" (is a narrow strip on the left screen, and when it hover over it appears completely)
  7. Google map module. for use add in template <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->FieldtypeGMap?>styles/FieldtypeGMap.css" /> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="<?php echo $config->urls->FieldtypeGMap?>scripts/FieldtypeGMap.js"></script> $out = '<textarea id="Fieldtype_GMap_location" class="GMap_hidden_textarea">'.htmlspecialchars($page->GMap_location).'</textarea>'; $out .= '<div class="GMap_canvas" id="GMap_location"></div>'; $out .= '<script type="text/javascript">'; $out .= 'var GMap_location = new Map("GMap_location");'; $out .= '</script>'; echo($out); replace GMap_location with your field name $out = '<textarea id="Fieldtype_your_filed_name" class="GMap_hidden_textarea">'.htmlspecialchars($page->your_filed_name).'</textarea>'; $out .= '<div class="GMap_canvas" id="your_filed_name"></div>'; $out .= '<script type="text/javascript">'; $out .= 'var your_filed_name = new Map("your_filed_name");'; $out .= '</script>'; echo($out); GMap.zip
  8. and in site/config.php need recomment $config->dbSetNamesUTF8 = true;
  9. i found problem, this was in my apache config file httpd.conf AddDefaultCharset windows-1251 thank you
  10. hmm, i have php 5.2.12, problem may be in this
×
×
  • Create New...