devonian

Experience

350

0 Best Reply Awards

  • Member Since 5 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

25th July, 2017

devonian left a reply on Global Method - Newsletter Subscribe • 3 weeks ago

Hello,

Sure, I'll have three separate forms across the site - all of which is to subscribe to our newsletter. We require two bits of information, first name and email address.

However, at the basket, we have a checkbox which says allows the user to subscribe (as by reaching the basket they will have created an account and we'd already have their data) hence why we have just a checkbox.

I desire to enter the data [first name, email] into a newsletter table.

So, we have three forms across the site and checkbox as points where I'd like to add functionality to insert record into newsletter table.

Hope this makes sense.

devonian left a reply on Global Method - Newsletter Subscribe • 3 weeks ago

Hello, thank you all for your replies much appreciated. topvillas you are correct - there will be several forms the user can subscribe from.

36864, I wouldn't be able to use AJAX for this particular thing.

I'll take a look into a trait, not used these before - is this what you mean?

http://culttt.com/2014/06/25/php-traits/

devonian started a new conversation Global Method - Newsletter Subscribe • 3 weeks ago

Just a quick one - I need to implement a newsletter subscribe/join function - there are several places throughout the site where you can join up/subscribe.

I can't use a route to handle this as I need to be able to subscribe a user from within another route.

Any suggestions, please?

24th July, 2017

devonian left a reply on SASS Showing In Inspector • 3 weeks ago

Ignore me, just worked it out - I had source map selected in my asset compiler! I need sleep...!!

devonian started a new conversation SASS Showing In Inspector • 3 weeks ago

Hi all, just a quick question - why is my SASS being shown as the source (content.scss) in the inspector rather than the compiled CSS file? Can provide a picture if that clarifies somewhat.

I've tried seeing if Laravel is including the path to the scss file [/resources/assets/sass/content.scss] but it's no where to be found in the page source so I'm not too sure where it's getting that from.

I'm quite confused!

6th July, 2017

devonian left a reply on Accessing User Object From Within Notification Blade Template • 1 month ago

Awesome, thank you so much - that worked a charm. Not sure why I didn't think of that myself, brainfart moment!

Thanks for your concise and speedy reply.

devonian started a new conversation Accessing User Object From Within Notification Blade Template • 1 month ago

Hello all, just a quick question - is it possible to access the user object from within a Notification Blade template?

It would be great if I could add the users first-name to the master template rather than individually adding the greeting line to the Notification classes.

Thanks in advance :)

19th March, 2017

devonian started a new conversation Loyalty Scheme • 5 months ago

Hi all, I've been tasked with creating a loyalty programme, where by the user will receive 5% off their order value as loyalty. I've built a variety of websites in the past, but have never built a loyalty scheme/programme.

I've had a look for some packages but there doesn't seem to much on offer...so thinking I'm going to need to roll this feature out myself, can anyone provide any pointers please?

Would massively appreciate any advice. Thanks in advance!

devonian left a reply on Ecommerce Recently Viewed Products • 5 months ago

Hi martinbean,

Thanks for your prompt reply - much appreciated. That's a big help, thank you for pointing me in the right direction.

The brief is to display the last eight most recently viewed products globally, just above the footer of the site...

Thanks in advance!

17th March, 2017

devonian started a new conversation Ecommerce Recently Viewed Products • 5 months ago

Hello, first time posting on here so please go gentle on me :) I've been asked to build a recently viewed product list into my ecommerce application - though I'm a little stumped as to how to go about integrating this.

Any suggestions or advice? I did think middleware might be an option...?

Thanks in advance!

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.