Jump to content

Blue-VR ProcessWire Site Profile


Recommended Posts

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
 
 
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

post-1911-0-93639600-1402515282_thumb.jp

post-1911-0-76204000-1402515287_thumb.jp

  • Like 18
Link to comment
Share on other sites

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 :D). 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 by kongondo
  • Like 2
Link to comment
Share on other sites

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 :D). 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. 

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

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).

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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 27

Notice: 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.

  • Like 2
Link to comment
Share on other sites

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!

  • Like 1
Link to comment
Share on other sites

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.

  • Like 3
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

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
  • Like 2
Link to comment
Share on other sites

  • 1 month later...

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 email

Otherwise, 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

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

  • Like 3
Link to comment
Share on other sites

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) 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...