Gayan Virajith Posted June 11, 2014 Share Posted June 11, 2014 Hi All, I am gladly posting my first site profile. Blue-VR Site Profile for ProcessWire Summary A site profile for corporate or personal website. Profile can be used with ProcessWire open source CMS/CMF version 2.3+. The front-end uses the Bootstrap 3.1 css framework for to get the responsiveness and mobile friendliness. Front-end Demo - bluevr.webcreate.lk Back-end Demo mode - bluevr-webcreate.lk/processwire (The username 'admin' and password 'bluevr2') Overall features * HTML5 & CSS3 + ({less}) * Build with bootstrap 3.1 * SEO Friendly * Clean & modern design * Responsive markup * Contact form and google map locations with multiple google markers * Testimonials using bxSlider * AIOM supports (Just install the module no need to touch the code) How to install Please take a copy of the latest ProcessWire (Replace the install, modules and templates directories with those in this profile, as shown below: - /site-default/install/ - /site-default/modules/ - /site-default/templates/ Make sure you do following steps as well 1. Add `tinymce` directory into /site-defaut. 2. Add the following two lines to your `/site/config.php` file: $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; Download Github: https://github.com/gayanvirajith/BlueVrSiteProfile/ Credits I would like to thanks Ryan for giving us great CMS/CMF and modules. Hani AbuGhazaleh for a great module of Fieldtype: Select (AKA Drop Down) David Karich for providing such a nice module AIOM+. *** Please note that the site profile is still on testing stage. Thanks ------------------------------------------------------------------------ Edit: install instructions. Edit: Add credits Edit: Update live demo url Edit: Update back-end demo mode details 18 Link to comment Share on other sites More sharing options...
kongondo Posted June 11, 2014 Share Posted June 11, 2014 (edited) Thanks for sharing Gayan! It would be good to explicitly state in your install instructions that Site Profiles can only be installed on 'new' sites (newbie alert ). I know it is implicit here 'Please take a copy of the [latest ProcessWire]' but it could be clearer Edited to request clearer instructions... Edited June 11, 2014 by kongondo 2 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted June 12, 2014 Author Share Posted June 12, 2014 Thanks for sharing Gayan! It would be good to explicitly state in your install instructions that Site Profiles can only be installed on 'new' sites (newbie alert ). I know it is implicit here 'Please take a copy of the [latest ProcessWire]' but it could be clearer Thank you so Kongondo. I updated the post. 1 Link to comment Share on other sites More sharing options...
Pete Posted January 19, 2015 Share Posted January 19, 2015 I just saw this when approving your entry in the Developer's Directory - nice work Would you like to add it to the Modules Directory? There is a category for site profiles and you can link it to your GitHub page for the project so it will get seen by more people browsing the directory. Plus I can then list you as a module author in the Developer Directory (I can only do this if your module is in the official directory though). 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted January 20, 2015 Author Share Posted January 20, 2015 Thanks Pete. I added the site profile to the Module Directory. 2 Link to comment Share on other sites More sharing options...
Mont Posted January 30, 2015 Share Posted January 30, 2015 I have enjoyed using this site profile. I have learned a lot about processwire by using it. Thank you. When I turn on error reporting I get the following error on multiple installations. Notice: Undefined variable: siteSetting in /home/mechanic/public_html/site/templates/_init.php on line 27Notice: Trying to get property of non-object in /home/mechanic/public_html/site/templates/_init.php on line 27 Code $browserTitle = ($homepage->seo_title)? $homepage->seo_title : $page->title; if ($page->seo_title) $browserTitle = $page->get('seo_title'); $seoMetaDescription = ($homepage->seo_meta_description)? $siteSetting->seo_meta_description : ""; if ($page->seo_meta_description) $seoMetaDescription = $page->seo_meta_description; I'm inclined to just ignore it but thought I would still ask. 2 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 1, 2015 Author Share Posted February 1, 2015 Hi Mont, Thanks for using this site profile. I will work on this issue. Thanks again for reporting this issue. Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 1, 2015 Author Share Posted February 1, 2015 Thanks to Mont I managed to fix `undefined variable` issue. 1 Link to comment Share on other sites More sharing options...
netcarver Posted February 1, 2015 Share Posted February 1, 2015 Looks lovely Gayan. You could create a demo for this over on lightning.pw - the guys over there do a free deal for free modules and I think that probably includes site profiles too! You might have to install this manually though, I don't think it lets you upload a site profile as part of the site creation process - but I may be wrong. Regardless, thank you for this profile! 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 1, 2015 Author Share Posted February 1, 2015 Hi Netcarver, Thank you so much. I would really like to have a demo, will definitely check on lightning.pw. Thanks again for trying out this site profile. 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 9, 2015 Author Share Posted February 9, 2015 Dear All, Here is the demo for the site profile. Demo - bluevr.webcreate.lk Thanks 3 Link to comment Share on other sites More sharing options...
Doug G Posted February 10, 2015 Share Posted February 10, 2015 I guess this is as good a place as any to make my first forum post. I stumbled across PW some months ago, and I'm just now starting to learn how to use it, and when I found your BlueVR profile I liked it's looks, and installed the profile to begin learning the ins-and-outs of Processwire. 3 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 10, 2015 Author Share Posted February 10, 2015 Hello Doug, Welcome to ProcessWire Community. Link to comment Share on other sites More sharing options...
apeisa Posted February 10, 2015 Share Posted February 10, 2015 Gayan, looks great. What about putting site into demo mode and allowing backend login? 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 10, 2015 Author Share Posted February 10, 2015 Hi Apeisa, Thank you so much. I have enabled the demo mode. Here are the details. Front-end Demo - bluevr.webcreate.lk Back-end Demo mode - bluevr-webcreate.lk/processwire (The username 'admin' and password 'bluevr2') 7 Link to comment Share on other sites More sharing options...
Christophe Posted February 13, 2015 Share Posted February 13, 2015 Hi again, In FormTemplateProcessor.module, I've precised an email address (not this one of course...): // Optional E-Mail address that form will get submitted to $this->set('email', 'name@domain.tld'); I still receive the messages as pages, but not as emails. How can I receive them as pages and as emails, or just as emails? NB: I've seen commented code(s) related to all this at the top of the file, but I don't want to mess things up. 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 14, 2015 Author Share Posted February 14, 2015 Hi Christophe, Please refer `site/templates/_functions.inc` file. Inside of that file there is a method named `getContactUsForm()`. At the moment `from email address` would be your admin email address. Please feel free to modify it in `getContactUsForm()` method. Thanks 3 Link to comment Share on other sites More sharing options...
Mont Posted February 25, 2015 Share Posted February 25, 2015 I never would get the email from the adminEmail address so I just added $form->email = ('email@example.com'); $form->template = wire('templates')->get('contact-form'); // required $form->requiredFields = $formRequiredElements; $form->email = ('mont@exampledomain.com'); // $form->email = wire('config')->adminEmail; // optional, sends form as email $form->parent = wire('page'); // optional, saves form as page $content .= $form->render(); // draw form or process submitted form 2 Link to comment Share on other sites More sharing options...
MuchDev Posted February 27, 2015 Share Posted February 27, 2015 Hey there, thanks for the awesome profile. I'm going to probably use it as an example for a simple site I'm doing as a class project. Here it is running on a raspberry pi. therestaurant.endoftheinternet.org 1 Link to comment Share on other sites More sharing options...
Gayan Virajith Posted February 28, 2015 Author Share Posted February 28, 2015 @MuchDev, Awesome! Thanks again for trying out this site profile. Link to comment Share on other sites More sharing options...
Christophe Posted April 4, 2015 Share Posted April 4, 2015 Hello, In the _functions.inc file, I've tried with : $form->email = ('name@exampledomain.com'); -> it works well; //$form->parent = wire('page'); // optional, saves form as page -> it works well. But I wonder why it doesn't work by default with the following line as my admin email address is the same in this case : $form->email = wire('config')->adminEmail; // optional, sends form as emailOtherwise, I had posted something about the translation of the "missing required field" error message (but had no answer) here: https://processwire.com/talk/topic/925-german-de-de/page-8#entry87848 Does someone have an answer(s)? Thanks. Have a nice weekend! Link to comment Share on other sites More sharing options...
Gayan Virajith Posted April 4, 2015 Author Share Posted April 4, 2015 Hi Christophe, But I wonder why it doesn't work by default with the following line as my admin email address is the same in this case : $form->email = wire('config')->adminEmail; // optional, sends form as email Please double check your site/config.php for adminEmail configuration. If not you can add that to site/config.php like follows: /** * adminEmail: address to send optional fatal error notifications to. * */ $config->adminEmail = 'name@exampledomain.com'; Here is a little reference. Thanks 3 Link to comment Share on other sites More sharing options...
Christophe Posted April 10, 2015 Share Posted April 10, 2015 Thank you for these details Gayan. I'll look at them. But do you have an idea about the translation of the "missing required field" error message. Can we translate it elsewhere than in the core file where it is? Link to comment Share on other sites More sharing options...
Christophe Posted April 15, 2015 Share Posted April 15, 2015 Don't tell me it's not possible ... Link to comment Share on other sites More sharing options...
triples Posted April 17, 2015 Share Posted April 17, 2015 Hi Gayan Thank you for taking the time to write this site profile - I like it a lot. For my site, the Blue-VR homepage is a lot more than I need, but the rest of the pages are idea. Please how do I make the homepage look like the rest of pages across the site? Kind regards, Luke (Derby, UK) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now