Marty Walker
-
Posts
630 -
Joined
-
Last visited
-
Days Won
3
Posts posted by Marty Walker
-
-
Well I updated the install and I still get the same issue. I can see all the content when logged in but not when logged out. Here's a screen of the permissions for the page template. There's nothing bizarre in my template code that restricts any views. I really do not know why it's doing it.
-
Yes it's a brand new install from two days ago. I might update it and see what happens.
-
Sure. But they definitely display correctly when I view the page as an admin.
<?php foreach($page->videos as $videoitem) { echo "<dt><a href=''>{$videoitem->title}</a></dt>"; echo "<dd><iframe width='{$vidx}' height='{$vidy}' src='https://www.youtube.com/embed/{$videoitem->video_link}?rel=0' frameborder='0' allowfullscreen></iframe></dd>"; }
Regards
Marty
-
Hi,
I have a page template that has a repeater fieldtype (with two fields in it). For some reason (that I can't see) those repeater fields only display when I'm logged in as the admin and not as a guest. I don't have any access restrictions on the template and any other fields show up.
I'm using the latest 2.2.2.
Regards
Marty
-
Thanks @diogo, that's a good suggestion about removing the separator thumbnails links.
Cheers
Martin
-
Hi everyone,
Lew's a very talented Sydney-based illustrator. He recently asked me to do a few upgrades on his site (which was running Textpattern). This gave me the opportunity to pitch a move to ProcessWire which he accepted having seen some other artist sites I'd done.
Shout-outs go to Antti (Thumbnails) and Soma (PageListImageLabel) for their great modules which help make ProcessWire a fantastic CMS for artists.
Regards
Marty
- 1
-
You could setup a checkbox field called "hidden" and only show it if it's unchecked.
<?php $items = $pages->get("/page/")->find("hidden=0"); echo "<div><p>content</p></div>";
-
I'm going to be a real pain. Does anyone have any ideas about combining matches for both YouTube and Vimeo?
-
I either develop a PW site locally or on a subdomain on the destination server. In either case I haven't encountered any problems simply moving the install over (thereby skipping the installation step), uploading the database and even changing db username and passwords to match the destination setup. I usually zip up the local contents and extract it with the cPanel file manager too and haven't had any (touch wood) problems with permissions.
Moving from a subdomain to the site root is the simpler option though: drag and drop
-
Hi everyone,
Before I breakout phpThumb is there an easy way for PW to interact with PHP's imagefilter functions?
Regards
Marty
-
That's cool. Not a big deal at all.
Thanks!
-
Hi Philipp,
Just wondering: is there's a way (apart from setting a image width in the module's css) to affect the scale of the FieldtypeCropImage thumbnail?
Regards
Marty
-
Hi Philipp,
I've only noticed two tiny things that I can't work out. I set a border colour which I can't get to show up around the thumbnail. And is there any way I can remove the comma that appears after the thumbnail?
This is such a great module.
Regards
Marty
-
Philipp for a 'first test version' this is awesome!
Regards
Marty
-
What Steve said. Thanks very much Ryan. That fix works perfectly.
- 1
-
Hi all,
Following on from this thread: http://processwire.c...st-image-label/
I'd like to sponsor a module that gives me (and any PW user too) the option to display image thumbnails in the page list. I know you can specify which fields to display in the page list in Templates > Advanced.
Because I do a bit of work for artists this would be great option for me (and probably others) to have. I'd like it to work with Antti's Thumbnails module too.
Please get in touch if you're interested: martin@smd.net.au
Regards
Marty
- 1
-
I think it's not working for me because I'm using the CropImage module.
-
I tried that and changed the template settings too. I just get a blinking page loader arrow. No bother. I don't like modding core files anyway.
It would be great if this was an core option at some point. PW is such a great CMS for artists. Having thumbnails alongside page names would be a great time-saver.
Cheers
Marty
-
Hi,
I've come across this issue which I can't work out and it's causing a bit of confusion.
I have my child page list split over 3 pages:
If I'm on page 2 and decide to move eg: 'coral reef' below page '0030' the entire tree order gets jumbled up. Has anyone else come across this?
(Please, don't anyone try this on a live site. I have and it does screw up the order.)
A more illustrated example:
Regards
Marty
- 3
-
Thanks Soma,
Is there a trick to getting your mod to work in 2.2?
Regards
Marty
-
Hi Soma,
I would love to see this as a module if possible. Do you have any plans for this. I can see it being extremely useful.
Regards
Marty
-
Hi Nico,
Is there any reason why the javascript below is being inserted into my templates?
Regards
Marty
<script type="text/javascript"> $(document).ready(function() { $("li.PageListActiondelete a").live("click", function(el){ if(!confirm("Are you sure?")) { return false; } }); }); </script>
-
Thanks diogo. This is what I ended up with which works fine:
<?php $today = time(); if($page->prev->getUnformatted('publish_date')<$today && $page->prev->id > 0) echo "<li id='prev'><a rel='nofollow' title='{$page->prev->title}' href='{$page->prev->url}'>{$page->prev->title}</a></li>\n"; if($page->next->getUnformatted('publish_date')<$today && $page->next->id > 0) echo "<li id='next'><a rel='nofollow' title='{$page->next->title}' href='{$page->next->url}'>{$page->next->title}</a></li>";
Regards
Marty
-
Hi,
I'm setting up some next/prev page linking code. I only want those links to show if the page's publish_date field is less than today. Here's my convoluted and cobbled-together code:
<?php $today = time(); if($page->prev->getUnformatted('publish_date')<$today) echo "<li id='prev'><a rel='nofollow' title='{$page->prev->title}' href='{$page->prev->url}'>{$page->prev->title}</a></li>"; if($page->next->getUnformatted('publish_date')<$today) echo "<li id='next'><a rel='nofollow' title='{$page->next->title}' href='{$page->next->url}'>{$page->next->title}</a></li>";
Firstly, is there a way to simplify this? Secondly, if there's no value returned for the previous page (for example) it still outputs the HMTL. ie:
<li id='prev'><a rel='nofollow' title='' href=''></a></li>
Thanks for any help.
Cheers
Marty
Repeater field bug?
in General Support
Posted
I think I know what it might be. When I originally added my new template I asked PW to duplicate fields from another template.
Just then I created a new template and added the fields manually and it all works now.
Regards
Marty