Jump to content

slave

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by slave

  1. I would like to create a search form with a category selection. I do not get the selector, I need help my selector $katId = $pages->find("template=leftnav_kat, h1_h6_1%=$kat"); its ok $matches = $pages->find("template=site, has_parent=$katId"); its ok myresult this pages (templates = site): MedLab ML +2 °C bis +8 °C 41 Liter MedLab ML +2 °C bis +8 °C 41 Liter MedLab ML +2 °C bis +8 °C 45 Liter MedLab ML +2 °C bis +8 °C 82 Liter MedLab ML +2 °C bis +8 °C 82 Liter LabStar Sanguis +2 °C bis +6 °C 100 Liter MedLab ML +2 °C bis +8 °C 107 Liter LabStar Sanguis +2 °C bis +6 °C 100 Liter MedLab ML +2 °C bis +8 °C 82 Liter but I'm looking for a text in the template = site, this template has a field search_cache $katId = $pages->find("template=leftnav_kat, h1_h6_1%=$kat"); its ok $matches = $pages->find("template=site, has_parent=$katId, search_cache%=Industrie"); not work I need help
  2. I have a new problem Mr. rgba(0, 56, 119, 1.) but I need it so rgba(0, 56, 119, 1) or rgba(0, 56, 119, 1.0) Blease update
  3. I use these settings 'rgba(68, 100, 221, 0.98)' But the issue looks like this (render) rgba(234, 25, 25, 0,93) but I need it so rgba(234, 25, 25, 0.93) what am I doing wrong
  4. I have a bug after updating ProcessWire dev 3.0.116 -> 3.0.117 Parse error: syntax error, 'unexpected' (T_NEW), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in \ wire \ core \ WireArray.php on line 2480 public function __new($items = null) { $a = self::new ($items); $this->wire($a); return $a; } I have this error now and can not log in anymore
  5. I have a question can i make the first link disable ?
  6. thanks vor your help but that has not helped kann yout help me please
  7. @Robins thank you for your help. but that has not helped. please see the graphic
  8. hi i need help please. I need this navigation structur (home) (dienstl1) (dienstl2) (dienstl3) my site struct is this home dienstleistungen (temp=produkte) --dienstl1 (temp=produktkategorie) ----die1 ----die2 ----die3 --dienstl2 (temp=produktkategorie) ----die1 ----die2 ----die3 --dienstl3 (temp=produktkategorie) ----die1 ----die2 ----die3 I have already tried everything
  9. yes, I have triedI have 2 examples and the original. I need help example 1 example 2 original
  10. Hello my english is not so good, I hope you can help me I would like to use this bootsrap navigation, I try to have 3 days can someone please help me ?? these are my options $options = array( 'parent_class' => '', 'current_class' => 'active', 'has_children_class' => 'dropdown', 'levels' => false, 'levels_prefix' => '', 'max_levels' => null, 'firstlast' => false, 'collapsed' => false, 'show_root' => true, 'selector' => 'template=site', 'selector_field' => '', 'outer_tpl' => '<ul class="nav navbar-nav">||</ul>', 'inner_tpl' => '<ul class="dropdown-menu">||</ul>', //'list_tpl' => '<li%s>||</li>', 'list_tpl' => '<li%s>||</li>', 'list_field_class' => '', 'item_tpl' => '<a class="dropdown-toggle" data-toggle="dropdown" href="{url}">{title}</a>', 'item_current_tpl' => '<a href="{url}">{title}</a>', 'xtemplates' => '', 'xitem_tpl' => '<a href="{url}">{title}</a>', 'xitem_current_tpl' => '<span>{title}</span>', 'date_format' => 'Y/m/d', 'code_formatting' => true, 'debug' => false ); that is the output...... how can I insert the dropdown dropdown-submenu to this position <!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Die 3 Meta-Tags oben *müssen* zuerst im head stehen; jeglicher sonstiger head-Inhalt muss *nach* diesen Tags kommen --> <title>Bootstrap-Basis-Vorlage</title> <!-- Bootstrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <!--<link rel="stylesheet" type="text/css" href="site/templates/js/topnavsub/css/bootstrap-submenu.min.css">--> <!--<script src="site/templates/js/topnavsub/js/bootstrap-submenu.min.js"></script>--> <style type="text/css"> .dropdown-menu > li.kopie > a { padding-left:5px; } .dropdown-submenu { position:relative; } .dropdown-submenu>.dropdown-menu { top:0;left:100%; margin-top:-6px;; -webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px; } .dropdown-submenu > a:after { border-color: transparent transparent transparent #333; border-style: solid; border-width: 5px 0 5px 5px; content: " "; display: block; float: right; height: 0; margin-right: -10px; margin-top: 5px; width: 0; } .dropdown-submenu:hover>a:after { border-left-color:#555; } .dropdown-menu > li > a:hover, .dropdown-menu > .active > a:hover { text-decoration: underline; } @media (max-width: 767px) { .navbar-nav { display: inline; } .navbar-default .navbar-brand { display: inline; } .navbar-default .navbar-toggle .icon-bar { background-color: #fff; } .navbar-default .navbar-nav .dropdown-menu > li > a { color: red; background-color: #ccc; border-radius: 4px; margin-top: 2px; } .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #333; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { background-color: #ccc; } .navbar-nav .open .dropdown-menu { border-bottom: 1px solid white; border-radius: 0; } .dropdown-menu { padding-left: 10px; } .dropdown-menu .dropdown-menu { padding-left: 20px; } .dropdown-menu .dropdown-menu .dropdown-menu { padding-left: 30px; } li.dropdown.open { border: 0px solid red; } } @media (min-width: 768px) { ul.nav li:hover > ul.dropdown-menu { display: block; } #navbar { text-align: center; } } </style> <!-- Unterstützung für Media Queries und HTML5-Elemente in IE8 über HTML5 shim und Respond.js --> <!-- ACHTUNG: Respond.js funktioniert nicht, wenn du die Seite über file:// aufrufst --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <nav class="navbar navbar-default" role="navigation"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#" target="_blank">NewWindow</a> </div> <div class="collapse navbar-collapse" id="navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="active"><a href="/">Home</a></li> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/">Site 1</a> <ul class="dropdown-menu"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/action/">SubSite 1</a> <ul class="dropdown-menu"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/action/sub-action/">Sub action</a> <ul class="dropdown-menu"> <li><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/action/sub-action/xxxxxxx/">SubSite</a></li> </ul> </li> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/action/another-sub-action/">Another sub action</a> <ul class="dropdown-menu"> <li><a class="dropdown-toggle" data-toggle="dropdown" href="/de/seit0/action/another-sub-action/sub-action/">Sub action</a></li> </ul> </li> </ul> </li> </ul> </li> <li><a class="dropdown-toggle" data-toggle="dropdown" href="/de/test140/">Site 2</a></li> <li><a class="dropdown-toggle" data-toggle="dropdown" href="/de/aaaaaaaaaaa/">Site 3</a></li> </ul></div> </nav> </div> <!-- jQuery (wird für Bootstrap JavaScript-Plugins benötigt) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Binde alle kompilierten Plugins zusammen ein (wie hier unten) oder such dir einzelne Dateien nach Bedarf aus --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <script> </script> </body> </html>
  11. Hello, has ever a pagetable tried with the repeater? when I combine I do not see the list of pages? What am I doing wrong ?
×
×
  • Create New...