buster808
Members-
Posts
69 -
Joined
-
Last visited
Everything posted by buster808
-
[solved] navigation from pages with diffrent templates
buster808 replied to buster808's topic in General Support
daaah had to change selector <?php $workposts = $page->children("$work");?> -
Hi, I have a list of pages with diffrent templates. Work- Web design prototype video interactive I want to create a navigation that uses one of the fields from each template so when Work is selected they show. I've been able to do this but just for one template. <?php $workposts = $page->children("template=webpages");?> <?php foreach ($workposts as $post): echo " <a href='$post->url' style='text-decoration:none'>$post->work_cat</a>"; ?> Do I have to link the pages somehow. Thanks for any help
-
Hi, I see there is a fantastic way in Processwire to build UI for languages. But is there a way for content translation in the CMS for output into the front-end? Like this https://www.deepl.com/translator Thanks
-
Multisite with separate admin for each instance.
buster808 replied to buster808's topic in Getting Started
I'm looking to create lots of microsites that will have a separate admin and domain name for each site and I can update templates and modules for all microsites from main admin. Separate installations will make this painful as the sites grow. -
Hi, When sorting content blocks up and down on the repeater matrix will content on the front-end reflect this.
-
Hi, Is it possible to have a multi-site setup with separate admin for each instance and one super-admin for the whole multisite. Thanks
-
Hi, Im mostly a designer before a developer and have created some UIKIT themes I guess my question is what would be the easiest format for developers to implement themes. Would using CSS variables be better than Sass so no compiling. Is design mostly important so could be in just HTML and CSS. Would single file components be useful so code is looped and data comes from a Json file. Thanks
-
Processwire UIKIT Themes for Newbies and Starters
buster808 replied to buster808's topic in Themes and Profiles
Html the way to go. I think focusing on developers instead of newbies would be better. What about a component kit example say: Navigation - 10 layouts Hero pages - 10 layouts Product pages - 10 layouts Slider content - 10 layouts News pages - 10 layouts Data - 10 layouts etc So you could pick and choose elements to create final theme. If theres any issues that developers face regarding theming and designing applications would be great to know. Thanks -
Solved (My JavaScript causing Issue) Hi, I cant get the link for the parent of a sub menu to go to its page - the submenu works fine. Products (Not Working) Products One (Working) Products Two (Working) $options = array( 'parent_class' => 'parent', 'current_class' => 'current', 'has_children_class' => 'has_children', 'levels' => true, 'levels_prefix' => 'level-', 'max_levels' => null, 'firstlast' => false, 'collapsed' => false, 'show_root' => true, 'selector' => '', 'selector_field' => '', 'outer_tpl' => '<ul class="dropdown">||</ul>', 'inner_tpl' => '<ul>||</ul>', 'list_tpl' => '<li%s>||</li>', 'list_field_class' => '', 'item_tpl' => '<a href="{url}">{title}</a>', 'item_current_tpl' => '<a href="{url}">{title}</a>', 'xtemplates' => '', 'xitem_tpl' => '<a href="{url}">javascript:;</a>', 'xitem_current_tpl' => '<span>{title}</span>', 'date_format' => 'Y/m/d', 'code_formatting' => false, 'debug' => false ); echo $treeMenu->render($options, $page, $rootPage); ?>
-
Processwire installations in separate folders
buster808 replied to buster808's topic in General Support
Hi Louis I got it fixed by changing folder permission to 755 and getting rid of extra ht access file. Thanks -
Hi I want to create installations of Processwire in separate folders so they can be accessed like below. they will all use the same database. This works how I want in localhost but not on server. works fine on root for one installation. mydomain/pwone mydomain/pwtwo mydomain/pwthree Thanks
-
Hi, I was thinking of creating Processwire Themes for sale using UIKIT with SASS. The themes would be coded into Processwire using fields and repeaters with a delayed output strategy with basic tutorials. I came back to Processwire a few times as I couldn't get to grips but really glad I made the effort as WP was just hell. I feel these would be good for newbies and starter points. Just wondered if anyone had any thoughts on this or would I be better off just creating UIKIT themes. Screenshot attached. Thanks
-
Thanks Teppo Ill make sure I do this from now on.
-
Hi, I want to add icons to the urls using Mark Up Simple Navigation. 'item_tpl' => '<a href="{url}">{title}</a>' (can add to all links) 'item_current_tpl' => '<a href="{url}">{title}</a>', (can add to current) How can I add icon to separate urls Thanks
-
ok thanks
-
The thumbnails alt tag is working fine now but how would I set the large image alt that it links too foreach ($page->images as $image) { $large = $image->width(1000); $thumb = $image->size(400, 400); $content .= "<a href='$large->url' class='thumb-roll'> <img src='$thumb->url' alt='$thumb->description' /></a>"; }
-
Hi I cant get alt tags to work with image description. $content .= "<a href='$large->url' class='thumb-roll'> <img src='$thumb->url' alt='$image->description' /></a>"; Thanks for any help.
-
Thanks Dragan I would like the filename automatically generated from the description. description: lets have a party (becomes below) image: lets-have-a-party.jpg Just like when you add the url name for the page
-
Hi is there a way hyphens can be added automatically when renaming images so I don't have to type them in. Just like when you name a page. Thanks
-
Hi, The parent url (work with me) doesn't work using MarkUpSimpleNavigation - Is there something in the options that I should be setting? Thanks
-
Setup/Fields or Setup/Templates there are import export buttons.
-
Hi, Whats the best way to export templates and fields from one installation to another. Or any tips on creating templates and fields inside a module. Thanks
-
Thanks Teppo Perfect
-
Hi. I have the below, is there a way to add letter or word count. $field = $this->modules->get('InputfieldTextarea'); $field->name = 'action'; $field->label = 'Action:'; $field->value = $p->action; $field->columnWidth = 100; $fieldset->add($field); Thanks
-
This works fine now on _main.php <?php if($page->template->name === 'blog-entry'){ echo $modules->MarkupSocialShareButtons->render(); ; }