Jump to content

Speed

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Speed

  1. Thank you, it worked! If not for another fourm post you posted. I wouldn't know anything about template!= inside selector... MSN doc isn't helping much with example 'selector' => '' why not update and use something like this 'selector' => 'template!={templatename.php}' ? Once again, Thank you
  2. I don't know if this have been asked before, but I couldn't find anything that can solve my issues with MSN. I only wonder could MSN hide specific submenu and leave others intact? Allow me to elaborate. On my page tree in PW I have 3 pages that contain children pages in each. Parent1 Child1 Child2 Child3 Parent2 Child1 Child2 Child3 Parent3 Child1 Child2 Child3 The goal is to hide specific sub-menu in parent's name? Only on viewing page. Parent1 Child1 Child2 Child3 Parent2 Child1 Child2 Child3 Parent3 (child menu hidden whole time, no dropdown or hover over and still intact in PW admin only) Here's complete code... <nav id="navDT"> <?php $nav = $modules->get("MarkupSimpleNavigation"); $nav_options = array( 'show_root' => true, 'outer_tpl' => '<ul class="nav">||</ul>', 'inner_tpl' => '<ul class="drop">||</ul>', ); echo $nav->render($nav_options); ?> </nav> If its not possible... Are there any other ways? Thanks in advance
  3. yes...Confirmed, I have commented it out. (This line was commented out in live server with editor.)
  4. @adrian - Enabling 'Development' mode got debugger bar to show up. (PW in livehost) Thank you. @tpr - let me guess, is that what I should look for??
  5. Okay, Tracy Debugger module is installed, I 've uncomment line :913 bd($ckeCSS); and :961 bd($adminCSS); on AdminOnSteroids.module inside .AdminOnSteroids directory.I have read and followed carefully, I understand am supposed to look for debug bar once debugger is installed. Apparently, its not show any bar. I use chrome browser with firelogger installed. Yes, I've confirmed debugger is enabled, The bar to display at front and back is checked, the uncommented, line 913 and 961 and cleared cache after Tracy debugger module is installed. Now I am getting confused... what am I missing?
  6. Sorry for delay in respond, Just returned home from out of town during holiday. Pardon for my ignorance, Tracy Debugger? Is that PW modules? Plugin? I have looked into this https://processwire.com/blog/posts/introducing-tracy-debugger/ and still not yet sure understand how or where I can preform debugging. Can you explain?
  7. Module that work for you... was this working on localhost or livehost? It didn't work on me when I download and tried yours from livehost but worked on localhost. Although I did some test, I've added the code string at the very bottom of AdminOnSteroids.css. and this worked on livehost. So I am guessing somewhere in your module, i didn't detect admin.css in subpage of livehost.
  8. Edit: File permission for admin.css is set at 644 as default following config.php. I have created new css file and call them two.css, added same code string, and set site/templates/two.css into asset path. It doesn't detect two,css either. Can you elaborate how could I access admin.css through browser. Sure I can access .css for template with browser but not knowing how I could this for admin. Here are view source for Admin... it seem like it isn't detecting admin.css from site/templates/...
  9. Template with no "s" was my typo in this thread only. Here's dev tool Seem like it did not admin.css when i filtered it out. Although file is already there in livehost site same way I did in localhost.
  10. Yes, clearing cache have solved issues... Now I am facing a new problem right after updating. This come from old tread discussion on page tree If you can remember... With this code that saved in /site/template/admin.css... .PageListItem:not(.PageListItemOpen) span.PageListNumChildren.detail:not(:empty):before { content: " ← click to show children - Number of Children: " !important; } This showed up without problem on localhost running latest update of AOS 1.0.9 after transferring files from localhost into livehost... It doesn't show, seem like admin.css isn't recognized. It happen right after I updated AOS 1.0.9. However, I tried another approach. I've added site/template/admin.css into asset path it still wouldn't recognize. I have uninstall and reinstall, refresh cache and yet problem still exisit.
  11. Thank you @szabesz @LostKobrakai I'd do same as you ... although collect some resources can increase better understanding how module works, especially help to detect bugs lot easier.
  12. Oh yeah, I have googled up... ALOT before I could ask question here in this thread ( I should have made that clear earlier). I always end up with different result like PW for beginner, some thread discussion on something else and etc... I guess, google isn't friendly to me today . Thank you for your help, everything you gave out will do good for me!
  13. The deeper I got into PW, it got me more curious on building modules. But unfortunately for me, I couldn't find any steps for beginner. Can anyone point me where or how can I get started? Thanks in advance
  14. Usually, If you click on any input box in PW you'd see cursor blinking. This will confirm that input box is active. Now If you hold down Shift key on keyboard before you could hit on any keys on keyboard (i.e. to create first capital letter). The input box becomes deactive, the blinking cursor will disappear The current version i had problem was 0.9.7. I just updated to 1.0.9... Unfortunately, the problems still exist.
  15. I don't know if this have been mentioned earlier in this posts. So many posts to scan and see if it have been mentioned. But... I am encountering a little glitch with AOS using Reno Theme. Everytime I select input, I get kicked out when pressed shift key. This is getting so annoying, wondering if you can look into it?
  16. Found solution... I had to replace $config->dbHost = 'localhost'; into $config->dbHost = '::1'; The Localhost or 127.0.0.1 didn't work! Werid
  17. Here what I did... 1. Exporting DB from localhost, Created new DB in different name and importing DB. success 2. Transfer entire PW files from local to host. success 3. Changed config.php $config->dbHost = 'localhost'; $config->dbName = 'bdgplaye_dbname'; $config->dbUser = 'bdgplaye_user'; $config->dbPass = '**********'; <!-- will not reveal :) $config->dbPort = '3306'; Then replace config.php from local with /site/config.php in host. suceess 4. running site from browser and I get an error.... I am not sure what exactly was the problem but I am guessing it have something to do with config.php? I have tried.. change password -- does not solve the problem remove and upload DB again. -- does not solve the problem change $config->dbhost = 'localhost' into $config->dbhost = '127.0.0.1' - does not solve the problem. Can anyone help with this issue SQLSTATE[42000] [1044]. ? Thanks in advance
  18. Chuckle* Why didn't I think! Thank you @Gideon So
  19. My mind have been circulating as I've been trying to come up with some idea and I cannot get any of it. So I was hoping you guys would help. Here's the situation, I've created data and build customer page from localhost. Now it's done... I am in progress of uploading PW into livehost. My customer asked me if their visitor would get to see newly page right after I uploading PW. I've told customer that visitor probably would see 505 error page for a while until I get to fix data and secure it and probably other encountered errors, although I've suggested my customer that I could create url redirect. The old page will temporarily reside in sub url. And whenever visitor type in domain url, it will redirect to sub url. While at it, I could upload PW, fix 505 error without visitor seeing it. But problem is, I will not be able to view it to confirm page is good for launch. It would redirect me if I type url there. If I can remember from back days, I was able to view page from server... while customer would be redirected. Now I cannot remember how to do this anymore. does anyone have idea how? Or may suggest me something? Thanks in advance.
  20. Backup, of course Always! After five tries of PW installation and transferring between localhost to webhost, including different settings, template, modules. I find that .htaccess is less culprit in my case. But after done several researches, .htaccess can be the problem for many reasons... depending on web hosting you use, some may require technical assistance for security purpose, the level of the package you use, Indexes Options to be phased out and replace with hosting's brand. Or even FTP software you use that could not copy and paste .htaccess from local to host like cyberduck (windows version) which I just found out and I had to use filezilla instead. The best and promising solution is to log into hosting's cPanel > File manager and pick up .htaccess from local folder.
  21. SOLVED! It was typo on database name in /site/config.php *face palm*, I couldn't believe I spend hours over typo. Thanks for your help anyway.
  22. @adrian Yeah that! Actually the problem was... the new database haven't been created before I could import it. I am going to try Joss Sanglier steps and see if it will solve my case. @LimeWub The original Processwire files was installed at local. I used FTP to copy/duplicate/transfer files from localhost to webhost. I got 500'd when I ran page in browser. I believe it's gonna be .htaccess related. But I haven't yet to know what to look for. @FrancisChung Its a nice tool... I could use that for future. Although I have already solved issues with SQL, it was my error. EDIT: The error 500 is a real pain, I 've tried this step https://processwire.com/docs/tutorials/troubleshooting-guide/ it didnt work for me not after phasing out every lines. Now I only wonder, would this be easier if I'd just install PW directly to web host, then copy or transfer files folders etc except for .htaccess from local to webhost? What are your suggestion?
  23. I have no issues exporting database from localhost using MAMP. But I am having issue importing it to live host.The phpMyAdmin throw an error "#1046 -- No Database selected." Even thought I've already selected them before exporting. Does anyone have idea? Other thing... I am getting 500 internal server error when I transfer entire pw files from local to host through ftp. What did I do wrong. Is there a official tutorial transferring PW files and data from local to server?
  24. Yeah... That would work'd too
×
×
  • Create New...