Jump to content

Sergio

Members
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Sergio

  1. Great job indeed! Would you mind showing some admin screenshots? I would like to see how you organized the accessories templates and relationships. I'm always interested in seeing how did you guys build the admin templates and how the content is organized; see what fields where used and so on. Sometimes creating an easy to use ('client-proof') content structure is more difficult than design and develop the frontend.
  2. Reno if by far my favorite admin theme. Many kudos for Tom and Ryan! The only thing I miss is a dark skin, so I'm creating one. It is in alpha state, there is a lot of details to do. I'm planning to share it here when finished if anyone is interested.
  3. Hi Juergen. I'm a newbie, but I think you can get the profile language using the user ID, like this: $userID = 41; $profile = $pages->get($userID); if ($user->language != $profile->language) { //if the user session language is not the same of his/her profile. echo "User language is different from session"; } else { echo $user->language->title; echo '<br /> '.$user->name; }
  4. Semantic UI has an example of responsive tabs: http://semantic-ui.com/modules/accordion.html
  5. Hi all, today I finally managed to get everything working together properly. Now here is my Foundation 5 dropin template: https://github.com/gebeer/pwfoundation5. It uses Foundation 5 SCSS files. There's a quite extensive readme file with instructions. Cheers gerhard gerhard, many thanks for this updated profile! I noticed two problems on your files. First, in the readme file, the link for the new Zurb gem (version 5) is: http://foundation.zurb.com/docs/sass.html If you just run `gem install zurb-foundation` , the gem v4 will be updated instead. It's also good to mention the new upgrade instructions: http://foundation.zurb.com/docs/upgrading.html The other problem is in config.php. ProcessWire's 2.4 has change this file a lot. I kept this new version and changed the lines 50 and 58 to make your profile work: /** * prependTemplateFile: PHP file in /site/templates/ that will be loaded before each page's template file * * Uncomment and edit to enable. * */ $config->prependTemplateFile = '_init.php'; /** * appendTemplateFile: PHP file in /site/templates/ that will be loaded after each page's template file * * Uncomment and edit to enable. * */ $config->appendTemplateFile = '_main.php'; Cheers!
×
×
  • Create New...