https://www.silverstripe.org/community/forums/rss "SilverStripe Framework requires a $databaseConfig defined." after trying to switch to a new theme. https://www.silverstripe.org/community/forums/themes-2/show/122079 <p>Hi, I am a relative newbie to web programming and have only been working with Silverstripe for the last week. </p><p>Having followed the online tutorials and installed SS onto my server, I started working on creating a new theme. I copied over the Simple theme files to a new folder under Themes (without altering the CSS), changed config.yml and added new text to page.ss in the templates folder, uploading these files via Filezilla. Switching themes in the online CMS caused the website to switch to a minimal display with a blue header banner and no navigation bar. The text I'd added to page.ss didn't appear. </p><p>So far perhaps you're thinking that I've confused issues by editing via the online back end and also via the server. I dunno. </p><p>I went back and forth seeing if I could change anything, but to no avail. Then I read something on a forum about changing config.php within mysite here- <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758">https://www.silverstripe.org/community/forums/themes-2/show/111758</a>. So I did that and ?flush=all. SInce then all that I get when I try to view the site is the message "SilverStripe Framework requires a $databaseConfig defined". </p><p>I have tried re-uploading the installation folder anew, but I am still getting the same message. I can appreciate that this problem could lie in any one of a number of things I've done, but I haven't a clue and it's extremely annoying, especially after following all of the rules of setting up a new theme.</p> <br /> <p data-swiftype-index="false">Posted to: &quot;SilverStripe Framework requires a $databaseConfig defined.&quot; after trying to switch to a new theme. | <a href="https://www.silverstripe.org/community/forums/themes-2/show/122079" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/122079" class="replyLink">Post Reply</a></p> Wed, 20 Sep 2017 19:26:49 +1200 https://www.silverstripe.org/community/forums/themes-2/show/122079 Is the theme of Silverstripe.org available https://www.silverstripe.org/community/forums/themes-2/show/121734 <p>Hi all, </p><p>I am a newbie here with best wishes from Germany. <br />The website (theme) of silverstripe.org looks very nice. Is there a way to download this theme? <br />Thanks, best wishes,</p> <br /> <p data-swiftype-index="false">Posted to: Is the theme of Silverstripe.org available | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121734" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121734" class="replyLink">Post Reply</a></p> Sun, 13 Aug 2017 00:23:39 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121734 Re: How dynamicaly change site theme? https://www.silverstripe.org/community/forums/themes-2/show/121285#post423537 <p>You are welcome! One notice. In the case when you have several themes add some code :<br> </p><div class="codesnippet"><p>class Page_Controller extends ContentController <br>{<br> private static $allowed_actions = ['changeTheme'];</p><p> public function init(){<br> parent::init();</p><p> if ($theme = Session::get('theme')) {<br> Config::inst()-&gt;update('SSViewer', 'theme', $theme);<br> } <span style="color:red">else {Config::inst()-&gt;update('SSViewer', 'theme', 'your_default_theme');}</span><br> }</p></div><br>............. <br> <p data-swiftype-index="false">Posted to: How dynamicaly change site theme? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121285#post423537" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121285" class="replyLink">Post Reply</a></p> Fri, 21 Jul 2017 22:36:17 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121285#post423537 Re: How dynamicaly change site theme? https://www.silverstripe.org/community/forums/themes-2/show/121285#post423536 <p>That's really a great solution Alex_SM... your answer solves my problem. Thank you very much for sharing a helpful link.</p> <br /> <p data-swiftype-index="false">Posted to: How dynamicaly change site theme? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121285#post423536" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121285" class="replyLink">Post Reply</a></p> Fri, 21 Jul 2017 22:32:16 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121285#post423536 Re: How dynamicaly change site theme? https://www.silverstripe.org/community/forums/themes-2/show/121285#post423521 <p>The solution is here: <a href="https://stackoverflow.com/questions/45115751/can-i-dynamically-change-silverstripe-theme/45116263#45116263">https://stackoverflow.com/questions/45115751/can-i-dynamically-change-silverstripe-theme/45116263#45116263</a></p> <br /> <p data-swiftype-index="false">Posted to: How dynamicaly change site theme? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121285#post423521" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121285" class="replyLink">Post Reply</a></p> Mon, 17 Jul 2017 18:57:33 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121285#post423521 How dynamicaly change site theme? https://www.silverstripe.org/community/forums/themes-2/show/121285 <p>I have made for my site additional theme for cecutients. Can I dynamicaly change site theme pushing some button on the main page?</p> <br /> <p data-swiftype-index="false">Posted to: How dynamicaly change site theme? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121285" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121285" class="replyLink">Post Reply</a></p> Sat, 15 Jul 2017 00:08:16 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121285 Re: [SOLVED] Cannot change my theme SS3.1 https://www.silverstripe.org/community/forums/themes-2/show/40290#post423500 <p>@Tim Snadden: Thanks for the white-space YAML sensitivity info. This was driving me round in circles for hours, when I came across this. The tutorials don't warn you of this!</p> <br> <p data-swiftype-index="false">Posted to: [SOLVED] Cannot change my theme SS3.1 | <a href="https://www.silverstripe.org/community/forums/themes-2/show/40290#post423500" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/40290" class="replyLink">Post Reply</a></p> Fri, 07 Jul 2017 03:09:18 +1200 https://www.silverstripe.org/community/forums/themes-2/show/40290#post423500 Re: Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] https://www.silverstripe.org/community/forums/themes-2/show/121264#post423489 <p>SUCCESS!!!</p><p>I finally hit on the solution by accident.</p><p>Change the following in the layout CSS: .dropdown-submenu .dropdown-menu { top: 0; left: 100%; margin-top: -1px;}</p> <br> <p data-swiftype-index="false">Posted to: Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121264#post423489" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121264" class="replyLink">Post Reply</a></p> Sat, 01 Jul 2017 03:06:10 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121264#post423489 Re: Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] https://www.silverstripe.org/community/forums/themes-2/show/121264#post423488 <p>OK, well after no response from this group, I did A LOT of searching on the web, and considerable experimentation, I did manage to get all three levels to appear with this code:</p><p>Navigation.ss<br></p><div class="codesnippet"><p>&lt;section id="mainmenu0"&gt;<br> &lt;div class"container-fluid" style="height: 100%; "&gt;<br> &lt;nav class="navbar navbar-inverse"&gt;<br> &lt;div&gt;<br> &lt;ul class="nav navbar-nav"&gt;<br> &lt;% loop MENU(1) %&gt;<br> &lt;% if Children %&gt;<br> &lt;li class="dropdown"&gt;<br> &lt;a tabindex="-1" class="primary dropdown-toggle" data-toggle="dropdown" style="color: white;" href="#"&gt;$MenuTitle.XML&amp;nbsp;&amp;nbsp;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;<br> &lt;ul class="dropdown-menu"&gt;<br> &lt;% loop Children %&gt;<br> &lt;% if Children %&gt;<br> &lt;li class="dropdown"&gt;<br> &lt;a tabindex="-1" class="dropdown-toggle" data-toggle="dropdown" style="color: black;" href="$Link"&gt;$MenuTitle.XML&amp;nbsp;&amp;nbsp;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;<br> &lt;ul class="dropdown-submenu"&gt;<br> &lt;% loop Children %&gt;<br> &lt;% if Children %&gt;<br> &lt;li class="dropdown"&gt;<br> &lt;a tabindex="-1" class="dropdown-toggle" data-toggle="dropdown" href="$Link"&gt;$MenuTitle.XML&amp;nbsp;&amp;nbsp;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;<br> &lt;ul class="dropdown-menu"&gt;<br> &lt;% loop Children %&gt;<br> &lt;%if Children %&gt;<br> &lt;li&gt;&lt;a href="$Link" title="$MenuTitle.XML" &gt;$MenuTitle.XML&lt;/a&gt;&lt;/li&gt;<br> &lt;% end_if %&gt;<br> &lt;% end_loop %&gt;<br> &lt;/ul&gt;<br> &lt;/li&gt;<br> &lt;% else %&gt;<br> &lt;li&gt;&lt;a tabindex="-1" href="$Link"&gt;$MenuTitle.XML&lt;/a&gt;&lt;/li&gt;<br> &lt;% end_if %&gt;<br> &lt;% end_loop%&gt;<br> &lt;/ul&gt;<br> &lt;/li&gt;<br> &lt;% else %&gt;<br> &lt;li&gt;&lt;a tabindex="-1" href="$Link"&gt;$MenuTitle.XML&lt;/a&gt;&lt;/li&gt;<br> &lt;% end_if %&gt;<br> &lt;% end_loop %&gt;<br> &lt;/ul&gt; <br> &lt;/li&gt;<br> &lt;% else %&gt; <br> &lt;li&gt;&lt;a href="$Link" title="$MenuTitle.XML"&gt;$MenuTitle.XML&lt;/a&gt;&lt;/li&gt;<br> &lt;% end_if %&gt;<br> &lt;% end_loop %&gt;<br> &lt;/ul&gt;<br> &lt;/div&gt;<br> &lt;/nav&gt;<br> &lt;/div&gt;<br> &lt;/section&gt;</p></div><p>This plugs in nicely to the default bootstrap theme and sort of works. Levels one and two appear as they should, however, level 3 appears inline with the level two list always expanded. How do I get it to show up to the right and starting at the same position as the sub-menu item indicated with an arrow?</p> <br> <p data-swiftype-index="false">Posted to: Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121264#post423488" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121264" class="replyLink">Post Reply</a></p> Sat, 01 Jul 2017 02:05:10 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121264#post423488 Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] https://www.silverstripe.org/community/forums/themes-2/show/121264 <p>I have a bootstrap navbar nav menu defined in Navigation.ss that looks like this:<br></p><div class="codesnippet"><p>&lt;div class="navbar navbar-inverse"&gt;&lt;!-- Begin NavBar Section --&gt;<br> &lt;div class="navbar-inner"&gt;<br> &lt;ul class="nav nabvar-nav multi-level" id="lvl1"&gt;&lt;!-- MAIN(1) Menu --&gt;&lt;% loop $Menu(1) %&gt;&lt;% if Children %&gt;<br> &lt;li class="dropdown"&gt;&lt;!-- MAIN(1) Item --&gt;&lt;% if Children %&gt;<br> &lt;a class="dropdown-toggle" data-toggle="dropdown" style="color: white;" href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&amp;nbsp;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;<br> &lt;ul class="dropdown-menu" id="lvl2"&gt;&lt;!-- MAIN Dropdown has children --&gt;&lt;% loop Children %&gt;&lt;% if Children %&gt;<br> &lt;li class="dropdown"&gt;&lt;!-- MAIN Item Dropdown Item --&gt;<br> &lt;a class="data-toggle" data-toggle="dropdown" href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&amp;nbsp;&amp;#8628;&lt;/a&gt;<br> &lt;ul class="dropdown-menu" id="lvl3"&gt;&lt;!-- MAIN item Dropdown Item Dropdown --&gt;&lt;% loop Children %&gt;<br> &lt;li&gt;&lt;!-- MAIN Dropdown Item Dropdown Item --&gt;<br> &lt;a style="color: black;" href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&lt;/a&gt;<br> &lt;/li&gt;&lt;!-- end lvl2 item --&gt;&lt;% end_loop %&gt;<br> &lt;/ul&gt;&lt;% else %&gt;&lt;!-- MAIN Item Not Dropdown --&gt;<br> &lt;li&gt;<br> &lt;a style="color: black;" href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&lt;/a&gt;&lt;% end_if %&gt;<br> &lt;/li&gt;&lt;!-- end lvl 1 dropdown item --&gt;&lt;% end_loop %&gt;<br> &lt;/ul&gt;&lt;!-- end main dropdown item list item --&gt;&lt;% else %&gt;&lt;!-- MAIN Item Dropdown Item has no children --&gt;<br> &lt;a href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&lt;/a&gt;&lt;% end_if%&gt;<br> &lt;/li&gt;&lt;!-- end level 1 list item --&gt;&lt;% else %&gt;&lt;!-- NO MAIN(1) Item Children --&gt;<br> &lt;li&gt;&lt;a style="color: white;" href="$Link" title="$Title.XML"&gt;$MenuTitle.XML&amp;nbsp;&lt;/a&gt;&lt;/li&gt;&lt;!-- end main no dropdown --&gt;&lt;% end_if %&gt;&lt;% end_loop %&gt; &lt;!-- END MAIN(1) LOOP --&gt;<br> &lt;/ul&gt;&lt;!-- END OF NAVBAR MENU LIST --&gt;<br> &lt;/div&gt;&lt;% if $SearchForm %&gt;&lt;span class="search-dropdown-icon"&gt;L&lt;/span&gt;&lt;div class="search-bar"&gt;$SearchForm&lt;/div&gt;&lt;% end_if %&gt;<br> &lt;/div&gt;&lt;!-- navbar ends --&gt;</p></div><p>It looks great for the level 1 and two but when the last menu is displayed, the items are listed vertically under the dropdown item.</p><p>Here is the CSS for this item defined in layout.css.<br></p><div class="codesnippet"><p>/* Primary navigation */<br> /* Main Menu Navbar styles */<br>.nav { display: block; position: relative; margin-top: 0px; color: #999; }<br>.nav .open &gt; a, .nav .open &gt; a:hover, .nav .open &gt; a:focus <br>{<br> margin-top: 0px;<br> color: blue;<br> height: 2.1em; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.nav ul li.dropdown:hover<br>{<br> margin-top: 0px; <br> color: #999; <br> height: 2.1em; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.nav ul li.dropdown:open<br>{<br> margin-top: 0px; <br> color: #999; <br> height: 2.4em; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.nav ul li.dropdown:active <br>{<br> margin-top: 0px; <br> color: #999; <br> height: 2.4em; <br> background: #ccccee; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.nav ul li a { padding: 8px 10px; }<br>.navbar <br>{<br> position: relative;<br> width: 100%;<br> height: 2.1em; <br> margin-bottom: 6px;<br> min-height: 20px; <br> padding-left: 10%;<br> border: 1px solid #999;<br> background: #5c5e6a;<br> background: -webkit-linear-gradient(top, #7c7e8a 0%,#2c2d33 100%);<br> background: -moz-linear-gradient(top, #7c7e8a 0%,#2c2d33 100%);<br> background: -o-linear-gradient(top, #7c7e8a 0%,#2c2d33 100%);<br> background: -ms-linear-gradient(top, #7c7e8a 0%,#2c2d33 100%);<br> background: linear-gradient(top, #7c7e8a 0%,#2c2d33 100%);<br>}<br>.navbar ul { list-style-type: none; padding-top: 0px; }<br>.navbar ul li <br>{<br> float: left; <br> height: 2em;<br> padding-right: 15px; <br> margin-bottom: 0;<br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.navbar ul li a <br>{<br> font-family: Cinzel, 'Open Serif', 'Times New Roman', 'DejaVu Serif', 'Liberation Serif', serif;<br> font-size: 1.1em; <br> vertical-align: middle;<br> text-decoration: none;<br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.navbar ul li a:hover<br>{<br> background-color: black; <br> color: #6666ee;<br> font-size: 1.4em;<br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.navbar ul li a:active, <br>.navbar ul li a:focus { height: 2.1em; font-size: 1.1em; background: black; color: #6666ee; }<br>.navbar ul li ul li { text-decoration: none; }<br>.navbar ul li ul li a:hover { height: 100%; margin: 0; padding-top: 3px; font-size: 1.2em; font-weight: bold; color: #6666ff; background: transparent; }<br>.navbar ul li ul li a:focus <br>{<br> height: 2.3em;<br> font-size: 1.1em; <br> background: #ddeedd; <br> vertical-align: middle; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.navbar-nav { height: 2.3em; }</p><p>.navbar-inverse { height: 2.3em; font-family: Cinzel, serif; font-size: 1.4em; color: white; }<br>.navbar li.dropdown.open { color: blue; height: 2.1em; }<br>.navbar li.dropdown.focus { color: blue; height: 2.1em; }<br>.navbar li.dropdown.active { color: blue; height: 2.1em; }<br>.navbar ul.dropdown-menu:open <br>{<br> color: blue;<br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.navbar .sub-menu:before <br>{<br> left: -7px;<br> top: 10px;<br> border-bottom: 7px solid transparent;<br> border-left: none;<br> border-right: 7px solid rgba(0, 0, 0, 0.2);<br> border-top: 7px solid transparent;<br>}<br>.navbar .sub-menu:after <br>{<br> left: 10px;<br> top: 11px;<br> left: -6px;<br> border-top: 6px solid transparent;<br> border-left: none;<br> border-right: 6px solid #fff;<br> border-bottom: 6px solid transparent;<br>}</p><p>.navbar-nav .dropdown-menu { position: relative; color: #999; } </p><p>.dropdown-menu .sub-menu { visibility: hidden; margin-top: -1px; }<br>.dropdown-menu ul li<br>{<br> float: left;<br> background-color: white;<br> border: 1px solid #ccc;<br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}<br>.dropdown-menu ul li a:focus { color: blue; }<br>.dropdown-menu ul li:hover .sub-menu { visibility: visible; display: block; }<br>.dropdown-menu ul li ul li a { text-decoration: none; }<br>.dropdown-menu ul li ul li a:hover<br>{<br> height: 2.3em;<br> font-size: 1em; <br> background: #cceecc; <br> color: black; <br> vertical-align: middle; <br> border-radius: 5px;<br> -moz-border-radius: 5px;<br> -webkit-border-radius: 5px;<br> -o-border-radius: 5px;<br> -ms-border-radius: 5px;<br>}</p></div><p>This code renders a menu that looks like:<br>Main Item<br>-&gt;Sub Item<br>-&gt;Sub Item Dropdown<br>---&gt;Dropdown Item<br>Dropdown Item Item<br>Dropdown Item Item<br>Dropdown Item Item<br>...instead of ...<br>Main Item<br>-&gt;Sub Item<br>-&gt;Sub Item Dropdown<br>---&gt;Dropdown Item<br>-------&gt;Dropdown Item Item<br>-------&gt;Dropdown Item Item<br>-------&gt;Dropdown Item Item</p><p>I know it has to be obvious but I am not seeing it.</p> <br> <p data-swiftype-index="false">Posted to: Bootstrap Navbar mulitilevel menu works on lvl1 and 2 but not 3 [SOLVED] | <a href="https://www.silverstripe.org/community/forums/themes-2/show/121264" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/121264" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 04:04:15 +1200 https://www.silverstripe.org/community/forums/themes-2/show/121264 Re: Make simple theme nav menu page width https://www.silverstripe.org/community/forums/themes-2/show/119775#post423460 <p>The width problem seems to be resolved. The problem I have now is with multilevel menus. I will post a separate question. Thanks martimiz</p> <br /> <p data-swiftype-index="false">Posted to: Make simple theme nav menu page width | <a href="https://www.silverstripe.org/community/forums/themes-2/show/119775#post423460" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/119775" class="replyLink">Post Reply</a></p> Thu, 22 Jun 2017 03:49:40 +1200 https://www.silverstripe.org/community/forums/themes-2/show/119775#post423460 Re: Confused on How to Look at Themes in the Themes Section of This Site https://www.silverstripe.org/community/forums/themes-2/show/119102#post421836 <p>I agree with you: the Themes section in the SilverStripe addons leaves somewhat to be desired - since there aren't many ready-made themes and (almost) no screenshots or categories to help the search - especially if you compare this to, say, Wordpress... </p><p>This is probably because a lot if not most of SilverStripe developers start from or boilerplate template, or from static HTML/CSS and build the SilverStripe Controls into them. Hardly anyone uses a SilverStripe site out of the box: modules are added, custom code and custom fields and they all need to be incorporated in the theme, so often you're better off that way... It's not so hard to turn a HTML page into a SilverStripe template: <a href="https://www.silverstripe.org/learn/lessons/migrating-static-templates-into-your-theme?ref=hub">https://www.silverstripe.org/learn/lessons/migrating-static-templates-into-your-theme?ref=hub</a></p> <br /> <p data-swiftype-index="false">Posted to: Confused on How to Look at Themes in the Themes Section of This Site | <a href="https://www.silverstripe.org/community/forums/themes-2/show/119102#post421836" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/119102" class="replyLink">Post Reply</a></p> Tue, 07 Mar 2017 03:17:26 +1300 https://www.silverstripe.org/community/forums/themes-2/show/119102#post421836 Re: Make simple theme nav menu page width https://www.silverstripe.org/community/forums/themes-2/show/119775#post421835 <p>This isn't so much a SilverStripe issue, more of a css thing. But it seems like setting the width of the &lt;ul&gt; in templates/Includes/Navigation.ss to 100% seems to do the trick. Just a hunch, didn't test it any further then Firefox... Maybe take it from there :)</p> <br /> <p data-swiftype-index="false">Posted to: Make simple theme nav menu page width | <a href="https://www.silverstripe.org/community/forums/themes-2/show/119775#post421835" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/119775" class="replyLink">Post Reply</a></p> Tue, 07 Mar 2017 03:02:20 +1300 https://www.silverstripe.org/community/forums/themes-2/show/119775#post421835 Make simple theme nav menu page width https://www.silverstripe.org/community/forums/themes-2/show/119775 <p>I am customizing the simple theme into my own theme. and I would liike to make the nav menu in the header extend from column 1 to last column (page width). <br />I am not exactly clear how to do this and would appreciate some insight. </p><p>Keep in mind I am a SilverStripe newbie.</p> <br /> <p data-swiftype-index="false">Posted to: Make simple theme nav menu page width | <a href="https://www.silverstripe.org/community/forums/themes-2/show/119775" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/119775" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 07:01:25 +1300 https://www.silverstripe.org/community/forums/themes-2/show/119775 Re: Using $Up or $Top in an include file https://www.silverstripe.org/community/forums/themes-2/show/118962#post421050 <p>Hi @Vix, </p><p>You can add arguments into a include </p><p><div class="codesnippet"><p>&lt;% loop ContentPanels %&gt; </p><p> &lt;% if PanelLayout = Text Block %&gt; </p><p> &lt;% include TextBlocks Top=$Top %&gt; </p><p> &lt;% else_if PanelLayout = Image and Text %&gt; </p><p> &lt;% include ImageGrid Top=$Top %&gt; </p><p> &lt;% end_if %&gt; </p><p>&lt;% end_loop %&gt;</p></div> </p><p>Documented Here: <br /><a href="https://docs.silverstripe.org/en/3.4/developer_guides/templates/syntax/#includes">https://docs.silverstripe.org/en/3.4/developer_guides/templates/syntax/#includes</a> </p><p>Thanks <br />Michael</p> <br /> <p data-swiftype-index="false">Posted to: Using $Up or $Top in an include file | <a href="https://www.silverstripe.org/community/forums/themes-2/show/118962#post421050" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/118962" class="replyLink">Post Reply</a></p> Fri, 23 Dec 2016 03:35:01 +1300 https://www.silverstripe.org/community/forums/themes-2/show/118962#post421050 Confused on How to Look at Themes in the Themes Section of This Site https://www.silverstripe.org/community/forums/themes-2/show/119102 <p>Hello, </p><p>I am trying to source a simple darker theme to use for my site but it is confusing what options I have even looking at these <a href="http://addons.silverstripe.org/add-ons?search=&amp;type=theme&amp;compatibility">http://addons.silverstripe.org/add-ons?search=&amp;type=theme&amp;compatibility</a> . Since I cannot even know what each of these theme actually DO to a site. </p><p>Please let me know how to select a theme in order to meet my requirements. </p><p>Thank you in advance.</p> <br /> <p data-swiftype-index="false">Posted to: Confused on How to Look at Themes in the Themes Section of This Site | <a href="https://www.silverstripe.org/community/forums/themes-2/show/119102" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/119102" class="replyLink">Post Reply</a></p> Thu, 22 Dec 2016 12:54:29 +1300 https://www.silverstripe.org/community/forums/themes-2/show/119102 Using $Up or $Top in an include file https://www.silverstripe.org/community/forums/themes-2/show/118962 <p>I have a fairly complex theme set up and for the most part I can use include files to add in the code for that part of the template. For example I have: </p><p><div class="codesnippet"><p>&lt;% if ContentPanels %&gt; <br /> &lt;% loop ContentPanels %&gt; </p><p> &lt;% if PanelLayout = Text Block %&gt; </p><p> &lt;% include TextBlocks %&gt; </p><p> &lt;% else_if PanelLayout = Image and Text %&gt; </p><p> &lt;% include ImageGrid %&gt; <br />etc...</p></div> </p><p>However one of these layouts needs to access the $Top which does not work in an include file. Does anyone know of a work around for this, so that I am not repeating the same chunk of code on different page templates?</p> <br /> <p data-swiftype-index="false">Posted to: Using $Up or $Top in an include file | <a href="https://www.silverstripe.org/community/forums/themes-2/show/118962" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/118962" class="replyLink">Post Reply</a></p> Thu, 20 Oct 2016 18:28:27 +1300 https://www.silverstripe.org/community/forums/themes-2/show/118962 Re: Get rid of picture frames in simple theme https://www.silverstripe.org/community/forums/themes-2/show/117105#post418676 <p>in themes/simple/css/tpography.css ~#160 </p><p><div class="codesnippet"><p>.typography img { <br /> border: 5px solid #d7d7d7; <br /> height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */ <br /> background: transparent url(https://www.silverstripe.org/../images/ajax-loader.gif) no-repeat center center; <br />}</p></div> </p><p>there it is :)</p> <br /> <p data-swiftype-index="false">Posted to: Get rid of picture frames in simple theme | <a href="https://www.silverstripe.org/community/forums/themes-2/show/117105#post418676" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/117105" class="replyLink">Post Reply</a></p> Sat, 04 Jun 2016 02:34:41 +1200 https://www.silverstripe.org/community/forums/themes-2/show/117105#post418676 Get rid of picture frames in simple theme https://www.silverstripe.org/community/forums/themes-2/show/117105 <p>Hi everyone <br />I have installed the Silverstripe v3.3.2 and adopted the Simple Theme. Now I would like to get rid of the gray frames around each pictures. I already added in layout.css the lines </p><p>a img { <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;border: none; <br />&nbsp;&nbsp;&nbsp;} </p><p>In the according Page.ss I added $Portrait.SetWidth(300). (Where 'Portrait' is of the type 'Image') </p><p>I still go these frames on each picture. Can everyone tell me what is wrong here?</p> <br /> <p data-swiftype-index="false">Posted to: Get rid of picture frames in simple theme | <a href="https://www.silverstripe.org/community/forums/themes-2/show/117105" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/117105" class="replyLink">Post Reply</a></p> Thu, 02 Jun 2016 22:11:16 +1200 https://www.silverstripe.org/community/forums/themes-2/show/117105 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758?start=8#post413148 <p>Sorry that I didn't reply till now... </p><p>I did exactly the same thing as you described but it won't work for me :D <br />Maybe I did something wrong while isntalling SilverStripe? That's the only thing what would possibly make sense for me... </p><p>But thanks for the help :) <br />greetz, <br />Ghost</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758?start=8#post413148" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Wed, 30 Mar 2016 22:16:26 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758?start=8#post413148 Re: Searching for a new theme https://www.silverstripe.org/community/forums/themes-2/show/111769#post413145 <p>I've found one: </p><p>&gt; <a href="http://themeforest.net/item/icon-theme-with-page-types-for-silverstripe-3/6298473">http://themeforest.net/item/icon-theme-with-page-types-for-silverstripe-3/6298473</a> </p><p>It looks pretty nice. </p><p>You can take a look at: <a href="http://www.rothed.de/">http://www.rothed.de</a></p> <br /> <p data-swiftype-index="false">Posted to: Searching for a new theme | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111769#post413145" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111769" class="replyLink">Post Reply</a></p> Wed, 30 Mar 2016 05:17:35 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111769#post413145 Searching for a new theme https://www.silverstripe.org/community/forums/themes-2/show/111769 <p>Hello, </p><p>I'm looking for an alternative theme. At the moment I use the Simple-theme. </p><p>On the internet I've found this one: <a href="http://preview.themestripe.com/simline/">http://preview.themestripe.com/simline/</a> <br />But there is no company or contact person listed. So i do not trust them. </p><p>Do you know a possibility to obtain a silverstripe theme like the one from above? </p><p>Thanks, </p><p>Eddy</p> <br /> <p data-swiftype-index="false">Posted to: Searching for a new theme | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111769" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111769" class="replyLink">Post Reply</a></p> Sat, 26 Mar 2016 22:49:05 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111769 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413126 <p>Theme working on my local environment without any problem. </p><p>How I installed theme: </p><p>Notice: Theme wasn't successfully installed with Composer, so you need to put your theme into SS manually. </p><p>Step 1: Download theme archive (zip) from Git repository (<a href="https://github.com/i-lateral/silverstripe-themes-kube">https://github.com/i-lateral/silverstripe-themes-kube</a>) <br />Step 2: Extract your archive and rename it to "kube" <br />Step 3: Place this folder to ss_folder/themes/ <br />Step 4: Add following code to your mysite/_config.php file: <br /><div class="codesnippet"><p>SSViewer::set_theme("kube"); <br />HtmlEditorConfig::get('cms')-&gt;setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break');</p></div> <br />Step 5: Go to browser and run ?flush=all </p><p>And theme should be working! ;) </p><p>Works for me like a charm.</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413126" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 04:31:43 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413126 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413125 <p>Like I said I'm a newbie so I didn't install any modules I know of^^ </p><p>I did check the version, especially because I searched on the silverstripe addon-site and marked the '3.3' compatibility and as you may see I got the theme from github <br />link: <a href="http://addons.silverstripe.org/add-ons/i-lateral/silverstripe-themes-kube">http://addons.silverstripe.org/add-ons/i-lateral/silverstripe-themes-kube</a> </p><p>I didn't check the cache... but I will try it again <br />Edit: Cache was cleared but nothing changed</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413125" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 02:14:07 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413125 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413124 <p>Do you have installed any modules? It is possible that some module could overwrite your current theme view. </p><p>Did you check version of your theme if supports your SS version ? </p><p>Did you check you browser cache ? (Maybe your browser serve you some old files?) </p><p>Where did you get theme? If you want, you can paste me the link and I'll try to install on clean installation.</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413124" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 00:49:37 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413124 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413123 <p>The same as i wrote into the config files -&gt; 'kube' <br />I even checked it again a minute ago.</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413123" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 00:41:39 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413123 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413122 <p>what theme have you set if you logged into admin area and go to "Settings" -&gt; "Theme" ?</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413122" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 00:28:16 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413122 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413121 <p>Hey! </p><p>Thanks for the reply... but it's not working :/ <br />Since i already saved some themes in the folder i looked your suggestion up. <br />For example i have the theme 'kube' downloaded... <br />I went into /var/www/html/silverstripe/themes where everything should be, looked in 'kube' and found the folders css, fonts, images, javascript, lang, less, templates and in every folder there are files as it should be. <br />Then i went into the /mysite/_config.php and edited your part like you suggested (this is what it looks like now): <br />&lt;?php </p><p>global $project; <br />$project = 'mysite'; </p><p>global $databaseConfig; <br />$databaseConfig = array( <br /> 'type' =&gt; 'MySQLDatabase', <br /> 'server' =&gt; 'localhost', <br /> 'username' =&gt; 'silverstripe', <br /> 'password' =&gt; '********', <br /> 'database' =&gt; 'silverstripedb', <br /> 'path' =&gt; '' <br />); </p><p>// Set the site locale <br />i18n::set_locale('de_DE'); </p><p>SSViewer::set_theme('kube'); </p><p>And at last I '/flush=all' my firefox and set the theme on the adminpage but there's still only the default page popping up. </p><p>Am I forgetting something? Or what am I doing wrong... :/ </p><p>greetz, <br />Ghost</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413121" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Thu, 24 Mar 2016 00:18:20 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413121 Re: Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758#post413120 <p>Hi! </p><p>Put your complete theme folder inside your SS theme directory: </p><p><div class="codesnippet"><p>your_ss_folder/themes/yourtheme_name/</p></div> </p><p>inside folder of yourtheme_name you need to have subfolders: templates, images, javascripts etc. </p><p>than you need to put this code to your _config.php (your_ss_folder/mysite/_config.php): <br /> <div class="codesnippet"><p>SSViewer::set_theme('yourtheme_name');</p></div> </p><p>save config and run ?flush=all </p><p>that should work.</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758#post413120" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Wed, 23 Mar 2016 23:38:36 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758#post413120 Can't install themes https://www.silverstripe.org/community/forums/themes-2/show/111758 <p>As I already searched for tutorials for installing themes on silverstripe none of them helped me out and there are still no themes i can install. <br />I'm a total newbie with installing cms's and installing silverstripe but i managed to get silverstripe working and now I'm trying to get new themes which i like and my company can work with. <br />The simple theme is working fine but when I install any other theme there just comes the default SS-page and no menus work or anything. </p><p>So i searched the web and found a few things and tried these... <br />-I extracted the themes in the "theme" folder in SS <br />-edited the config.yml in 3 different ways: <br />-&gt; SSViewer: <br /> theme: 'themename' <br />and <br />-&gt;SSViewer::set_theme("themename"); <br /> HtmlEditorConfig::get('cms')-&gt;setOption('theme_advanced_styles', 'highlight=highlight;no-border=no-border,break=break'); <br />and <br />-&gt; SSViewer::set_theme("themename"); <br />-i even tried editing the rights for the folders, since i saw that here on the forum as one solution, but it didn't work <br />- and of course setting the theme on the adminpage in SS (and saving) <br />Everytime i changed the theme i "/?flush"ed the cache but still nothing happened... </p><p>Any new ideas from any of you guys? </p><p>greetz, <br />Ghost </p><p>Edit: I'm working with SS 3.3.1</p> <br /> <p data-swiftype-index="false">Posted to: Can&#039;t install themes | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111758" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111758" class="replyLink">Post Reply</a></p> Wed, 23 Mar 2016 21:27:04 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111758 Carousel slides not working? How do I get this working in the 'Tino' theme? https://www.silverstripe.org/community/forums/themes-2/show/111751 <p>Hi SilverStripers </p><p>I've trying to configure the 'Tino' theme but I can't seem to get the carousel slideshow working. <br />Has anyone used this - or can you give me some pointers to allow it to work. </p><p>Thank you :-)</p> <br /> <p data-swiftype-index="false">Posted to: Carousel slides not working? How do I get this working in the &#039;Tino&#039; theme? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111751" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111751" class="replyLink">Post Reply</a></p> Tue, 22 Mar 2016 22:30:56 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111751 Re: Different home page https://www.silverstripe.org/community/forums/themes-2/show/111302#post412991 <p>Hei </p><p>Fast and dirty way. In your template main page.ss </p><p><div class="codesnippet"><p>&lt;% if URLSegment = home || URLSegment = '' %&gt; <br />&lt;% include Startpage %&gt; <br />&lt;% else %&gt; <br />&lt;% include Header %&gt; <br />$Layout <br />&lt;% include Footer % <br />&lt;% end_if %&gt;</p></div> </p><p>Then u can make Startpage.ss under include and u have "special layout" for start page. If u wanna be a bit more creative u can make special page type for startpage (with controller under mysite and extend this approach). Main idea is that u can control on template main layout what is included on what conditions. </p><p>hope that helps ;)</p> <br /> <p data-swiftype-index="false">Posted to: Different home page | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111302#post412991" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111302" class="replyLink">Post Reply</a></p> Thu, 03 Mar 2016 00:54:54 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111302#post412991 Re: How to make Silverstripe use 2 themes at same time? https://www.silverstripe.org/community/forums/themes-2/show/111648#post412898 <p>Hi there, I'd suggest looking into this module <a href="https://github.com/nyeholt/silverstripe-partial-themes">https://github.com/nyeholt/silverstripe-partial-themes</a></p> <br /> <p data-swiftype-index="false">Posted to: How to make Silverstripe use 2 themes at same time? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111648#post412898" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111648" class="replyLink">Post Reply</a></p> Mon, 22 Feb 2016 10:40:22 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111648#post412898 How to make Silverstripe use 2 themes at same time? https://www.silverstripe.org/community/forums/themes-2/show/111648 <p>Hi, I maybe someone knows how to make silverstripe use 2 themes at same time, for example HomePage, About, Contacts uses theme1, and if you go to ManagerPage and other pages that are in manager use theme2?</p> <br /> <p data-swiftype-index="false">Posted to: How to make Silverstripe use 2 themes at same time? | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111648" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111648" class="replyLink">Post Reply</a></p> Thu, 18 Feb 2016 10:55:07 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111648 Re: css not loading proparly on loginpage, and is driving me crazy https://www.silverstripe.org/community/forums/themes-2/show/111605#post412766 <p>Hi Helen </p><p>I solved i forgott the base_tag ;) <br />So now the css loads properly ;)</p> <br /> <p data-swiftype-index="false">Posted to: css not loading proparly on loginpage, and is driving me crazy | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111605#post412766" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111605" class="replyLink">Post Reply</a></p> Wed, 03 Feb 2016 21:14:41 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111605#post412766 Re: css not loading proparly on loginpage, and is driving me crazy https://www.silverstripe.org/community/forums/themes-2/show/111605#post412761 <p>Hi HanSolo, </p><p>For now, just make a copy of the page.ss file within the same folder. <br />It may not be exactly the layout/template you want, but it should do the trick. </p><p>Just make sure $content and $form exist in the template. </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: css not loading proparly on loginpage, and is driving me crazy | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111605#post412761" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111605" class="replyLink">Post Reply</a></p> Wed, 03 Feb 2016 10:31:16 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111605#post412761 Re: css not loading proparly on loginpage, and is driving me crazy https://www.silverstripe.org/community/forums/themes-2/show/111605#post412760 <p>Hi Helen <br />The css is in the theme folder theme/paratus/css and on <a href="http://www.kundregistrering.se/Security/login?BackURL=%2Fadmin%2Fpages">http://www.kundregistrering.se/Security/login?BackURL=%2Fadmin%2Fpages</a> if i check the code in firebug the css path is correct but when i expand the css in firebug the whole html is there but as you mentioned, i will creat a security.ss file in the layout, what should it contain? It was a while since i worked on Silverstripe.</p> <br /> <p data-swiftype-index="false">Posted to: css not loading proparly on loginpage, and is driving me crazy | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111605#post412760" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111605" class="replyLink">Post Reply</a></p> Wed, 03 Feb 2016 09:24:31 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111605#post412760 Re: css not loading proparly on loginpage, and is driving me crazy https://www.silverstripe.org/community/forums/themes-2/show/111605#post412759 <p>Hi HanSolo, </p><p>Where are you loading your CSS files? <br />You may find that your CSS files are loaded somewhere which doesnt cover security pages. </p><p>Have you created a template .ss file for your Security page? <br />You may need a template created in order for CSS to apply. <br />You can simply create a "Security.ss" file inside "/theme/YOURTHEME/templates/Layout". </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: css not loading proparly on loginpage, and is driving me crazy | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111605#post412759" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111605" class="replyLink">Post Reply</a></p> Wed, 03 Feb 2016 08:36:53 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111605#post412759 css not loading proparly on loginpage, and is driving me crazy https://www.silverstripe.org/community/forums/themes-2/show/111605 <p>I am converting a static template to a SS theme <br /><a href="http://www.kundregistrering.se/hem">http://www.kundregistrering.se/hem</a> Here all css/js is loaded as it should, except the content that is not fecthed, there is mixed content, static and dynamic. <br />But at <a href="http://www.kundregistrering.se/Security/login?BackURL=%2Fadmin%2Fpages">http://www.kundregistrering.se/Security/login?BackURL=%2Fadmin%2Fpages</a> i get the login form but css is not loading proparly, i checked the css on the page and here the whole html is loaded. </p><p>I have tried to find an answer but it is driving me crazy!</p> <br /> <p data-swiftype-index="false">Posted to: css not loading proparly on loginpage, and is driving me crazy | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111605" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111605" class="replyLink">Post Reply</a></p> Tue, 02 Feb 2016 22:41:57 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111605 Re: Images not appearing in Gallery https://www.silverstripe.org/community/forums/themes-2/show/104825?start=8#post412620 <p>Sure thing. To change it from post's featured images to page's... </p><p>1) Make a child theme. <br />2) Add in "template-imagegallery.php" to the child-theme. <br />3) Replace the following text: <br />&lt;?php query_posts( 'showposts=60&amp;post_type=post' ); ?&gt; <br />with <br />&lt;?php query_posts( 'showposts=60&amp;post_type=page' ); ?&gt; </p><p><a href="http://www.traininginsholinganallur.in/java-training-in-chennai.html#">Java training in chennai</a> | <a href="http://www.traininginsholinganallur.in/android-training-in-chennai.html#">Android training in chennai</a> | <a href="http://www.traininginsholinganallur.in/oracle-dba-training-in-chennai.html">Oracle dba Training in Chennai</a> | <a href="http://www.traininginsholinganallur.in/python-training-in-chennai.html">Python Training in chennai</a></p> <br /> <p data-swiftype-index="false">Posted to: Images not appearing in Gallery | <a href="https://www.silverstripe.org/community/forums/themes-2/show/104825?start=8#post412620" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/104825" class="replyLink">Post Reply</a></p> Sun, 10 Jan 2016 22:52:37 +1300 https://www.silverstripe.org/community/forums/themes-2/show/104825?start=8#post412620 Re: 'Drag and Drop' responsive theme builder https://www.silverstripe.org/community/forums/themes-2/show/101399#post412616 <p>Actually, ignore the link above, I've started building a new version - <a href="http://www.sstemplates.com/">http://www.sstemplates.com/</a></p> <br /> <p data-swiftype-index="false">Posted to: &#039;Drag and Drop&#039; responsive theme builder | <a href="https://www.silverstripe.org/community/forums/themes-2/show/101399#post412616" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/101399" class="replyLink">Post Reply</a></p> Sat, 09 Jan 2016 06:49:56 +1300 https://www.silverstripe.org/community/forums/themes-2/show/101399#post412616 Re: Different home page https://www.silverstripe.org/community/forums/themes-2/show/111302#post412210 <p>Hi CitizenSmif, </p><p>I had crafted a nice reply to you, but then silverstripe logged me out and failed to post (lost it all). </p><p>I suggest looking into creating new page types, adding HomePage.ss and HomePage.php files. </p><p>UncleCheese has a fantastic Video on this, check the link below: </p><p><a href="https://www.silverstripe.org/learn/lessons/working-with-multiple-templates?ref=hub">https://www.silverstripe.org/learn/lessons/working-with-multiple-templates?ref=hub</a> </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: Different home page | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111302#post412210" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111302" class="replyLink">Post Reply</a></p> Thu, 19 Nov 2015 09:34:36 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111302#post412210 Different home page https://www.silverstripe.org/community/forums/themes-2/show/111302 <p>Hi, </p><p>I'm basically looking for a quick and dirty way to have a different homepage to the rest of the site, so index.php will not be connected to SilverStripe. </p><p>The rest of the site is fine but the front page is to have a totally different design Silverstripe. It's a temporary website so I don't mind the 'hackiness' of this. </p><p>Is there an easy way to do this?</p> <br /> <p data-swiftype-index="false">Posted to: Different home page | <a href="https://www.silverstripe.org/community/forums/themes-2/show/111302" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/111302" class="replyLink">Post Reply</a></p> Thu, 19 Nov 2015 05:49:56 +1300 https://www.silverstripe.org/community/forums/themes-2/show/111302 Re: How is the Order of Templates to be used https://www.silverstripe.org/community/forums/themes-2/show/110923#post411787 <p>I guess that didnt really answer your question. </p><p>Modules/addons override everything else. </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: How is the Order of Templates to be used | <a href="https://www.silverstripe.org/community/forums/themes-2/show/110923#post411787" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/110923" class="replyLink">Post Reply</a></p> Wed, 04 Nov 2015 08:59:35 +1300 https://www.silverstripe.org/community/forums/themes-2/show/110923#post411787 Re: How is the Order of Templates to be used https://www.silverstripe.org/community/forums/themes-2/show/110923#post411786 <p>Hi Andre, </p><p>The way I understand it is that any module/addon folders in your root directory (E.g. /htdocs) will override template (.ss) and PHP code files within your themes folder. </p><p>There are really only two places you want to have template (.ss) files, within either "themes/{themeName}/templates/Layout" OR the root folder (E.g. /htdocs) inside an addon/Module folder. </p><p>Your mysite folder is used for all your PHP coding, atleast when it comes to theming. <br />So your "mysite/code" folder will house all your PHP files, not template files (.ss) should be sitting in here. </p><p>Addons/modules have their own folder structure, most would simply start with a "code" folder and "template" folder. <br />The structure would look a little like below: <br /><div class="codesnippet"><p>-Addon/Module Folder <br />&nbsp;&nbsp;&nbsp;-code <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-PHP Files <br />&nbsp;&nbsp;&nbsp;-templates <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-layouts <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-.SS Files <br />&nbsp;&nbsp;&nbsp;-javascript <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-.js Files <br />&nbsp;&nbsp;&nbsp;-css <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-css files <br />&nbsp;&nbsp;&nbsp;_config.php (For configuration) <br />&nbsp;&nbsp;&nbsp;composer.json (For composer setup) <br />&nbsp;&nbsp;&nbsp;Readme.MD (For Github)</p></div> </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: How is the Order of Templates to be used | <a href="https://www.silverstripe.org/community/forums/themes-2/show/110923#post411786" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/110923" class="replyLink">Post Reply</a></p> Wed, 04 Nov 2015 08:58:23 +1300 https://www.silverstripe.org/community/forums/themes-2/show/110923#post411786 How is the Order of Templates to be used https://www.silverstripe.org/community/forums/themes-2/show/110923 <p>The Following things I already evaluated: </p><p>Templates in Folder Framework get overwritten by Templates in the selected themes Folder get overwritten by Templates in Folder mysite (or any other folder I define as global $project). </p><p>But what about templates in other modules?</p> <br /> <p data-swiftype-index="false">Posted to: How is the Order of Templates to be used | <a href="https://www.silverstripe.org/community/forums/themes-2/show/110923" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/110923" class="replyLink">Post Reply</a></p> Tue, 03 Nov 2015 22:07:01 +1300 https://www.silverstripe.org/community/forums/themes-2/show/110923 Using Twig template engine with SilverStripe https://www.silverstripe.org/community/forums/themes-2/show/110797 <p>I am experimenting with using Twig template engine within Silverstripe by getting a version of the Simple theme to work with Twig <a href="https://github.com/chris-hall-hu/simple-silverstripe-twig">https://github.com/chris-hall-hu/simple-silverstripe-twig</a>. </p><p>I am using a fork of <a href="https://github.com/camspiers/silverstripe-twig">https://github.com/camspiers/silverstripe-twig</a> to make twig available so that I can add extensions, functions etc. </p><p>Probably going to be a bit of slow-burner have little free time at the moment, and have only just started learning Silverstripe, really I am looking for options next year probably after SS version 4 is released, doing this is helping me learn Silverstripe, plus I want to get a better knowledge of Twig under the hood. </p><p>It may well be better to just use different approaches with Twig, however there is probably a benefit to making options to work with require, $layout etc. etc. so far just got require working. </p><p>I am not proposing replacing SS templating with Twig wholesale the native templating looks pretty good already ;), personally though I may have need to work with multiple frameworks and people who already know Twig, possibly with some custom Twig extensions also. </p><p>Any comments or heads-up re. things I may have problems with gratefully received.</p> <br /> <p data-swiftype-index="false">Posted to: Using Twig template engine with SilverStripe | <a href="https://www.silverstripe.org/community/forums/themes-2/show/110797" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/110797" class="replyLink">Post Reply</a></p> Mon, 26 Oct 2015 23:06:01 +1300 https://www.silverstripe.org/community/forums/themes-2/show/110797 Metro 3 CSS Theme https://www.silverstripe.org/community/forums/themes-2/show/109559 <p>The Metro 3 css theme add-on's dropdown menu is not working, what is the workaround?</p> <br /> <p data-swiftype-index="false">Posted to: Metro 3 CSS Theme | <a href="https://www.silverstripe.org/community/forums/themes-2/show/109559" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/109559" class="replyLink">Post Reply</a></p> Tue, 20 Oct 2015 17:01:34 +1300 https://www.silverstripe.org/community/forums/themes-2/show/109559 Re: Is there a mobile version theme for silverstripe admin https://www.silverstripe.org/community/forums/themes-2/show/106272#post407013 <p>Hi Noirlucifer, </p><p>Nothing available at this stage, but looks to be in the works. </p><p><a href="https://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6196153-responsive-cms">https://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6196153-responsive-cms</a> </p><p>Hopefully soon. </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: Is there a mobile version theme for silverstripe admin | <a href="https://www.silverstripe.org/community/forums/themes-2/show/106272#post407013" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/106272" class="replyLink">Post Reply</a></p> Fri, 02 Oct 2015 15:54:37 +1300 https://www.silverstripe.org/community/forums/themes-2/show/106272#post407013 Is there a mobile version theme for silverstripe admin https://www.silverstripe.org/community/forums/themes-2/show/106272 <p>The Silverstripe admin is amazing with design and ux, but for some internal applications, users require the backend/admin usable on their mobile phones? just wondering if there is such a template/theme or if not where is the best way to start building one? Thank you</p> <br /> <p data-swiftype-index="false">Posted to: Is there a mobile version theme for silverstripe admin | <a href="https://www.silverstripe.org/community/forums/themes-2/show/106272" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/themes-2/reply/106272" class="replyLink">Post Reply</a></p> Fri, 02 Oct 2015 01:24:40 +1300 https://www.silverstripe.org/community/forums/themes-2/show/106272