-
Posts
384 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Roych
-
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
-
Hello, first I'm sorry for my laaate reply to this, I was away from my PC and couldn't post anything. Have to say Im still stuck on this. @szabesz I tried your code above but it's not working as it should. It shows all item all the time, so if clicked on (show all) it shows multiple rows of all items (depends on number of categories). I'm posting a link to the preview here. The site is stil in developement, so don't bother with other stuff. http://gregor-design.com/wire/en/portfolio/ On Home you can see the working html and on portfolio page is the one Im trying to create. Thank you again for helping R
-
The page field would not be outputed on front end (only ) and is only used for shuffling between categories. If you look at my code above I bolded the code that should be changed for it to work. (at least from looking at the original html it should) The (data-filter='<?= $item->title ?>') and <div class="portfolio-item <?= $item->title ?> "> should somehow be connected, but with the category field, so Im not sure how to do that. ... The <h4><?= $single->title ?></h4> is only used to output the title of a single item nothing more (used by the default title field) Posting an image of what Im creating.
-
ok, here is my clean (hope so) code that I currently have but not working. Ok what I have done in detail. I have template (portfolio-list) with the above code. Each of the single item has the template (portfolio-detail) I created a page field with name category (Type=PageReference, Details=Multiple, Input -> AsmSelect, Parent of selectable page(s)=Kategorije(created hidden page with children), Selectable template= portfolio-detail, Allow new ... (field is added to portfolio detail template) That is all I have done, or do I need to have any additional templates for this ... Looking at the HTML on my first post it should work, or am I missing something. Not a coder and new to PW, also first time making this kind of sorting. Thank you R
-
Thank you I will try to keep it clean. I'm still lost on this one any help on how would be the best way to do this kind of sortable portfolio. I tried everything nothing sems to work. Thank you R
-
hello, thank you for helping. I tried your code and now the menu itself is working great, but gives no results, it tryes to shuflle but it gives empty page. So I think there is a problem with this here. <div class="portfolio-item {$item->category->title}<?php echo $single->category->title ?> "> I think by looking at HTML it should be the same as data-filter in menu but not working. Or maybe there is something wrong with my settings in the page field? Thank you R
-
Hello Im having some problems creating sortable portfolio I tried everything that I could think of, but as I'm not a coder this is just to much I guess. So as I said I'm making a simple sortable portfolio, where the portfoio items shuffle between categories on click. For categories I'm using pagefield so that for every item you can select or give a new category. (logo, graphics, photography, websites, etc.) The HTML code looks like this: <div class="container"> <div class="portfolio-content"> <div class="portfolio-filter-wrap text-center" > <ul class="portfolio-filter hover-style-one"> <li class="active"><a href="index.htm#" data-filter="*"> All</a></li> <li><a href="index.htm#" data-filter=".cat1">Graphic</a></li> <li><a href="index.htm#" data-filter=".cat2">Branding</a></li> <li><a href="index.htm#" data-filter=".cat3">Coding</a></li> <li><a href="index.htm#" data-filter=".cat4">Photography</a></li> <li><a href="index.htm#" data-filter=".cat5">Development</a></li> </ul> </div> <div class="portfolio portfolio-gutter portfolio-container portfolio-masonry portfolio-column-count-3"> <div class="portfolio-item cat1 cat3 "> <div class="portfolio-item-content"> <div class="hover-3"> <div class="overlay3"> <a href="single-details-two.html"><i class="fa fa-link"></i></a> </div> <img src="img/portfolio/3-column-gutter/1.jpg" alt=""> </div> </div> </div> <div class="portfolio-item cat1 cat2 "> <div class="portfolio-item-content"> <div class="hover-3"> <div class="overlay3"> <a href="img/portfolio/3-column/2.jpg" class="portfolio-gallery-set"><i class="fa fa-eye"></i></a> </div> <img src="img/portfolio/3-column/2.jpg" alt=""> </div> </div> </div> </div> <div class="pagination-area"> <div class="load-more text-center"> <a class="button-hover" href="index.htm#">View More <i class="fa fa-long-arrow-right"></i></a> </div> </div> </div> </div> Si I've tried with something like this. I can see the categories menu but it just wont work. <div class="container"> <div class="portfolio-content"> <div class="portfolio-filter-wrap text-center" > <ul class="portfolio-filter hover-style-one"> <li class="active"><a href="index.htm#" data-filter="*"> All</a></li> <li> <?php foreach($pages->find("parent=1034") as $item) { echo "<li><a href='index.htm#' data-filter='.{$item->select->category}'>$item->title</a></li>"; } ?> </li> </ul> </div> <div class="portfolio portfolio-gutter portfolio-style-3 portfolio-container portfolio-masonry portfolio-column-count-3"> <?php foreach ( $pages->find('template=portfolio-detail, sort=-created') as $single ):?> <div class="portfolio-item {$item->select->title}<?php echo $single->select->title ?> "> <div class="portfolio-item-content"> <div class="item-thumbnail"> <img src="<?=$single->images->first->url ?>" alt="<?= $single->images->description->first ?>"> </div> <div class="portfolio-description"> <div class="action-btns"> <a href="<?=$single->url?>"><i class="fa fa-eye"></i></a> </div> </div> </div> <div class="portfolio-bottom"> <h4><?=$single->title?></h4> <h6><?php foreach($single->category as $item) { echo "<li><a href='$item->url'>$item->title</a></li>";} ?> </h6> </div> </div> <? endforeach; ?> </div> <div class="pagination-area"> <div class="load-more text-center"> <a class="button-hover" href="index.htm#">View More <i class="fa fa-long-arrow-right"></i></a> </div> </div> </div> </div> So the template is called portfolio-detail and the pagefield name is category with parent ID of 1034. I hope u understand what I mean. Or is there any easier way to do that? Oh, the View More button is also the thing on how to do it, but not so important. Thank you very much. R
-
I know you are probably very busy but still. Any update on this maybe? Thank you R
-
Great, can't wait. Thank you R
-
Sure, what do you have in mind? R