Jump to content

Search the Community

Showing results for tags 'blog profile'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 9 results

  1. Is there any chance to get stars and voting for comments in Uikit 3 “Regular” site/blog profile soon? Any working solution would be great.
  2. 1 trying to add extra pages to default _uikit.php function ukNavBarNav-> fails ...it requires 1 array 2 trying to add dropdown multilingual menu there-> fails it requires pages array and problem n1 3 adding standard php multilingual code (for menu generation) to UkNavBarNav ->fails as variable $languages is empty there SO What is the best way to navigate(menu) in Blog profile and how to add language switcher in a drop down manner?
  3. i decided to extend _uikit.php functionality with extra functions in separate file in case in future updates, in _init.php i included my _uikit_override.php call in _uikit_override.php i have include_once('./_uikit.php'); function ukEventPost(Page $page, $options = array()) { .... its still copy of ukBlogPosts ... but after that i have strange error TypeError Argument 1 passed to ProcessWire\ukEventPost() must be an instance of ProcessWire\Page, instance of ProcessWire\PageArray given, called in C:\WTServer\WWW\pw32\site\templates\home.php on line 34 search► Source file File: ...\WWW\pw32\site\templates\_uikit_override.php:84 74: * - `divider` (bool): Specify true to show a divider between root level items (default=auto). 75: * - `attr` (string): A string of additional tag attributes to add to the `<ul>` (default=''). 76: * - `fields` (array): Any additional fields you want to display for each item. 77: * @return string 78: * 79: */ 80: 81: #include(_uikit.php); 82: include_once('./_uikit.php'); 83: 84: function ukEventPost(Page $page, $options = array()) { 85: 86: $defaults = array( 87: 'summarize' => null, // Display blog post summary rather than full post? (null=auto-detect) 88: 'metaIcon' => 'info', any ideas how to properly include php files and call functions??
  4. Installed latest blog profile with _uikit.php had to setup a second blog on the same installation, faced few problems 1 i needed it without comments so this field was deleted-> crash->non destructive workaround in function ukBlogPost(Page $page, $options = array()) { if($page->comments){//prepend $n = $page->comments->count(); //col 662 }else{$n=0;};//append 2 category page changed, (each blog like setup requires its own category page) can be anything by default 'categories' added option to ukblogpost-> echo ukBlogPosts($posts,['category'=>'expo_tags']); non destractive change $defaults = array( 'summarize' => null, // Display blog post summary rather than full post? (null=auto-detect) 'metaIcon' => 'info', 'moreIcon' => 'arrow-right', 'moreText' => __('Read more'), 'categoryIcon' => 'hashtag', 'bylineText' => __('Posted by %1$s on %2$s'), 'category' => 'categories', <-- new line ); ----------------- $metaIcon = ukIcon($options['metaIcon']); $moreIcon = ukIcon($options['moreIcon']); $categoryIcon = ukIcon($options['categoryIcon']); $cat=$options['category']; <-- new line --------------------- $categories = $page->$cat->each($categoryIcon . <--categories replaced for $cat "<a class='uk-button uk-button-text' href='{url}'>{title}</a> " ); 3 Problem, Is it possible to extend ukblogPosts to display calendar , events, date event table, really need simple solution for php newbie 4 ready.php hooks??? do i need to add new ? for new blog type pages? cant understand how it affects blogpost , so what is the function of default hook in log profile?? 5 _main.php (html menu) needed to add/extend extra page -> manual dirty solution $p=$home->and($home->children); $p=$p->and($pages->get('/service/Expo-list')); #print_r($p); #and($pages->get('/Service/'))) ?> <?=ukNavbarNav($p, [ 'dropdown' => [ 'basic-page', 'categories' ] ])?> doesnt like this solution/ is there a simpler way to combine 3 arrays or just page ids for ukNavBar ->call -------- i realy like new templates functionality, great work
  5. Hi, I'm just setting up a new site using the blog profile. I've used it before for a site that was purely a blog so I'm familiar with all the basic stuff to do with setting it up and all that. The issue I'm having is that with this site the blog is just a section of the site. So i need the front page to be just a plain basic page (with latest posts/comments in the sidebar, but no posts on the page), and the site will have a few other pages, and then the blog will be accessible via the navigation. I have already installed the blog profile and have created all the pages I need, including the page I want to use as a the homepage, how do I go about setting this up? thanks
  6. hello, everyone! been an active reader in the processwire community but never felt like i had anything to contribute. ufortunately, i still don't feel up to speed to contribute much to the community but i thought i'd share a new site. i used ryan's blog profile as a base. it's still not 100% finished (probably at about 90% on the dev side) and the blog hasn't been posted to yet. any opinions/critiques, good or bad, are appreciated. http://revengeofthecakeball.com/ many thanks! alex
  7. Any help on how to create subcategories in Ryan's blog profile would be much appreciated. I am creating a site for my phone repair business using the blog profile, this is my first time using the blog concept. In the past have had good SEO success using a three tier approach with keywords / content. I am intrigued with the blog concept because as I do more repairs I can just create new posts under the category it would fall into & use tags for the specific type of repair. When organizing the categories the top level would be the manufacturer. The need for subcategories would be for the specific manufacturer’s device. A category example would be... Apple -> iPhone -> 4s A tags example for this would be... cracked screen, charge port, button, water damage, ect. I am fairly new with processwire & PHP but have a heart’s desire to be proficient at both not just for this site but because I love web programming I just don't know much of it. I have been able to create a basic site for my business with processwire that is online now I just haven't done much with it since I decided to go with the blog concept. kccracked.com
  8. Hi All, I'm playing around with the Blog Profile and I'd like to figure out the best way to add an image file (ex: a signature) at the bottom of every post. What I love about Processwire is that most times, there is no one way to do things. This also means that I wonder how others are doing it. I've tested my solution by adding: <?php echo "<img src='http://lorempixel.com/200/200/people/9'>"; ?> to the bottom of the .postbody div in post.php. To have a signature (image file) in it's place, I'm unsure if I should create a field, insert it into the post template, etc. or use a different method? Thoughts? Thanks for any and all help and feedback.
  9. I'm using the getArchives() and renderArchives() functions found in the /templates/archives.php file from the Blog Profile developed by Ryan. These functions are used independently of the blog profile and have been added to a site that has already been developed in PW. The year/month archive listing in the sidebar work fine on all blog pages expect for pages that are paginated. I'm thinking that the additional URL segment is throwing things off, but that's just a guess. Has anyone had any experience with displaying a date-based archive listing of blog posts? The listing needs to be structured like this: 2011 > January (1) 2010 > June (2) > July (1) > November (1) 2009 > November (1) 2008 > February (1) 2006 > January (1)
  • Create New...