Jump to content

allanb

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by allanb

  1. I checked with other test site I had on different server same host

    and was using PHP 5.4

    I changed to PHP 5.4 same result

    I then noticed database was not utf8 general-ci but tables were

    Changed database to utf8 general-ci sill same result

    I deleted installation and installed fresh install of PW2.6.1

    changed database to utf8 general-ci before connecting to site

    and proceeded to install intermediate site profile

    all conditions were met

    install was successful and was able to log into site

    all appears OK

    • Like 1
  2. @ kongondo

    Thanks for the quick reply.

    I did use Blog 2.0

    Both sites use style 1

    I will follow your advice I will re-read  4 & 5 above.

    May-be should learn to 'swim' better before tackling Modules.

    Thanks again

    Allan

    PS

    I will try other styles and see the difference it makes. Is easy on http://lightning.pw

  3. Hi kongondo

    I have just uploaded your module to two sites on lightning.pw

    The first was loaded on a default-site profile http://fermium-z0t.lightningpw.com/

    Is this what you would expect to see???

    If you click on blog in nav again is this what I should get?

    The second site was loaded onto a blank profile http://gold-03z.lightningpw.com/

    Again is this what you would expect to see???

    If I then add /blog to the url http://gold-03z.lightningpw.com/blog/

    This is more like what I would expect.

    ​As a newbie I find it very difficult to continue development with either of these sites.

    I found it much easier with the older blog site profile.

    I realise that the improvements are worth the extra effort on my part.

    Did I possibly not install correctly?

    Regards

    Allan

  4. Hi

    Has anyone ever tried to create a YUI 3 template as a starting point or would it be a waste of time?

    I have searched forums with built-in search and google and found nothing of relevance.

  5. In those notices, PW is complaining about line #807 in /wire/core/Page.php/

    
    
    
    public function numChildren($onlyVisible = false) {
       if(!$onlyViewable) return $this->settings['numChildren'];
       return $this->children('limit=2')->getTotal();
    }
     

    I changed in line #807 in /wire/core/Page.php/

    if(!$onlyViewable) return $this->settings['numChildren'];
    

    to

    if(!$onlyVisible) return $this->settings['numChildren'];
    

    as suggested by @adrian

    and this solved the problem of

    allanb,

    I have found what the problem is...you have lots of undefined variable notices and these are nested in <br> tags; those are pushing your menu down...

    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    <br>                                                   /your/server/path/
    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    <br>                                                   /your/server/path/
    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    <br>                                                   /your/server/path/
    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    <br>                                                   /your/server/path/
    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    <br>                                                   /your/server/path/
    <b>Notice</b>:  Undefined variable: onlyViewable in <b>/your/server/path/new/wire/core/Page.php</b> on line <b>807</b><br>
    

    I have a feeling your didn't copy all of your files over...

    Although this solves the problem of the errors.

    There is still a problem with the template when viewed @ 150% zoom

    The site logo is to the left of the page.

    The menu changes to mobile ie icon.

    The timing bar in the slider moves outside of the image to the right.

    I will see what I can find but I feel this is way above my paygrade at present.

    Also not sure if I should PM @ryan to inform him of problem.

    Also moving this post to a more suitable place as suggested by @kongondo.

    Allan

  6. Only been here a few days.

    Tried WP Jummla and Drupal got nowhere.

    Then Ruby on Rails was getting somewhere but not available the host I could afford.

    Then found Modx I developed a few sites with it found it suited my way of working and was happy.

    I wanted to update one of those sites and found I could not install latest Modx Revolution.

    I then started looking elsware.

    I spent a week learning and checking out Angulas.js as the site I wanted to build would I felt only be used by people under 40 so needed to be suitable for mobile.

    I was very impressed with the Angular Documentation if I had been a geek but as an older man (over 60) found it very hard going as there did not seem a clear way to structure your app.

    I then came across PW with @kongondo post helping former modx users to adapt to PW.

    I tried it and I am busy setting up my modified site.

    One thing I did like about the Anjular Docs was the use of graphics to explain the concepts.

    In my opinion PW could do with something similar to explain where the various template files fit in as that was my first stumbling block.

    Great to be here. I feel quite at home already with the help I have received.

    Allan

  7. Thanks again kongondo

    I did not see home as having children. My mistake did not see indentation or did'nt want too.

    Now makes some sense.

    I have a local LAMP server LINUX  that I used for first install of PW all went well no problems.

    As the first site I wanted to try needed to be highly responsive for mainly younger people who live by cell/mobile phones that was why I installed the Foundation Profile.

    I had a foundation template working on MODX but unable to get it working on my host would have to use earlier version (not good idea security wise)

    Saw you post on MODX and remembered you from WAYFINDER Tutorial(bible) and decided to give it a try.

    I  think it seems easier to me but maybe MODX taught me a lot.

    I am more of a programmer than a designer.

    Allan

  8. Hi kongondo

    Thanks for your detailed explanation I will follow your ideas and also do a bit more reading as you pointed out.

    One point I do not understand from your explanation home page has no children and about page which uses template basic-page has only 2 children yet output only on home page of 3 <li> + 3 <li> dividers as you showed in HTML source.

    Also unable to find the HTML output in any of the files.

    Allan

  9. hi kongondo

    Could someone move this post to forum support thread?

    2.

    I am also unable to find how to change or delete content between image slider and footer.

    Could anyone help please?

     

    I have checked basic-page.php, home.php, _main.php and _init.php I did not check _nav.php as I assumed this was for the navigation.

     

    I have only been working with PW for 2days and by no means an expert in PHP though am able to read and understand basics.

     

    Allan

  10. Hi all

    1.

    I have also found that if you go to 150% zoom menu changes to phone type and processwire logo moves to the left outside of rest of page.

    Could be because of error above??? Not qualified enough to know as yet!

    2.

    I am also unable to find how to change or delete content between image slider and footer.

    Could anyone help please?

    I am most impressed with this template. 

    Regards

    Allan

  11. Hi All

    I am impressed at the speed of responce on Saturday night.

    I had debug set to true as @kongondo suggested.

    Set to false and page now renders correctly.

    I still think there may be a problem in the code???

    I am on PHP 5.2.17 not 5.2.1.7 as reported by host on C panel and info.php.

    I can not find any reference to mod_rewrite in info.php but your install page said rewrite through cgi.

    Thank you all

    Allan

  12. Hi 

    I have just started with PW and after struggling to get a test site on my hosting platform.

    PHP 5.2.17 mysql 5.0.96.

    Problem with .htaccess and follow symbolic links which I have sorted out (commented out)

    Default page and admin loaded OK.

    I then uploaded Foundation files flushed site (?flush=1)

    Problem can be see at http://new.stpiusx.za.org/

    Same problem in Chrome & Firefox

    I have done similar installation on local server (PHP 5.3.10 mysql 5.5.32) all worked OK

    Any thoughts would be appreciated not sure were to look?

    System seems very fast

    Allan

×
×
  • Create New...