-
Posts
393 -
Joined
-
Last visited
-
Days Won
1
Everything posted by 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
-
Hehe, couldn't agree more, backup already done. ? R
-
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: http://barbsart.si/new/ Thank you all for helping, couldn't do it without your advices here. R ?
-
thank you for link, but none of that resolved my issue. Not sure what to do anymore. ?
-
not sure how to do that? Do I add this line "useRoles":1 in admin.php or ..? (tried, still not working)
-
Just checked and I get the same error on my local wamp server. Site itself works great but get 404 on admin. Any ideas? ?
-
Installed in subfolder again, not sure but it shouldn't be a problem. I've never encountered this problem before.
-
I installed a fresh copy of PW and copy the old SITE folder and old DB but the same problem occures!
-
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 @ http://barbsart.si/novo/si/cenik/ [2018-05-21 15-17-20] PHP Notice: Trying to get property of non-object in ..../novo/site/templates/settings.php:2 @ http://barbsart.si/novo/si/nastavitve/ 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
-
yes tried this also, but see no errors ...
-
Yes it shows the right URL : /novo/admin
-
Already tried that none of the above worked, everything looks normal.
-
yes I was trying to upgrade, but still the error persist. ? Any idea R EDIT: The error started when tried to upload some images in repeater field, but got error in between. Just found out! Maybe it will help. On this page: http://barbsart.si/novo/si/cenik/ R
-
Hello, I've made a site that was working great until today. When I try to login to ADMIN I get 404 error. The frontend works normal. The admin URL is right. I didn't lock the admin to 404. Everything looks normal in .htacces. I just can't login. The site is still in subfolder and should be deployed today but somehow this happened .. The site is: http://barbsart.si/novo/admin/ Any help is greatly appreciated. Thank you R
-
Hello, is it possible to change the color for each of the repeater in backend? I have two stacked repeaters and it is sometimes hard to find the right item to edit. So I would like to have the parent repeater in default green (Reno) and child repeater maybe some other color. Thank you R
-
not sure I follow, what you need here I want link to point to new "detail" template but contans fields from clicked page.
-
hello, with: <?php foreach($page->storitve_pagetablext as $pe){ echo $pe->render(); } ?> I'm showing all my pages in one template like teasers. Just some small teaser text. I have some other fields added in PTE that are not shown here. So in the bottom of every item (layout) I have read more button with link "<?= $page->url ?>" wich opens the templates assigned to TPE that I don't want. I need to create another template (services-details) wich will fetch all the fields from this specific page (layout), hope u unerstand. Here is the link to the site so you wil know what I mean. LINK You will se the "Beri več ->" link ... that should point to diferent template but would fetch fields from only that layout. Thank you R
-
bump thank you R
-
Change css and images through admin (custom admin page)?
Roych replied to Roych's topic in Getting Started
I got it, here is the code if somebody is going to need it. <?php $siteSettings = $pages->get("/settings/"); foreach($siteSettings->social_footer as $block) : ?> <li><a href="<?=$block->link?>" target="_blank"><?=$block->title?><i class="<?=$block->icon_pick?>"></i> </a></li> <?php endforeach;?> R -
Hello, first time using PageTableExtended so far so good. I've created three diferent layouts with three diferent template files and I'm showing a list of all items on a parrent page with <?php foreach($page->storitve_pagetablext as $pe){ echo $pe->render(); } ?> So what I would like to do is open each item in a different template (same template for all items) like (read more button) , can this be done somehow? Not in a layout given in PTE. one of my layouts looks like this, expl.: <div class="col-lg-5 col-xs-12"> <div class="ro-service-1-item ro-service-1-v clearfix"> <div class="ro-image ro-left"><img src="<?=$page->images->first->url?>" alt="service" class="img-responsive"/></div> <div class="ro-content"> <h3 class="ro-hr-heading"><?=$page->title?></h3> <div class="ro-bgc-trans-5"><?=$page->body?><a href="<?= $page->url ?>" class="ro-more"><i class="fas fa-arrow-right"></i></a></div> </div> </div> </div> So my <?= $page->url ?> links to this template, I'd like to use diferent template for this. Hope you understand. Something like blog opening a detail page. Thank you R
-
Change css and images through admin (custom admin page)?
Roych replied to Roych's topic in Getting Started
Hello, Im having some problems with repeater in settings page, I tried with this it get's me an error. <?php foreach($pages->get("/settings/")->$social_footer as $social): ?> <li><a href="<?=$social->link-url?>"><i class="fa fa-<?=$social->icon_pick?>"></i><?=$social->title?></a></li> <?php endforeach; ?> I'm using upper method for settings page, all other fields working great! What am I doing wrong here? Thank you R -
Yes, now it is working perfectly Figured out why jumping occures, because of the page scroling when enough items is shown. So it works great Thank you R
-
Wow, this was fast! Let me first of all thank you for all your work on this, you are the best! I usualy do that but somehow slipped my mind this time. AdminOnSteroids and Tracy Debugger are one hell of a helpers, I never used them before, not sure how could I live without those, specialy TracyDebugger ... Helps a lot when putting all code together. (not that I know how to code ) I just cleaned my other page with it also. I totaly agree and will try to follow your advice. Not sure where this one came from. About so many broken DIV's it's because I just pasted some html from a template just to see if all css works as I've planned. Didn't even focus on this so much, but yes I agree should be more precise about this. Still learning through all this. So for the portfolio part I installed your pack and everything works great. There is some weird jumping of items on FrontEnd but it doesn't really bother me. One thing is what I noticed, that is not possible to give one item to more than one category it always sticks to one only. Not a very big deal but would be really helpful sometimes, if one item belongs to more than one category. Just example, a printed book would be in -> publications, books, prints categories. Thank you again for this, You just made my day a lot nicer R
-
PM sent Thank you very much R
-
Thank you for looking into this, but not sure how would I aproach this as I'm not a coder. R