• Content count

  • Joined

  • Last visited

Community Reputation

20 Excellent

About Roych

  • Rank
    Full Member

Recent Profile Visitors

1,135 profile views
  1. Roych

    thanks for answers, I got it. It was a repeater, and had no image in it. I somehow made two of the same repeater field and somehow lost one which had no image in it. I deleted the field and it's fine now. Thank you all R
  2. Roych

    Hello, What is wrong here, Im getting an error. It works but tracy shows error on first line. <?php foreach($pages->get('/home/')->ozadje_strani as $bck): ?> <?php $image = $bck->bgimage->first(); ?> <img src="<?=$image->url; ?>" alt="<?=$image->description; ?>" /> <?php endforeach; ?> PHP Warning: Invalid argument supplied for foreach() ... Thank you R
  3. Roych

    Hello, Im back here. All is working nice on a simple site, but I'm working on a Multilanguage site and Page reference field won't show anything on different language, but works normal in default. Im using the <?php echo $single->categories->implode(' ', 'name') ?> for the name of the category (page reference field). Am I missing something or ... Thank you. R
  4. Roych

    Thank you, forgot about the first post, lol R
  5. Roych

    Hello, I'm having trouble creatin a menu. It wont work I tried all sorts of things here, I just got lost, not sure what to do to make it work. The original HTML looks like this: It looks simple but Im out of ideas <ul class="nav navbar-nav"> <li class="dropdown active"> <a href="index.html">Home</a></li> <li class="dropdown"> <a href="index.htm#" data-toggle="dropdown" class="dropdown-toggle js-activated">Contact<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="room-list.html">Contact 1</a></li> <li><a href="room-detail.html">Contact 2</a></li> </ul> </li> </ul> tried with: 'parent_class' => '', 'current_class' => 'active', 'has_children_class' => 'dropdown', 'levels' => true, 'levels_prefix' => 'level-', 'max_levels' => null, 'firstlast' => false, 'collapsed' => false, 'show_root' => true, 'selector' => 'template!=', 'selector_field' => '', 'outer_tpl' => ' <ul class="nav navbar-nav">||</ul>', 'inner_tpl' => '<ul class="dropdown-menu">||</ul>', 'list_tpl' => '<li%s>||</li>', 'list_field_class' => '', 'item_tpl' => '<a href="{url}" data-toggle="dropdown" class="dropdown-toggle js-activated">{title}</a>', 'item_current_tpl' => '<a href="{url}">{title}</a>', 'xtemplates' => '', 'xitem_tpl' => '<a href="{url}">{title}</a>', 'xitem_current_tpl' => '{title}', 'date_format' => 'Y/m/d', 'code_formatting' => false, 'debug' => false It won't work. and not sure how to put the dropdown <b class="caret"></b> inside also. Please any help is appreciated. Thank you R
  6. Roych

    Hehe, couldn't agree more, backup already done. R
  7. Roych

    Ok, somehow I've managed to get it working again. Fortunately, I found one old DB on a server that was left from latest upgrade. Did a fresh install, copied site folder and this DB and it worked. With some work and some text copying site is back and working again. Not sure why this happened and hope it wont happen again. New site is now here: Thank you all for helping, couldn't do it without your advices here. R
  8. Roych

    thank you for link, but none of that resolved my issue. Not sure what to do anymore.
  9. Roych

    not sure how to do that? Do I add this line "useRoles":1 in admin.php or ..? (tried, still not working)
  10. Roych

    Just checked and I get the same error on my local wamp server. Site itself works great but get 404 on admin. Any ideas?
  11. Roych

    Installed in subfolder again, not sure but it shouldn't be a problem. I've never encountered this problem before.
  12. Roych

    I installed a fresh copy of PW and copy the old SITE folder and old DB but the same problem occures!
  13. Roych

    I have it installed. I get [2018-05-21 15-17-19] PHP Notice: Trying to get property of non-object in ..../novo/site/templates/cenik.php:20 @ [2018-05-21 15-17-20] PHP Notice: Trying to get property of non-object in ..../novo/site/templates/settings.php:2 @ Not sure what this means all looks fine on those files and was working great until now. I will try ti install a fresh copy and copy the site folder and DB and hope this will fix the problem. I'll get back if all goes well. Thank you. R
  14. Roych

    yes tried this also, but see no errors ...
  15. Roych

    Yes it shows the right URL : /novo/admin