Jump to content

daerias

Members
  • Posts

    21
  • Joined

  • Last visited

About daerias

  • Birthday 03/24/1984

Profile Information

  • Gender
    Male
  • Location
    Germany, Hannover

Recent Profile Visitors

2,547 profile views

daerias's Achievements

Jr. Member

Jr. Member (3/6)

1

Reputation

1

Community Answers

  1. Thank you so much it works fine! but I don't understand why should I use ?> before php-hannacodes?
  2. is this a stupid question or there is no way to do this?
  3. Thanks Sr. Member it works with the first solution with echo but the second soulution doesn't is there any way to do this without echo, because it could be borring if I have a lot of lines?
  4. thanks LostKobraki I have changed my hannacode to PHP and changed the code: <?php <div class="row fullWidth img"> <img src="<?php echo $config->urls->templates; ?>img/header.jpg" alt="header-picture"> </div> ?> after this I have:
  5. Hi Community I have a little problem: I have PW+ZurbFoundation5 with HannaCode-module my home.php: <!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title></title> <link rel="stylesheet" href="<?php echo $config->urls->templates; ?>css/foundation.css" /> <script src="<?php echo $config->urls->templates; ?>js/vendor/modernizr.js"></script> </head> <body> <!-- HannaCode --> <?php $body = $page->body; echo $page->body; ?> <script src="<?php echo $config->urls->templates; ?>js/vendor/jquery.js"></script> <script src="<?php echo $config->urls->templates; ?>js/foundation.min.js"></script> <script> $(document).foundation(); </script> </body> </html> HannaCode [[bigheader]] as HTML: <div class="row fullWidth img"> <img src="<?php echo $config->urls->templates; ?>img/header.jpg" alt="header-picture"> </div> and my Page with body field: [[bigheader]] and this is the rendered page: what is wrong with my code? Thanks!
  6. sorry I am php beginner and I do not understand this readme could somebody show me an example please?
  7. <nav class="top-bar" data-topbar> <section class="top-bar-section"> <ul class="right"> <li class="divider"></li> <?php $treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module echo $treeMenu->render(); // render default menu ?> </li> </ul> </section> </nav> but css is broken
  8. hi @all could somebody help me and show me the right way to create easily topbar-navigation PW+ZurbFoundation please? This is my HTML for the navigation: <nav class="top-bar" data-topbar> <ul class="title-area"> <li class="name"> <h1> <a href="#"> 1. BGC-Celle </a> </h1> </li> <li class="toggle-topbar menu-icon"><a href="#"><span>menu</span></a></li> </ul> <section class="top-bar-section"> <ul class="right"> <li class="divider"></li> <li class="has-dropdown"> <a href="#">Main Item 1</a> <ul class="dropdown"> <li><label>Section Name</label></li> <li class="has-dropdown"> <a href="#" class="">Has Dropdown, Level 1</a> <ul class="dropdown"> <li><a href="#">Dropdown Options</a></li> <li><a href="#">Dropdown Options</a></li> <li><a href="#">Level 2</a></li> <li><a href="#">Subdropdown Option</a></li> <li><a href="#">Subdropdown Option</a></li> <li><a href="#">Subdropdown Option</a></li> </ul> </li> <li><a href="#">Dropdown Option</a></li> <li><a href="#">Dropdown Option</a></li> <li class="divider"></li> <li><label>Section Name</label></li> <li><a href="#">Dropdown Option</a></li> <li><a href="#">Dropdown Option</a></li> <li><a href="#">Dropdown Option</a></li> <li class="divider"></li> <li><a href="#">See all →</a></li> </ul> </li> <li class="divider"></li> <li><a href="#">Main Item 2</a></li> <li class="divider"></li> <li class="has-dropdown"> <a href="#">Main Item 3</a> <ul class="dropdown"> <li><a href="#">Dropdown Option</a></li> <li><a href="#">Dropdown Option</a></li> <li><a href="#">Dropdown Option</a></li> <li class="divider"></li> <li><a href="#">See all →</a></li> </ul> </li> </ul> </section> </nav> how can I render this in PW easily? Thanks
  9. YEEEESSSSSS!!!! Thank you so much for your time! Now I have understand how can I use Hanna Code! Thank you so much for your help and have a nice day
  10. I can use this only like this: <?php $hanna = $modules->get('TextformatterHannaCode'); $page->body = $hanna->render('[[panel]]'); echo $page->body; ?> but not like this: [[panel]] in my template.php why?
  11. Hannoa Code looks good, but I don't understand how it works. I have in HannaCode -> [[top_bar_navigation]] with the code for the navigation bar as PHP. Also I have a field marked as Textarea. TextForamtters -> HannaCode | Content type HTML/Markup. my Template: <body> <?php echo $page->top_bar_navigation; ?> </body> but I can't see my navigation bar. Could you help me please?
  12. Hi Community I have just combined Foundation+ProcessWire (BIG THX to Joss ) and now I would like to use the fields as code-snippet-container from Zurb Foundation Framework. Is there any way to do this? Thanks!
×
×
  • Create New...