Jump to content

Recommended Posts

Posted

I was getting ready to experiment with the skyscrapers2 demo, but there doesn't seem to be a site profile like with the original skyscrapers.  Did I miss finding the profile, or is it just not implemented (yet) for skyscrapers2?

 

Posted

I'm not sure, but it looks like that you can use old Skysrapers profile, but after installation you have to replace template files

Thanks, I can probably try that over the weekend.  I already have downloaded the v2 files from github.

 

Posted

I'm learning the new namespace of pw3.

 

i found that some of the files under includes folder of skyscrapper2 files has namespace declared but some don't.

i dont quit understanding when do declare namespace  when don't

Posted

ProcessWire's compiler will add the ProcessWire namespace for it's core classes if the template file does not have a namespace. This ensures backwards compatibility of template files.

If you don't know how namespaces work I'd suggest looking elsewhere (e.g. http://php.net/manual/en/language.namespaces.php), as the processwire compiler will make things work even though the template files might be technically incorrect before compilation.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...