Fokke

Members
  • Content count

    60
  • Joined

  • Last visited

  • Days Won

    1

Fokke last won the day on October 31 2013

Fokke had the most liked content!

Community Reputation

104 Excellent

About Fokke

  • Rank
    Distinguished Member
  • Birthday 01/14/1985

Contact Methods

  • Website URL
    http://www.nokikana.fi
  • Skype
    nokikana-

Profile Information

  • Gender
    Male
  • Location
    Tampere, Finland

Recent Profile Visitors

3,319 profile views
  1. Hi! I just pushed a new bunch of updates for PW 3.0.36 and drafted a new release. We are slowly reaching 100 % Any fixes or additions are welcome! Have a nice weekend!
  2. The current version covers a lot of 3.x stuff. Is there something in particular what you are missing? Since PW3 is now released as stable, maybe it's a good time to publish another release of the pack.
  3. Hi! Take a look at Repeater Matrix. Not really a drag-drop system like Visual Composer, but it lets you to define layout presets, edit and reorder them etc.
  4. Looks like you're using delayed output method. Therefore JS will be outputted in the wrong place. Try: $content .= "<script>history.go(-1);</script>";
  5. Hi! How about redirect using JS? Here's some discussion regarding sleep() function: http://stackoverflow.com/questions/3078867/php-output-text-before-sleep
  6. Hi there! Check configuration for "title" field. If you have unchecked "Global" option, the field will not be shown in the first step of page creation.
  7. Have you checked if there's any JS errors in console? Perhaps there's an error in your mystyles.js, or the file was not found.
  8. Hi Celfred! Maybe you're having non-breaking spaces in your if statement, which causes the error. Try clearing spaces in your statement and rewrite them. At least on mac version of Sublime Text alt+space inserts non-breaking spaces. If you're using Sublime Text, add this line to key bindings configuration (Settings > Key bindings - User) to prevent those nasty spaces: { "keys": ["alt+space"], "command": "insert", "args": {"characters": " "}},
  9. Hi! 'outer_tpl' is missing the class attribute. Set 'outer_tpl' => '<ul "pure-menu-list">||</ul>', to 'outer_tpl' => '<ul class="pure-menu-list">||</ul>',
  10. Hi Tony! Create a template for dam and attach all needed fields to the template. Then export database table to CSV file and use this module to create dam pages from table rows. http://modules.processwire.com/modules/import-pages-csv/
  11. Hello! Have you tried this module? With this you can edit company pages directly via page field. http://modules.processwire.com/modules/admin-page-field-edit-links/
  12. That's because $page object is not in scope when used in function. Try changing the line: $classy = $child === $page ? " class='current'" : ''; to: $classy = $child === wire('page') ? " class='current'" : ''; There's also a versatile MarkupSimpleNavigation module for outputting navigations.
  13. Are you sure you're managing permissions in this template? Sounds like those pages are inheriting permissions from the templates of parent pages.
  14. Hi Spica! Create a new permission called "page-edit-show-settings-tab" and adjust the roles to fit your needs. In /site/templates/admin.php add the following before the line: require($config->paths->adminTemplates . 'controller.php'); function hideSettingsTab(HookEvent $event) { // Get the page being edited $page = $event->object->getPage(); if (!wire('user')->hasPermission('page-edit-show-settings-tab', $page)) { $page->template->set('noSettings', 1); } } $wire->addHookBefore('ProcessPageEdit::buildForm', null, 'hideSettingsTab'); After a quick test, this seems to work fine on my setup.