rolisx

Members
  • Content count

    38
  • Joined

  • Last visited

Community Reputation

4 Neutral

About rolisx

  • Rank
    Jr. Member
  1. @netcarver yea, I saw that, but it's not that package. I had contact with their support and they just said "it's not allowed to use options".....
  2. Hi Zeka, i did. The hosting doesn‘t allow the word ‚Options‘ in the htaccess file...
  3. it doesn‘t work. i think i need an alternative code for ‚options -indexes‘ but without the ‚options‘...
  4. Hi Guys, Just finished a website locally and wanted to upload it on the webserver of my customer. I got a server 500 error. Now, the guidelines of the hoster (world4you.com) does not allow "Options" in the htaccess-file. So, when I uncomment these: Options -Indexes Options +FollowSymLinks the site is visible, but the content won't show and no links are available. Not sure if I need the Symlinks-part but I guess I need a workaround for the Index-part. Can anybody help here? I need the website up and running asap.... Thanks! Roli
  5. Guys, me again. I'm still trying to wrap my head around this module. How can I achieve the following structure: Home -- Submenu 1 (anchor #) -- Submenu 2 (anchor #) ... Products -- Submenu 1 (anchor #) -- Submenu 2 (anchor #) ... and so on.... I need a clickable first menu-level (home and products are main sites and need to remain clickable). and then I need the submenus to be anchors, so clicking on the link jumps to the correct position on this or the other page. Is this possible. Or is it done differently in Processwire? Url segments maybe (tried to understand this, but no luck..)? Thanks for any help...
  6. It seems to install these but I cannot find them under "modules" anywhere.... what am I doing wrong?
  7. but how can i install these? doesn't seem to work
  8. Thanks!
  9. can anyone tell me where I can find these PW3 branch files? PaymentModule and PaymentInvoice?? Just bought the Module but these are not included it seems...
  10. Hi Everyone I have a problem here. I have built a site with Processwire on localhost and then transferred to my customer's server. a) it's a windows server (unfortunately) and b) there is a domain-mapping for this site, the domain points to a folder of another domain. Sorry, I can't explain it any better, I don't really understand the different types of servers (why do they have to be different anyway...). My problem is, that I see the main website but not the admin page. Do I have to add anything to my .htaccess file? I also tried to include web.config file. Not .htaccess nor web.config file have an impact when changing its content. I really have no clue what to do!! Links: mcconnellacademy.ch, mcconnellacademy.ch/admin Thanks for any pointing in the right direction!
  11. aaah! now I see! sometimes, you don't get the most obious things. Thanks Soma!
  12. Hi everyone, me again. I have a problem with my MarkupSimpleNavigation Setup. This is the structure (the important part of it): - about - news (visible in navigation an marked "active" when news-items are selected - news-item 1 (not visible in navigation, link will be on the news site) - news-item 2 (not visible in navigation, link will be on the news site) - news-item 3 (not visible in navigation, link will be on the news site) From what I found in the forums I have the following php-code for the markup navigation: <?php /* MarkupSimpleNavigation Example for Bootstrap 2.3.2 Multilevel Navbar */ // load MarkupSimpleNavigation module $nav = $modules->get("MarkupSimpleNavigation"); /* SETUP HOOKs ------------- */ // hook to have custom items markup $nav->addHookAfter('getTagsString', null, 'customNavItems'); function customNavItems(HookEvent $event){ $item = $event->arguments('page'); // first level items need additional attr if($item->numChildren(true) && count($item->parents) < 2){ $title = $item->get("title|name"); $event->return = '<a href="#" class="dropdown-toggle" data-toggle="dropdown">' . $title . ' <b class="caret"></b></a>'; } // submenus don't need class and data attribs if($item->numChildren(true) && count($item->parents) > 1){ $event->return = '<a href="#" class="active">' . $item->get("title|name") . '</a>'; } } // hook to add custom class to li's that have submenu $nav->addHookAfter('getListClass', null, 'customListClass'); function customListClass(HookEvent $event){ $item = $event->arguments('page'); // if current list item has children and is level 2 from root if($item->numChildren(true) && count($item->parents) > 1){ $event->return = ' dropdown-submenu'; // adds class to li } } /* Render Navigation Markup ---------------- */ $navMarkup = $nav->render( array( 'max_levels' => 3, 'parent_class' => 'active', 'current_class' => 'active', 'has_children_class' => 'dropdown', // all li's that have children 'outer_tpl' => '<ul class="nav navbar-nav pull-right">||</ul>', 'inner_tpl' => '<ul class="dropdown-menu">||</ul>', ) ); echo $navMarkup; ?> I want the navigation link "news" to show the template "news" with links to the "news-items" (that's what I have). "News" should always be "active" when "news" or "news-item" are clicked. What am I missing here? this is what it looks like so far: http://rolspace.net/hd/energiegossau/uber-uns/news/ Thanks for your help. Roli
  13. Thanks for the input. It works. Have a great day!
  14. Thanks Macrura, I changed the news items as subpages now. But I'm still left with the same problem. I don't know how to fill my news container with the content when I click on the links. I've tried using AJAX but I guess, I just don't know how. barbajs also seems way to complicated for me. Any ideas? Where I'm at: I have news-items containing date, title, text and images. on the right side, I have links containing date and title. When one of the links is clicked, the container is supposed to fill with the right news details. Any ideas anyone?