Jump to content

cmscritic

Members
  • Posts

    127
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by cmscritic

  1. Hi Ryan

    I get where you are coming from. The issue, however, is too much info required is likely to scare people off. It's like getting people to comment in forums, they tend to not like filling out too many forms. If I did something like this (and I may), I'd definitely hide the # of votes otherwise it could look grim.

  2. Hi Guys,

    As you know, we moved to ProcessWire on CMS Critic and are running the Critics Choice CMS Awards at the moment. Soon, our nomination stage will end and we'll be starting the voting stage for the various categories. I'm wondering if anyone might have suggestions of a good polling service that we can integrate to track votes?


    I've explored options like polldaddy.com, etc. but would love some feedback if anyone has recommendations.

    Thanks in advance,

    Mike

  3. You can since latest version of InputfieldTinyMCE add custom plugins from within outside core. It has a field "Third Party plugins" you can enter name and path to plugin , and put plugin for example into a folder /site/tinymce/...

    I'm not sure about adding it to the core. Since it also is a browser feature, and the plugin doesn't seem to have localized feature (most important)

    Thanks, I just implemented this and it works like a charm.

    • Like 1
  4. What kills me about this module is that Ryan literally decided to make it because I had something similar in WordPress and needed a substitute solution in ProcessWire (as part of the move of CMS Critic to PW) otherwise I'd have a ton of weird shortcodes in my posts for no reason. He made this module, imported my code from the other module (called Hana Code in WP) and named his Hanna Code (after his daughter) and Poof! a module is born.

    I am insanely jealous of his mad php skills (but glad they can be bought!)

    • Like 10
  5. This is an exciting announcement for me to make! After having selected ProcessWire as our 2012 Best Free CMS winner in our Critics Choice CMS Awards, we decided it was time to put our money where our mouths are and make the move ourselves.

    I'll get into more detail soon but for now, I'm excited to present the new CMS Critic (developed by the illustrious Ryan Cramer). Note that it is still propagating so if you don't see a site that looks like the screenshot below, DNS hasn't fully updated. I'm just too pleased to wait the full 24 hours to make the announcement ;P

    I also did this write up on the experience: http://www.cmscritic.com/cms-critic-is-now-powered-by-processwire/

    Check it out: CMS Critic

    34879277.png

    • Like 28
  6. Looking at the screen it must be a multiple images field. In that case it's an array and you have to either change it to max 1 image int he field setting or chose the first from the array:

    <?php 
    $image = $page->logo_image->first->size(287,80);
    echo "<img class='logo' src='{$image->url}' alt='{$image->description}' />";
    ?> 
    
    

    Ah didn't read careful..

    This is also possible I think:

    <?php echo "<a href='{$config->urls->root}'><h1><img class='logo' src='{$page->logo_image->size(287,80)->url}' alt='{$image->description}' /></h1></a>";?>

    That worked perfectly, (the second example that is) I wasn't sure the context to use. Thank you & thanks to all others who replied.

  7. Thanks RJay.

    So far, I followed the tutorial I found here and came up with this code, which outputs the logo above and the "site_title" below. Now all I need to do is figure out how to wrap the logo with <a href='{$config->urls->root}'> and I'm good. Code is as follows:
     

    <?php $image = $page->logo_image->size(287,80); echo "<img class='logo' src='{$image->url}' alt='{$image->description}'  />"; ?> 
    <?php echo "<a href='{$config->urls->root}'><h1>{$homepage->headline}</h1></a>"; ?>
    
    

    Thoughts?

  8. Hi Guys

    I'm doing the unthinkable and attempting to recreate cmscritic.com with processwire. A task that I'm sure will be incredibly fulfilling once complete and I'm hoping will teach me how to use this CMS in the process. (pun not intended). 

    I'm messing with the blog profile at the moment and when I look at the template, I see it's got a field "site title" which when viewing the page, is populated with the words "Basic Blog Profile" and used in the masthead. Since I want to use an image logo instead and have it easy to change within the backend, I added an image field to the template and uploaded my logo.  The issue i'm having is that I'm unsure as to how to call this and within which template. I can see it in the page now as an uploaded image but I don't know how to call it within the masthead.

    Tough to explain, hopefully my question makes sense.

    Here's a screenie to show what I mean.

    capturegfw.png

    Thanks  in advance!

    Mike

    • Like 2
×
×
  • Create New...