Jump to content

hollyvalero

Members
  • Content Count

    102
  • Joined

  • Last visited

Community Reputation

21 Excellent

About hollyvalero

  • Rank
    Sr. Member
  • Birthday 09/14/1962

Contact Methods

  • Website URL
    http://hollyworks.com
  • Skype
    hollyvalero

Profile Information

  • Gender
    Female
  • Location
    Maine

Recent Profile Visitors

1,448 profile views
  1. EDITING TO ADD FIX: after comparing the two installations, one had Hannacodehelper still installed - so I deleted that and it's working just fine now. I have a website with a lot of charts in Hanna Code snippets. When trying to edit pages, getting a big fatal error - which is new. When I installed this it was working fine, so something since then seems to have triggered it. Fatal Error: Undefined class constant 'DEFAULT_OPEN_TAG' (line 111 of site/modules/HannaCodeHelper/HannaCodeHelper.module) - everything is up to date - PHP version is 7.3 - compiled files cleared
  2. In a blog, I have a page field that references a library of writers (cbpage2) so their info doesn't have to be reentered for each post. At the bottom of the post I wanted to list, " the last 2 posts by THIS AUTHOR, but obviously not include the CURRENT PAGE POST" EDITING TO REMOVE ALL BUT THE apparent answer When I used title to match the variable $activepost it seemed to break - title too long? But when I matched it to the ID it seemed to work... $author = $page ->cbpage2->id; $activepost = $page->id; $articles = $pages->find("templa
  3. I noticed this too in 3.0.173 and when I rolled back to 3.0.172 it went away.
  4. Pagination usually works just fine. I had 2 identical production sites - I was updating code in one when I found the pagination for a publication library was not working. MarkupPagerNav was the same in both (image 1) But the Dev version was different. (image 2) 3.0.173 was NOT paginating Pagination was working in the one with the older DEV (image 3) 3.0.172 Until I updated that installtion to 3.0.173 After the update it delivers the correct URL, but a 404 page (image 4) I rolled back the update to DEV 3.0.172 (image 5) and pagination is working fine... So... fixing this
  5. I have a text field called tweet. I'd like to display it: $tweet: This is a sample tweet to @hollyvalero using a #hashtag, or #twotags and create a tweet button to convert that tweet as postable... I've removed the whitespace and replaced it with + signs if ($item->tweet) { $tweetable = $sanitizer->removeWhitespace($item->tweet, ['replace' => '+']); echo "<div class='twitterformatted'>{$tweetable}</div>"; } this gives me: This+is+a+sample+tweet+to+@hollyvalero+using+a+#hashtag,+or+#twotags
  6. If it's not a matter of life or death, I sometimes just leave the page hidden instead of unpublished for a short while... hidden is viewable with the link but it shouldn't show up in the nav, etc.
  7. I’m looking for examples of how to use the page reference method. It seems like that’s the way to go. the page reference field is billcalendarbillref and it’s in the events records found. I need to match that field to the page title of legislation pages using the trackerplus template.
  8. I have 2 templates: Legislation and Events Legislation template fields: billnum (eg 1234) billtype (eg SD, LD, LR) title (An Act to Whatever) clients - a page reference field. We start with legislation of interest to a specific user who has tagged clients by role for that search string...and sort them by committee $user_roles_string = $user->roles->find('name!=guest')->implode('|', 'name'); $bills = $pages->find("template=trackerplus, limit=600, client=$user_roles_string, sort=billscmte"); And for each bill, we list clients which is simple since we prequa
  9. That's exactly what I was looking for and it works beautifully!! Thank you so much! I haven't done much with multiple roles per user... this is terrific!!
  10. The set up: Lots of content shared by a variety of clients. To view data specific to one client, I've set up a role - Acme - and an associated template acme.php, so when the Acme user logins in, I can pop them directly to their Acme page where they only see Acme stuff. This works fine. That page loads various content pre-qualified by the client. I have the logins set to pop them to their page automatically. $bills = $pages->find("template=trackerplus, client=$page, limit=200, sort=title"); The challenge: I have internal users who manage several clients and
  11. Hi! I'm experimenting with Ryan's RCDmap.js... got it all working but just wanted to use SVG images for the map markers. There's no class I can get... and #map .svg doesn't work. It seems like there should be a way in defining the icons to add something similar to iconSize: [30,30] or google's map options: size: new google.maps.Size(71, 71), origin: new google.maps.Point(0, 0), anchor: new google.maps.Point(17, 34), scaledSize: new google.maps.Size(25, 25) Not having much luck... and yes, I can do very tiny png images but they are tend to get
  12. This is such a great addition to ProcessWire and SO useful, that I think it should be part of the core!!!
  13. * Yes! That's why I figured it wasn't available, but maybe could be...It's not a deal breaker because the pages would be filed under City -> Location (like the dog park) and the breadcrumb nav is most likely to be to back up to the city level... but to "see all dog parks" I'd need to find a way to dynamically link that page URL data source. On the city page I could... pages->find template=location (used by all) $page=city (locations are filed under cities) sort=title or sort by $ds->cat1 To link to a category since each is unique, maybe pages->fi
×
×
  • Create New...