-
Posts
1,523 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
Hi, Adrian! I am configuring you wonderful module again. I want my uploads to be named something like passport-{$page->title} But the title field is cyrillic as you could guess)) And it does not transliterate well. Could you fix it so it transliterates like in your Page Rename Options?
-
Welcome! I think your question should be answersd elsewhere. And it already is) Here are some nice tutorials. Here is a full blown book. And, of course, this for an easy start.
-
Cannot republish users without password change
Ivan Gretsky replied to Ivan Gretsky's topic in General Support
@LostKAbrakai I think this functionality is uncovered when you perform these steps to add different template and root for users. Your advice about using roles instead of published status is probably the way I will have to go. But it seems like we are using a detour instead of a shortcut)) I will try writing a github issue anyway. -
Cannot republish users without password change
Ivan Gretsky replied to Ivan Gretsky's topic in General Support
@LostKobrakai - Did you have a chance to confirm the bug? @Martijn Geerts How do I do it? Should I make a github issue, pm him, or this topic is enough? -
Cannot republish users without password change
Ivan Gretsky replied to Ivan Gretsky's topic in General Support
Did try that - I get the same behaviour. But please check it if you got time. -
Good day! I am building a subscription based site. I created additional template for subscribed users. When I create a user he is created unpublished with the same pass for all. When the payment is completed, the status is changed to published via API. It works as expected. But when I try to publish a user from the admin, I am asked to input a password, though it already exists in the database. Each time I unpublish/publish a user from the admin I have to change a password. Is this a normal behaviour or a bug? Can it be overriden somehow as this is not desired behaviour for my case (I want to let admin publish a user without changing password)?
-
@renobird I guess the name is what killed your CRM project)) Something with that name just can't be right.
-
I think something like PW should be a page on FB rather than a group. If you have a page, you post from the page's name not from your own. So you do not annoy your family and friends)) As all meaningfull discussion is here in the forums I do not see any reason for maintaining a PW group. As a page we can have presence on FB with announcements and so bringing FB public to this forum. Private group will not serve as a kind of ad for PW.
-
I am not familiar with how multilanguage sites work, but maybe you could use this technique, You should not change the template directory based on HTTP_HOST though, but language option config (I think there must be one). Sorry if I misunderstood your needs.
-
Tried it on 2.5.2 - no bug there.
-
Include header and footer wont show content
Ivan Gretsky replied to Troost's topic in Getting Started
Does ANY content get output? I mean $page->video; $page->photo; $page->results; from home.php. Try commenting out the header and footer includes and check it. -
Include header and footer wont show content
Ivan Gretsky replied to Troost's topic in Getting Started
Did you put any data into those fields for the page you are viewing? -
I get an error SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_snimi-sebe-sam.field_ad_header' doesn't exist after adding a concat field to a template and trying to edit the field. The field is editable prior to adding it to the template. Running PW 2.5.18 on local xampp on windows. Am I doing something wrong or is it a bug? Edit: Cannot even remove the field from the template (and cannot remove the field as I can't edit it)
-
Where should I put PageArray Extensions?
Ivan Gretsky replied to MadHatter's topic in General Support
Just checked the cheetsheet to see if you can do the job with in-built tools. Why not use unique method after appending a page to a PageArray? And on your question. If you are extending PageArray class, I think you better do it via a module. If you're just adding a function or a class you can put it in _functions.inc file (or any name you like) and include it either in _init.php (I assume you prepemding each template with this file like in delayed output aproach described here), or include it on per template basis in template file. -
Admin Theme "ourClient" - minimalism/flat
Ivan Gretsky replied to ajben's topic in Themes and Profiles
It a graphical prototype, not a working module, is it? Looking nice (though missing some little details, such as image field gallery fullsize/thumbmail view switch button). Are you planning on developing a module? -
Your words indicate that some sort of organisation (probably informal and more like a friends circle) is already in place, but is unknown to majority forum users. I guess that there are some channels of communications other than public support forum that lead to it. I think you are right - making it public is a good idea. We (the broader community) could use it to address issues and organize volunteers around.
-
I am really new to internet communities around software (or about anything else really). So I do not know how they can or should be organized (or should they - maybe some sort of anarchy is a way to go here). I do not know how PW community is organised as there are almost no written material about it. That's why I assume it is not organized (except for the moderating team, which was probably picked by most activity on the forum by Ryan). When I see community rules and guidelines I do not even know if they come from a "legal authority" or are just an opinion of an individual or a draft. I just can see Ryan liked them)) Not so long ago I participated in a discussion about cenrtralized translations for PW mentioned by Beluga a few posts above. We ended up with some questions we could not address on our own. I do not know if we could do anything else there: maybe we could write PM to someone to clear things up. As noone did step in to the discussion we just abandoned it for now. If we (who?) were targeted at community building we could easily get a working translation group there. I heard about do-ocracy, but not sure it can fully apply here as Ryan mentioned several times that he sees this community as not leaderless (and it is obviously not, as most of the development is made by him). Thats why I imagine we should define some procecces to involve people in activiries around PW in a centric organised manner (maybe I am not being clear, but it is hart talking politics in a language that is not your first one ).
-
@teppo: In no way am I critisizing, but rather offering. All that you mentioned is well known to me as well as probably to everyone participating in the discussion. And I do understand that you bringing that up for people not aware of all that awesone activities around PW (and I think you are doing what should be done). The future of PW as a community as well as a software is of significant interest to me as I rely on both as means to make a living. And as a way to live too (in some respect of course). I thought that the question of the topic just requires this broader context of PW commuity current situation to be unswered. And took this chance to speak my mind))
-
I am using 2.5.14. And have no idea if it is the latest and greatest or not. Could you please suggest a way to keep track of dev branch updates. Sorry for offtopic here. I am blindly going through the files on github dev branch and cannot even find those numbers there yet)))
-
I do not know of any organization related to PW other than Ryan Cramer Design, which might be a one man enterprise (do not know anything about it). There is this forum community with admin team organised somehow (do not have any info on this either). There are people taking care of this forum software (seem like Pete is one of them or the only one of them). I can imagine mentoring programs require someone to organise mentoring, and it is likely we do not have no organised structures to cope with that. Ryan seems to be pretty busy with his outstanding job developing Processwire and probably doing some custom web design and development. My opinion is that the time is right for ProcessWire community to become more organised. There are tasks for organised community which have not been covered yet like: maintaining modules directory up to date, qulifying modules to it; organizing translation activities; making recomendations on the roadmap; actually doing some development to help Ryan; doing some marketing; writing and maintaining some documentation on PW; and mentorin talented folks of course ) I do not know how it could or should be done. I do not know anyone else's intentions on that, but it seems like some people here are willing to take part in those kind of activities (myself included).
-
Please do, Adrian. I can't imagine living without your module anymore )
-
should all template files put under site/templates folder ?
Ivan Gretsky replied to adrianmak's topic in Getting Started
I think maybe the original question was not about changing the path to the folder where templates reside, but rather about being able to put template files in different subfolders of site/templates (or something different, adjusted with the methods, described above). Although you can change the file used as template file for the template in Admin -> Setup -> Templates -> Edit Template on the Files tab, you cannot point to something like "views/product/product.php" there as far as I know (at least it did not work when I tried). You can only choose different file in template folder. It could be just great if you could. -
I think it is better to have your overrides as well as custom styles included in app.css to reduce http requests. This is all made easy with sass via @import. If you customize foundation, you will not benefit from framework being cashed in browser anyway. So put you custom styles in app.scss after the foundation import directives or in custom included partials.
- 2 replies
-
- 1
-
-
- Foundation
- SASS
-
(and 1 more)
Tagged with:
-
should all template files put under site/templates folder ?
Ivan Gretsky replied to adrianmak's topic in Getting Started
Yes, as far as I know. Maybe there is some way to overrule that, but the mainstream way is to put them in tempates site/templates folder.