-
Posts
253 -
Joined
-
Last visited
-
Days Won
2
Everything posted by nikola
-
Videos inside processwire: How to embed videos inside processwire?
nikola replied to jester.vergara's topic in FAQs
Ryan, maybe this would be interesting for video resizing... -
Great news Ryan! Can't wait to try all these new features. Good work (as usual ).
-
New forum is great. Thanks!
-
Thanks Ryan, that should work for me.
-
I actually thought about that approach, but it would apply fancybox or similar effect to all image links throughout the content area (bodycopy). For instance, if I have an image linking to some url, page or file, the effect would be applied nevertheless to that link.
-
Let's say I'm adding an image, then I set width and height and then I check "Link to larger version?". This way image is opening in normal browser window. I would like to have an extra checkbox, for example "Use Fancybox" and when this is checked it would assign specified class or rel to that image so it can open in Fancybox window or with similar script. An input field would exist somewhere where I would specify class or rel applied to an image. Thx Ryan.
-
Would it be possible to add another checkbox beside "Link to larger version?" that would call fancybox or some similar script "in "Edit image" modal window that appears after you select your image in "Select image" modal window? It would also need some sort of input field somewhere where you can define what class or rel triggers that script. I want to avoid using bramus cssextras plugin for tinymce...
-
Just for fun, I've installed IE7 on VirtualPC, loaded PW in it and these are my observations: Some <li> tags that hold inputfield boxes doesn't work as expected Sorting, deleting and adding fields under templates doesn't work at all Few changes and some hacks would have to be implemented in css files to fix the layout (it breaks on several occasions)
-
Looks like Futura "lite" I still like the original version better
-
Works great Nico. How about cloning it to upper right area (like the save button and other buttons are cloned)? I would also add "float: left" to #wrap_preview div in ProcessPreview.css so it would show before "Save page" button, it makes sense...
-
Seems I'm restless with this one I think this might be it ...
-
Thanks Ryan! You are right, it's about the balance of colors, that's why I've initially set "sidebar headline" so it can hold overall design. This is a compromise, though I'm not 100% pleased how it looks. Maybe I'll come with something these days. Anyways, enjoy using the theme as I've enjoyed making it. P.S. Adminbar skins for Moderna & Futura template coming soon. Stay tuned
-
Ryan, thanks for extra code, it works perfectly now. Ryan & Apeisa, I've removed "Sidebar headline" graphic and used orange color variation on search field + added "Newest added" below "Latest updates". Screen: How do you like it guys?
-
More and more I think about it, you're right Apeisa (and Ryan). I could style the search box that way and there would be room for newest added pages, just like the "Latest updates" part...
-
Ryan, made suggested corrections as listed above (2,3 & 4). I did try to use the Debug timer, but only on the first load would it show execution time, after that it only showed 0.0000 throughout the pages.
-
Thank you all, I'm glad you like the theme. Let's fly through questions/suggestions/ideas: 1. Sidebar headline is there just for cosmetic purposes. I know it's not necessary but it came up nice 2. I thought about that before, might move it in the breadcrumbs area or maybe in the sidebar area... 3. Didn't notice until you mentioned it, I'll fix it tomorrow... 4. I'll have to fix that, I realize the same problem occurs in Moderna admin theme 5. I'll try the internal debug timer, didn't know it's in there. Every day you learn something new
-
For the end of the year, I've made a new admin template called Futura. UPDATE 1: Moved position for logged in user to breadcrumbs area on the right / Ryan Fixed logo being cut off ("s") / Ryan Fixed Page List (blank row appeared when moving pages) / Ryan UPDATE 2: Replaced current code execution timer with PW integrated / Ryan Removed "Sidebar headline" and replaced it with search in similar color fashion / Ryan, Apeisa Added "Newest added" in the sidebar below "Latest updates" UPDATE 3: Replaced seach with finalized colors I've overlooked some things in the UI and made according corrections UPDATE 4: I apologize, I've attached the wrong css file in the final build that was attached (1.0.4), please download it again. UPDATE 5: Replaced old screenshots with new ones I've removed previous version from file downloads repository, consider the one attached in this post as final. If I spot some mistakes along the way, I'll correct them and update this post. Here are the screenshots: For full user experience, download cirkuit.zip (it's TinyMCE theme) and put it into this directory: /wire/modules/Inputfield/InputfieldTinyMCE/tinymce-3.3.9.2/themes/advanced/skins/ then open InputfieldTinyMCE.js located in /wire/modules/Inputfield/InputfieldTinyMCE/ directory and replace skin: "o2k7" with skin: "cirkuit". Tell me what you think and if you find any bugs in the template, please let me know... Greets to all on the forum and I wish you a Happy New Year 2012.! cirkuit.zip futura-admin-template-1.0.4.zip
-
Nico, site is loading almost instantly now. Glad you find a solution.
-
Merry Christmas to all! I really enjoyed hanging out on the forum and definitely fell in love with PW this year Ryan, like the card!
-
Good work Nico. Site is sometimes slow... Try to switch from Mootols to jQuery, maybe it will help. Also try caching feature of PW.
-
Thank you both, I got the idea how to make it work.
-
I'm doing a multilanguage site that will contain 3 languages with multi tree approach. I'll have tree set up as following: Home - hr - page 1 - page 2 - ... - en - page 1 - page 2 - ... - de - page 1 - page 2 - ... Pages under each language branch are using language specific templates. I want to avoid having too many templates all together, so my question is how to accomplish this scenario: Instead using language specific templates, I want to use let's say, one template that will have language specific code based on hr, en or de selection. How can I check if page is under the "hr" branch and then use specific code for "hr"? Same procedure will be for "en" and "de", all contained in one template.
-
Thanks for the script. My concerns are following: If I use one template for the normal site and the other one for mobile version of the site, I can't select multiple templates per page in admin. I want to use one template that holds information such as title, summary, body, images and so on so that user only has to update or edit one page in the admin, and on the front end it will split up based on device detection (using two separate templates). For instance: Let's say we have page "About us" that has it's own html/css layout for normal viewing and separate html/css for mobile viewing. I need to make two different templates. I would create page in admin called "About us", link it to "selector template" that would contain code like: <?php if ($detect->isMobile()) { include ('./about-mobile.inc'); } else { include('./about.inc'); } so the visitors can be redirected to detected version of the site. I could populate "selector" template (for instance "about-selector.php") with fields I want, and then pull them directly in this two separate templates, like: <?php echo $pages->find("template=about-selector")->title ?>, <?php echo $pages->find("template=about-selector")->body ?> , ... This way I would only need to create/edit one page in admin and pull the content within two separate templates. Is there any way of simplifying this procedure?
-
I've seen the other thread about making the mobile version of the site, but maybe I have a different scenario. Let's say I have a normal site and it's complete structure is tied to pw templates. I want to add a code (php) that will detect if user is viewing the site with mobile phone and it would redirect them to mobile version of the site. But mobile version of the site would use separate head.inc, foot.inc and custom templates to show the data. How can I use data from fields that are used in normal site templates in templates specific for the mobile version of the site. The mobile version of the site is not adopting it's design to the mobile phone, rather it's a new design with it's own set of templates. I want to avoid duplicating the content for the mobile site, as it would be time consuming for the editor.
-
tsd, you can do something like this for header navigation (if you add extra pages to header navigation, they will show normally): <?php echo "<ul>"; $headerNav = $pages->get('/'); foreach($headerNav->children as $menu) { $class = $menu === $page->rootParent ? " class='active'" : ''; if ($menu->name != 'contact' && $menu->name != 'legal') { echo "<li><a$class href='{$menu->url}'>{$menu->title}</a>"; } } echo "</ul>"; As far for footer navigation you can do something like this: <?php echo "<ul>"; $footerNav = $pages->get('/'); foreach($footerNav->children as $menu) { $class = $menu === $page->rootParent ? " class='active'" : ''; if ($menu->name == 'contact' || $menu->name == 'legal') { echo "<li><a$class href='{$menu->url}'>{$menu->title}</a>"; } } echo "</ul>"; Hope it helps...