• Content count

  • Joined

  • Last visited

Community Reputation

85 Excellent

About MilenKo

  • Rank
    Sr. Member
  • Birthday September 17

Contact Methods

  • ICQ
  • Skype

Profile Information

  • Gender
  • Location
    Montreal, Canada
  • Interests
    Web development, coding, Network infrastructures, Linux, BSD, Windows, Cisco, Photography, Cooking

Recent Profile Visitors

1,174 profile views
  1. MilenKo

    Hey guys, I was reading the news of the latest dev branch this morning and noticed the profiles discussion here. As far as I like checking up the profiles as I am not a Pro developer (yet ) but I also like the simplicity in things, to have the PW installer with a single profile (let’s say blank) and provide within a step of the installer to use another profile? Let’s say I am installing PW and after asking for credentials etc. it notifies me that by default I am using blank profile so if I would like to use another one, to select from the list where all default profiles are listed. Doing this I would still end up with my favorite profile, but I won’t have to download extra files just so that I delete them. The only issue I see here is if a developer wants to have a copy of PW and install it locally while being offline (working from remote locations with no Internet access) however if this is happening, most likely we would be talking about a person who knows his things around PW and most likely would have his own profile to use already.
  2. Well I do use Bootstrap and I thought that JS could cause the issue and removed all calls from the code but still am experiencing the issue. WIll try with the CSS as I did not realize it could cause some issues as well if some styles overlap. Anyway I decided that changing the logo from the frontend is too much to provide considering the fact that the profile is not meant to be fully operated within the frontend, however let me remove the css and js calls and test it without them at leasr for the sake of the knowledge. Thanks @wbmnfktr for sharing thoughts
  3. Well the saga continues. I did setup a clean multilingual profile, removed the delayed output logic (_main.php is not appended in config.php) and also cleaned any unused templates. Decided to add my html markup for the home page only and added a single image field called: image_single Frontend editing module has been installed and I submitted the default settings. To call the image on the spot of the logo space, I used the following code: <!-- Website Logo --> <a href="index.html" title="Knowledge Sharing Profile"> <div edit="1021.image_single"> <img src="<?php echo $pages->get(1021)->image_single->httpUrl; ?>" alt="<?php echo $pages->get(1021)->image_single->description; ?>"> </div> </a> where 1021 id is the one of my Settings page that has the image_single assigned. Browsing the page shows every bit of the markup correctly, however as soon as I doulble click on the logo - it shows the modal window again for a blink and closes up. When I tried to insert the logo in the default profile withoug changing the home.php file - it all worked fine, but as soon as I put my markup and it fails to keep it open until I close it up. To try the functionality of non-image field, I added a simple text field and assigned it again to Settings page. As far as it is a text field, I got more options to pick from (A-D) in the input tab. Tried with A : <?php echo $pages->get(1021)->edit('text_box'); ?> And it worked like a charm allowing me to change the text inline. Enabled all the errors in Tracy to be logged and I do not see any reported issue neither in the java console nor in the assets/logs/tracy/ folder. Any other hints to try? I know it is silly that I am stubborn with the logo where one would not be tempted to change the logo from the frontend, however it is just to find the issue and avoid having it in the next projects.
  4. Hey @wbmnfktr, to make sure it is not a glitch of the system, I decided to test the functionality on the default multilingual profile. To simulate a similar scenario, I grabbed the title and placed it in /includes/header.php. Added to the file a simple image and inserted the edit tags from the other profile. To simulate the location of the logo, I also created a settings template and assigned it to Settings page. Adding an image_single to Settings page and attaching a test image allowed me to edit it on the frontend by double clicking. As it appears, it is not the issue with my server nor with Processwire (in the default setup). I will try to rebuild my profile step by step hoping to figure out where is the glitch as to make sure to avoid it from happening in the future.
  5. Well I did check but there are no indications of something missing. Btw, I have the description of the image multilingual so thought it might be related to that one. Even Tracy does not show anything strange as a hint...
  6. Hello guys. I've decided to get brave and start my first delayed output profile for a remake of my knowledge sharing profile. It went all.good so far but I decided to make it multilingual as to fit the users needs. For starters, added a field named: image_single and limited the input to one image as this would be used for the logo. Added.the markup to allow the front end editing (method D or direct edit tag to the <img>. After double clicking on the image, I see the pop-up showing up for a second and then closes. As far as there are no errors in the logs, I am a bit stuck to find the reason. I've read earlier that some users had issues with multilingual fields but could not find anything to point me to the right direction. Any ideas or suggestions?
  7. MilenKo

    As always a fast and efficient reply. I never thought of looking for a release notes module, but it is a great addition. Thanks guys!
  8. MilenKo

    Hey guys, It was hard not to notice the often updates of this AMAZIN' module and I was wondering if there is a changelog where I could read more about it before deciding to do an upgrade?
  9. MilenKo

    Thanks again, @Macrura Will give the module a try and will see how can I fit it in one of my next projects. Thanks to you and @pmarki for the idea and the code.
  10. MilenKo

    I see Macrura. I would watch closely the development of your mod, however, the options and setups seems sort of way too much for the purpose of my simple projects that hold a logo, few text fields etc. At least I got on the right track using a settings page to hold general variables
  11. MilenKo

    Hello all. I was wondering about the use of this module and would like to check for your opinion, guys, before I start testing it. Presently I setup manually a simple page where all my general site settings fields resign (Settings) with no template assigned on it. After that I define a variable $settings (could be a name of your preference ) in _init.php $settings = $pages->get('/settings/'); // Grab the page url and add it here or $settings = $pages->get(settings_page_id); // Grab the page ID and add it here After that, I am able to print any field value in the markup by using: echo $settings->fied_name // text and integer value fields or echo $settings->some_image_field->first->size(X,Y)->url // Just an example for images etc. For sure the limit is the API of PW for any field and the parameters with it. So my wondering is would the use of the module give more functionality as of the present setup? Bear in mind, that for a few clients I already setup the access to Settings page and they can change anything that is there or provide access to somebody else using PW user permissions options. The Settings page can hold all sorts of PW fields available + custom ones that you've created/added and text and text area has absolutely no issues being multilanguage. Respect to the mod development team for the time and efforts for sure, I am just trying to figure out the benefits of use over the present setup.
  12. MilenKo

    No issues with me either, I just started a new profile with 3.0.98 and latest AOS and all works fine, I can switch languages from admin etc.
  13. MilenKo

    @Juergen Thanks for the shared custom mystyles.js . I was wondering what else I could add to the editor to make the life of my friend easier when adding his content and found quite a few useful ideas even though my project is under Bootstrap but not uikit yet (the last one is in a process of learning )
  14. @tpr Thank you for that helpful info. I am still learning project after project. @neosin Thank you for the alternative solution as well. For sure I could use it for some other projects, but in this one the idea was to provide an easy way to my friend to edit the translations without asking me to mess with the code once the project is finished. This is what I love in ProcessWire - the elasticity of accomplishing the things in so many different ways - where the sky is the limit and it is up to the devs to decide which way to get the things done.
  15. Hey guys, seems like my joy was not that long.. As soon as I started working the inner pages of my project I noticed that the function translate('smth' , 'General') is giving me the error I've seen previously: Call to undefined function translate() Having reviewed my posts previously, I dully noted that I forgot to add the <?php namespace ProcessWire; at the beginning of my inner pages templates. So if you happen to fall in my situation, make sure to have your namespace set to avoid my early morning big eyes