-
Posts
357 -
Joined
-
Last visited
-
Days Won
5
Everything posted by qtguru
-
lol creating a topic by going to sub forum, couldn't resist when i saw the Jon Snow image, it means "you know nothing"
-
yes but in this case it would PHP7 is something else as for saftey maybe true.
-
Checking array for a value (might be more PHP question than PW... sorry)
qtguru replied to a-ok's topic in General Support
if this is what you get "1025|1074|1026|1027" then you need to do an explode with a delimiter, which turns them into an array then you can check with the in_array function -
Hi Adrian are there any plans for comments to add Gravatar support, I really need it for my site, so I want to know if there's plan for it so I can look at your code and if not, so i can advance and integrate one with your comment and send you a PR. it makes me feel comfortable seeing avatars on my comments.
-
I Sephiroth Nord race of Skyrim disagree with this move to make it private and challenge opposers to a duel fight.... kidding But I think making it an Open group won't be bad, because it has means of spreading information to your friends and others who could take a sudden interest in it. I use to post on the group till i noticed two things. 1. Lack of activities 2. The audience seem to be mostly users and not Developers
-
OH NO, this is just so awesome. Please how can i get this, Reno you're the man, this is awesome my clients are gonna love this.
-
Well the last time i check Wordpress references it via Media attachment so it will reference a media id not really an image specifically, how many images are you looking to import, I wrote some Command Lines to handle that, sadly am not sure if Command line plugins exists in Processwire
-
There is no concept of Featured Images in Processwire, unless you created another field named 'featured image' and add to the post. Did you import all images i couldn't use that functionality (chose not to) as i had 4.3gb worth of images. Importing the feature image will require a dependency on a field. so might be a problem, instead it would import all images.
-
Any screenshot to see, so we can properly tell what could be the issue, but as long as it imports then you should be seeing your content, screenshot please ?
-
I also had issues loading Dojotoolkit templates via Ajax. Well it depends if you know what you are doing then sure, I removed mine, no way I can work because my fragment are in external files loading via XHR that's just how Dojo Dijit works.
-
anybody could show an example of how to use $config->ajax ?
qtguru replied to adrianmak's topic in Getting Started
What have you done so far ? Making an Ajax call is always on the frontend it has nothing to do with ProcessWire just make an Ajax call to your page it's that easy. try it first Ajax call in Processwire is nothing complicated. -
anybody could show an example of how to use $config->ajax ?
qtguru replied to adrianmak's topic in Getting Started
In that page just use the $config->ajax and make a call to that page, in your jQuery ensure that in the success method, you display the content in whichever div you want ? I use Ajax in PW to upload images -
anybody could show an example of how to use $config->ajax ?
qtguru replied to adrianmak's topic in Getting Started
I really loathe this "Strategy" it's not flexible and quite difficult to have logic in it, I prefer using this method, not sure what to call it <?php $Data=$pages->get("name=team-members"); $content=wireRenderFile("ui/about.php",array( "item"=>$page, "members"=>$Data->children() )); it's highly flexible and you can have logic in it with ease and even swap out templates based on the condition. -
anybody could show an example of how to use $config->ajax ?
qtguru replied to adrianmak's topic in Getting Started
That's my article, using Ajax is quite easy in PW, just make an Ajax call to your page, now the HTTP Header contains Ajax header in it, so $config->ajax will flag as true when it is an Ajax call and false if not, Do this 1. Make an Ajax Call to the Page 2. var_dump something if Ajax and exit and you will see your result 100% cleaner than WordPress and i stick to that statement, also thanks for reading my blog. If you have something you want me to write on please let me know, quite bored at home. -
Is ACF WP's way to make it more like PW?
qtguru replied to baymarketingco's topic in Getting Started
That's small am gonna show you a picture of my database of the post_meta fields for a site of 200 memebers am surprised how come we got so many post_meta, My PW database size is tons far less than my ex wordpress site. Wordpress is not a CMS i agree -
Any plans to add gravatar or avatar to comments and if not, am looking to implement one for my website, you don't mind pull-requests ?
-
Is ACF WP's way to make it more like PW?
qtguru replied to baymarketingco's topic in Getting Started
Hmmmmm maybe i should write an indepth article for developers comparing the two, because as a former avid WordPress developer, i wish i found PW earlier. My PHP5 Skills are highly put to the test, ave extended PW to insane limits and it's totally awesome. check my forum how to accomplish this feat i document my adventures there -
wrote an article http://www.okeowoaderemi.com/articles/posts/wordpress-to-processwire-a-guide-for-developers/
-
Maybe a better way would be to have a store as a draft copy with the option of over-writing the main content. Oh well you do have a valid point overwriting a content is automatically feels weird though.
-
Well was writing an article on "Processwire and WordPress" and it seemed I hadn't committed them for a while, only for me to lose most of the content, it would be nice to have some feature that allows an Ajax call to be made periodically to save the content, better save what I don't need and later remove it manually. I just realized I hadn't saved and all those details gone. However seeing I can do this maybe this is something I can take upon myself and do. But regardless just wanted to put it out here. Thanks and all the best, P.S: The Article would be shared soon
-
Comment Spamprotection without Akismat
qtguru replied to kreativmonkey's topic in Wishlist & Roadmap
Same here am interested in this too, if there's an API to call we can implement it in ProcessWire, am sure Nico would be interested in this too. -
PhoneGap - > is just a container to write HTML apps in Native Containers so you can use PhoneGap with Rachet Android Stuido is for Native Apps all the best