arjen
Members-
Posts
1,222 -
Joined
-
Last visited
-
Days Won
8
Everything posted by arjen
-
Did you click on save when you selected the repeaters to be deleted?
-
Absolutely love the Classic colours and theme. To me these are the ProcessWire colours.
-
Great idea! Not to hijack this thread, but FormSaveReminder would be a nice addition too - for all users.
-
You're right apeisa, but soma did come up with a sort of solution.
-
if ($page->user->has($user)) { // Do stuff } Not tested, but something like this would work since the "user" fields returns a array which you can check all kinds of thing in. See the cheatsheet for more info.
- 1 reply
-
- 5
-
modifying the Skyscrapers profile for a realty company project
arjen replied to OrganizedFellow's topic in Pub
I think Ryan means this: $pages = wire('pages')->find("template=property"); foreach ($pages as $page) { $page->images->deleteAll(); $page->save(); $page->images->add("http://images.com/image1.jpg"); $page->save(); } -
Good thinking! Diogo teached me to turn them around. This way you notice the error more quickly. if(1 == $page->id) { // Do stuff }
-
What version are you running? Also does this happen on all levels - i.e. /level1/level2/level3?
-
Nice addition! Sometimes I got a feeling there are multiple Ryans. Some might have travelled form other dimensions. Thanks again for the continuous development of great additions.
-
You definately should check out the tutorials floating around here. It will make a lot of sense afterwards and you will be building things you couldn't dream of before
-
Based on the information: yes and yes. If you can't (or are not willing to) pull it off alone you can post it on the jobboard. An intranet can be so many things, so we have to know a little bit more.
-
Got a Dutch translation pack in the pipeline too.
-
"Reset" $config->appendTemplateFile for certain templates
arjen replied to Harmster's topic in API & Templates
Add $useMain = false; to your template and the html won't output. -
What is the best practice to change the home page?
arjen replied to Robert Zelník's topic in General Support
@webweaver, I get your point from a visual POV. Some people like the homepage to have subpages too The index.html always bugged me since the early days of Frontpage since I didn't feel right to have a domain.com/ and a domain.com/index.html. -
Missed it too. Superb work. This request has come up now and them regarding long lists.
-
What is the best practice to change the home page?
arjen replied to Robert Zelník's topic in General Support
So you would have http://domain.com/home as a page too? Especially from a SEO POV/structural thinking I would argue that having a homepage at "/" is the way to go. It is the parent/grandparent of all your pages. This made a lot of sense from when I started using ProcessWire. Other cms'es tend to let you create a homepage which is whatever page. It may seem rigid, but you get a lot of freedom when settling with one root. In a multisite I could see other roots as well, but when dealing with a one-site hierarchy I love the way PW dictates the overal structure, but within that "/" you can do anything you want. http://domain.com/ http://domain.com/about-us/ http://domain.com/about-us/history/ Seems very clear, readable and supernice to me -
beer : Grolsch
-
Search with merged PageArrays + pagination = not working
arjen replied to isellsoap's topic in Getting Started
Thanks soma for reporting back with the best solution. Once again your code makes so much sense. I hardly need comments to figure it out.- 17 replies
-
- PageArray
- pagination
-
(and 1 more)
Tagged with:
-
Check your site in incognito (private) mode frequently
arjen replied to diogo's topic in General Support
I live in incognito mode. Pro tip diogo! -
I wonder what this company could sponsor!
-
There seems to be a hardcoded limit of 999 paginated pages. So make sure you won't surpass that
- 27 replies
-
- multisite
- many pages
-
(and 2 more)
Tagged with:
-
I guess this will work: $pages->find("template=individual, sort=parent.title, sort=title"); $pages->find("template=individual, sort=parent, sort=title");
-
Try it in a clean install and you'll find out!
-
Been getting those blank fields too. A refresh seems to work for a while, but for no apparant reason the issue reappears. Will try your fix asap. Thanks!