Jump to content

gottberg

Members
  • Posts

    40
  • Joined

  • Last visited

Everything posted by gottberg

  1. Thanks for your reply but i still don´t get the part where i get the stuff i blogged on my /blog site.
  2. Hi, i feel stupid but i dont get it how to use this. I have installed the module and now im stuck. Could some one explain a little deeper . Thank you!
  3. Thanks for the reply, with flag i meant images but im not getting that to work correctly but the text changed with your suggestion!
  4. Hi, im working on a site that would have default language as swedish with a finnish image flag. Im using this: if($input->get->language) { // user clicked on a link to set the language $name = $sanitizer->pageName($input->get->language); $language = $languages->get($name); if($language) $session->language = $language->name; } if($session->language) { // language is defined in user's session $user->language = $languages->get($session->language); } and <a href='./?language=finnish'>Finnish flag</a> How do i get the flag to change to a swedish flag?So that when some 1 chooses finnish the finnish flag would become swedish and link to the default page? I have tried many if cases but didnt get them to work. Thanks Simon
  5. Solved the the problem with chmod *site* -r
  6. Hmm the problem is that ive been developing the site on my local computer using windows, ive moved it to other computers using Windows and Xamp. I dont have Processwire on the server yet and i was hoping to only move the site folder and import the sql to my database and then that the site would be online I think that the Windows to linux thing shits up the file premissions? Or ?
  7. Hi, have had some problems uploading my sites created in windows and uploading them to a Linux server, the rights of the files are allways wrong. Is there an easy way to fix this?
  8. I was trying this code if($page->footer) echo $page->footer; else echo $homepage->footer; but it doesnt seem to work.
  9. Hi, im building a multilanguage website and i was wondering if there was an easy way for the footer, it will be the same on every page. Now i have to copy paste the footer text to the footer field for each page, could there be an easier way? Best regards Simon
  10. Thank you! Worked like a charm!
  11. Hi, thanks for this module, everything work as i wanted except that $treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module echo $treeMenu->render(); dosnt get all the pages. It shows all pages except the root page. Am im missing something or did i misunderstand something? Simon
  12. Thanks for the replys! Im gonna take a look at the module when i get home. Have a nice weekend! Simon
  13. Hi, and thank you for this wonderful CMS, perfect for my needs! Im a newbie so i would have some questions. I was wondering how i could create a menu like this: http://www.dynamicdrive.com/style/csslibrary/item/nested_side_bar_menu/ Could somebody show me an code example? I got i working but they would have to enter the parent page before. Thank you! Simon
×
×
  • Create New...