https://www.silverstripe.org/community/forums/rss Re: New Features https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7323?start=32#post424575 <p>Hello, thanks for sharing this </p><p>_______________________ <br />24*7 <a href="https://www.ozassignmenthelp.com.au/">assignment help</a></p> <br /> <p data-swiftype-index="false">Posted to: New Features | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7323?start=32#post424575" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/7323" class="replyLink">Post Reply</a></p> Thu, 28 Sep 2017 21:38:41 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7323?start=32#post424575 to find a prime spot for fireworks viewing at the end of the day. https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121905 <p><a href="https://icma.org/sites/default/files/WATCH%2049ers%20v%20Panthers%20FreeFootballLiveStreamingForIpad.pdf">Panthers vs 49ers game live</a><br><a href="https://icma.org/sites/default/files/soooos.pdf">jaguars vs texans game live stream</a><br><a href="https://icma.org/sites/default/files/vk.pdf">jaguars vs texans game live stream</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/liVENew-York-Giants-vs-Dallas-Cowboys-stream-Online-107245742">Giants vs Cowboys Live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/WATCHNFL-LIVE-Giants-vs-Cowboys-Live-Stream-107245740">Giants vs Cowboys Live</a><br>[url=https://icma.org/sites/default/files/Co<a href="http://wwwwboys.pdf">wwwwboys.pdf</a>]Giants vs Cowboys Live<br><a href="https://oehha.ca.gov/media/filefield_paths/free_18.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a><br><a href="https://icma.org/sites/default/files/LiveTBS-Carolina-Panthers-vs-San-Francisco-49ers-Live-Stream-NFL-Football-Web-Game-Online-HD-TV-Telecast-September-10-2017.pdf">Panthers vs 49ers game live</a><br><a href="https://icma.org/sites/default/files/hhhhhhh_0.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/onlineTvPanthers-vs-49ers-live-107245707">Panthers vs 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/TvPanthers-vs-49ers-live-107245815">Panthers vs 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/GameTodayPanthers-vs-49ers-live-107245950">Panthers vs 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/onlineTvPanthers-vs-49ers-live-107246146">Panthers vs 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/FOX-Tv-Panthers-vs-49ers-gAme-Live-Stream-Football-107246625">Panthers vs 49ers game live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/WATCH-Tv-Panthers-vs-49ers-game-live-107246704">Panthers vs 49ers game live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/LIVEPanthers-vs-49ers-game-live-107246775">Panthers vs 49ers game live</a><br><a href="https://icma.org/sites/default/files/NewYYYYYork.pdf">Giants vs Cowboys Live</a><br><a href="https://icma.org/sites/default/files/4999999ers.pdf">49ers Game live</a><br><a href="https://icma.org/sites/default/files/pantttttthers.pdf">49ers Game live</a><br><a href="https://icma.org/sites/default/files/weeeeeeek-1.pdf">49ers Game live</a><br><a href="https://icma.org/sites/default/files/NFL%20Mobile%20app.pdf">Panthers vs 49ers game live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/live-watchLlive-Panthers-vs-49ers-live-streaming-107247315">Panthers vs 49ers live streaming</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/Game-pass2017-Panthers-vs-49ers-live-online-107247325">Panthers vs 49ers live streaming</a><br><a href="https://icma.org/sites/default/files/66666.pdf">Carolina Panthers vs San Francisco 49ers live streaming</a><br><a href="https://icma.org/sites/default/files/FuboTV.pdf">Panthers vs 49ers game live on FuboTV</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/GAME-Carolina-Panthers-vs-San-Francisco-49ers-live-107247017">Carolina Panthers vs San Francisco 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/NFL-LIVE-PASS-Carolina-Panthers-vs-San-Francisco-49ers-live-107247340">Carolina Panthers vs San Francisco 49ers live</a><br><a href="http://scout.com/nfl/jets/Board/103176/Contents/GAMEPASS-Carolina-Panthers-vs-San-Francisco-49ers-live-107247456">Carolina Panthers vs San Francisco 49ers live</a><br><a href="https://icma.org/sites/default/files/vuttuo.pdf">Panthers vs 49ers game live</a><br><a href="https://www.picatic.com/event15050729014072">San Francisco 49ers Game live</a><br><a href="https://icma.org/sites/default/files/LOPPYY.pdf">Panthers vs 49ers game live NFL Game Pas</a><br><a href="https://icma.org/sites/default/files/KAKABABU.pdf">Panthers vs 49ers game live NFL Game Pas</a><br><a href="https://icma.org/sites/default/files/gametime_watch__fox.pdf">Panthers vs 49ers game live NFL Game Pas</a></p> <br> <p data-swiftype-index="false">Posted to: to find a prime spot for fireworks viewing at the end of the day. | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121905" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/121905" class="replyLink">Post Reply</a></p> Mon, 11 Sep 2017 07:55:00 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121905 of the storm; Reuters reported that each of United https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121891 <p><a href="https://icma.org/sites/default/files/MMMMMMY.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/CCCCCCCCCCC.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="http://content.mobicip.com/content/live-gamepass-minnesota-vs-oregon-state-live-streaming-today">Minnesota vs Oregon State live streaming</a> <br /><a href="http://content.mobicip.com/content/fs1live-minnesota-vs-oregon-state-live-stream-now-watch-now-0">Minnesota vs Oregon State live streaming</a> <br /><a href="http://www.coastlab2018.com/sites/default/files/resumenes/RTV.pdf">Minnesota vs Oregon State live streaming</a> <br /><a href="http://www.coastlab2018.com/sites/default/files/resumenes/live%20tv.pdf">Minnesota vs Oregon State live streaming</a> <br /><a href="http://www.coastlab2018.com/sites/default/files/resumenes/HBO_0.pdf">Minnesota vs Oregon State live streaming</a> <br /><a href="http://www.coastlab2018.com/sites/default/files/resumenes/game%20paass%202017.pdf">Minnesota vs Oregon State live streaming</a> <br /><a href="https://icma.org/sites/default/files/DVD.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/COX.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/DVD.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/COX.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/OTP.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/OMG.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/PX.pdf">Minnesota vs Oregon State live stream</a> <br /><a href="https://icma.org/sites/default/files/NCC.pdf">Minnesota vs Oregon State live stream</a></p> <br /> <p data-swiftype-index="false">Posted to: of the storm; Reuters reported that each of United | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121891" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/121891" class="replyLink">Post Reply</a></p> Sun, 10 Sep 2017 14:11:35 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121891 Bland sees the offer of a free service as a ploy to cover liability. https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121881 <p><a href="http://scout.com/nfl/patriots/Board/103153/Contents/OnlineNew-Hampshire-vs-Georgia-Southern-live-107151722">New Hampshire vs Georgia Southern live</a> <br /><a href="https://icma.org/sites/default/files/Foxxxxxxxxxxxxxx.pdf">Arkansas vs TCU live Stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/kkkkkkkkk_0.pdf">Louisiana vs Tulsa live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/game_online.pdf">Louisiana vs Tulsa live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103153/Contents/LIvETvNew-Hampshire-vs-Georgia-Southern-live-107152006">New Hampshire vs Georgia Southern live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/mi-kisu-ja.pdf">Louisiana vs Tulsa live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/livestream-new-hampshire-vs-georgia-southern-live.pdf">New Hampshire vs Georgia Southern live</a> <br /><a href="https://icma.org/sites/default/files/YYYYYYYYY.pdf">Louisiana vs Tulsa live</a> <br /><a href="https://icma.org/sites/default/files/NCCCC2.pdf">Louisiana vs Tulsa live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/es3.pdf">Nebraska vs Oregon live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/week-3.pdf">Nebraska vs Oregon live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103153/Contents/Nebraska-vs-Oregon-live-Stream-2017-Football-107152727">Nebraska vs Oregon live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103153/Contents/ESPNNebraska-vs-Oregon-Live-Football-Online-Game-Day-107152731">Nebraska vs Oregon live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103153/Contents/WatchNebraska-vs-Oregon-live-107152735">Nebraska vs Oregon live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/newhampshire-vs-georgia-southern-live-stream-free.pdf">New Hampshire vs Georgia Southern live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/new_game.pdf">New Hampshire vs Georgia Southern live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/uuuu_0.pdf">New Hampshire vs Georgia Southern live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/kaki.pdf">Louisiana vs Tulsa live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/dowloadas_live.pdf">Louisiana vs Tulsa live streaming</a></p> <br /> <p data-swiftype-index="false">Posted to: Bland sees the offer of a free service as a ploy to cover liability. | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121881" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/121881" class="replyLink">Post Reply</a></p> Sun, 10 Sep 2017 08:00:46 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121881 if they’ve ever used Equifax’s products, which include https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121880 <p><a href="https://oehha.ca.gov/media/filefield_paths/hot_nca.pdf">Villanova vs Temple live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/game-09.pdf">Villanova vs Temple live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/fewh3.pdf">Villanova vs Temple live</a> <br /><a href="http://scout.com/nfl/patriots/Board/103153/Contents/LiveOnline-Stream-TCU-vs-Arkansas-TV-Football-107148855">TCU vs Arkansas live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/2fv3gr4.pdf">Villanova vs Temple live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/skylive_holl.pdf">indiana vs virginia live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ma_tv_hd_bujle.pdf">indiana vs virginia live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/gamepass.pdf">indiana vs virginia live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ai_ai_tora_tv_dike.pdf">indiana vs virginia live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/fubotv.pdf">TCU vs Arkansas live online</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/sooo3.pdf">tulane vs navy live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/put.pdf">tulane vs navy live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/savannah_live.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://icma.org/sites/default/files/KABU.pdf">tulane vs navy live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/o.r.g.pdf">TCU vs Arkansas live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/savannah_live.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/football_tv.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://icma.org/sites/default/files/CCCC.pdf">tulane vs navy live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/fantu.pdf">TCU vs Arkansas live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/v85.pdf">Villanova vs Temple live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/temple-vs-villanova-live-streaming.pdf">Villanova vs Temple live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/magi.pdf">Villanova vs Temple live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ballll.pdf">Villanova vs Temple live streaming</a>\ <br /><a href="https://oehha.ca.gov/media/filefield_paths/segrsdgs.pdf">Louisiana vs Tulsa live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/game_online_2017.pdf">Louisiana vs Tulsa live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/fox6.pdf">TCU vs Arkansas live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/pppp.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/oooo.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ffff.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://icma.org/sites/default/files/YOY.pdf">tulane vs navy live stream</a> <br /><a href="https://icma.org/sites/default/files/ESPN_0.pdf">tulane vs navy live stream</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ccccc.pdf">Savannah State vs Appalachian State live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/ounsto.pdf">indiana vs virginia live streaming</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/max.pdf">TCU vs Arkansas live</a> <br /><a href="https://oehha.ca.gov/media/filefield_paths/orge.pdf">TCU vs Arkansas live</a></p> <br /> <p data-swiftype-index="false">Posted to: if they’ve ever used Equifax’s products, which include | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121880" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/121880" class="replyLink">Post Reply</a></p> Sun, 10 Sep 2017 07:46:37 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121880 Data Extension config.yml vs _config.php https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121848 <p>Hi guys <br />is there a particular reason that the extensions may not get added via config.yml file but same extension is getting added fine via _config.php? i was trying to add an extra class to silvershop product class and while the extension was added initially then it suddenly failed to load via mysite/code/_config/config.yml until i moved it to the mysite/_config.php <br />thank you <br />Beshad</p> <br /> <p data-swiftype-index="false">Posted to: Data Extension config.yml vs _config.php | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121848" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/121848" class="replyLink">Post Reply</a></p> Mon, 04 Sep 2017 21:23:29 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/121848 Re: swfUpload Error "There was a problem with the upload. The server did not accept it." https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7883?start=8#post422965 <p>Does anyone know why I cannot get an mp4 file larger than 30M to upload? I'v had my IT guy increase the upload and post max file size to 75M and yet I cannot upload anything over 30M.</p> <br /> <p data-swiftype-index="false">Posted to: swfUpload Error &quot;There was a problem with the upload. The server did not accept it.&quot; | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7883?start=8#post422965" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/7883" class="replyLink">Post Reply</a></p> Fri, 12 May 2017 02:51:14 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7883?start=8#post422965 Re: Filtering / Searching DataObjects in the Front End https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/19306?start=8#post421764 <p>I know this topic is a few years old but was there any insight on this? I would also like to create a filter/search on dataobjects.</p> <br /> <p data-swiftype-index="false">Posted to: Filtering / Searching DataObjects in the Front End | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/19306?start=8#post421764" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/19306" class="replyLink">Post Reply</a></p> Mon, 27 Feb 2017 21:08:02 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/19306?start=8#post421764 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421320 <p>Actually Page::get() may give you more then SiteTree::get() because Page::get() will also return fields that are defined in the Page class, which SiteTree:: get() knows nothing about. </p><p>When using Page::get() silverstripe will automatically perform a join on the SiteTree table, so you get all fields from both tables...</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421320" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Wed, 08 Feb 2017 00:13:22 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421320 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421157 <p>Thanks martimiz, <br />That's just what I needed. <br />I didn't realise that using: <br /><div class="codesnippet"><p>Page::get</p></div> <br />gives me the same results as <br /><div class="codesnippet"><p>SiteTree::get</p></div> </p><p>Thank you for all your help.</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421157" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Tue, 07 Feb 2017 17:42:54 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421157 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421143 <p>Your question seems to be shifting a bit :) You were asking howto query the access field, and I suppose I answered that... Have you tried it? So with Page::get() instead of SiteTree::get() and the proper name of the CheckboxSetField?</p><p>And your situation is something like this (just that I get it right):</p><p>[EDIT FROM HERE]</p><p>User has levels 1, 2 <br>Page 1 has field Access containing 1, 4 (comma separated list)<br>Page 2 has field Access containing 2, 5<br>Page 3 has field Access containing 6, 7, 8</p><p>User can see page 1 and 2 but not 3?</p><p></p><div class="codesnippet"><p>$userArray = array(1,2);<br>$pages = Page::get()-&gt;filterAny(array( 'Access:PartialMatch' =&gt; $userArray));</p></div><p>Haven't tested, but under the hood this should do something like ... where Access like '%1%' or Access like '%2%'</p><p>(which will still go wrong if access levels rise above 9, but if that's not going to happen...)</p> <br> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421143" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Sat, 04 Feb 2017 05:07:50 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421143 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421140 <p>Thanks martimiz, you are correct in your assumption of "querying is checkboxSetField" and how it was set up. <br />Just to explain what I'm doing , I have some values that I am getting from an outside resource ( API call ) that determines what pages the user will be able to see. <br />For example I login as user and get Login levels from API call of 1 and 2. </p><p>In each page there is a list of access levels (checkboxSetField) that will be checked by the website admin, access levels 1 through 8. <br />So ideally I was to grab only the pages from SiteTree that are for this Login level, login level 1 and 2 to show only pages that have access checboxes 1 or 2 checked. </p><p>I hope this has made it a little clearer and not worse.</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421140" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Fri, 03 Feb 2017 12:31:48 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421140 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421136 <p>Ok... now I'm not sure if I get it this time, but it doesn't really matter what the name of a tab is - it's just a field holder. What you're querying is checkboxSetField I suspect. So supposedly you created something like this in the Page class: </p><p><div class="codesnippet"><p>private static $db = array('Access' =&gt; 'Varchar');</p></div> </p><p>And then created a CheckBoxSetField called 'Access' on your Page, then you should be able to query for it with something like </p><p><div class="codesnippet"><p>Page::get()-&gt;filter(array('Access:PartialMatch' =&gt; 2)):</p></div> </p><p>But note that this would find 2 as well as 12 :)</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421136" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Fri, 03 Feb 2017 11:15:52 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421136 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421134 <p>Thanks martimiz. <br />I think I may have led you astray slightly. <br /><div class="codesnippet"><p>$links = SiteTree::get("SiteTree", "ShowInMenus = 1")-&gt;filter(array('ParentID' =&gt; $arrID));</p></div> <br />Is my starting query that works but I need to query another field called access that is a checkbox field that stores it's data as a comma separated list. <br />So the extra query / filter would need to be something like this: <br /><div class="codesnippet"><p>-&gt;filter( array( '2' =&gt; 'access' ) )</p></div> <br />But this gives me an error </p><p>I have just tried <br /><div class="codesnippet"><p>-&gt;filter(array('access:PartialMatch' =&gt; '1'))</p></div> <br />But I get the error <strong>Unknown column 'access' in 'where clause'</strong> <br />This is a field added to a tab Root.Access on each page. How to I query the access field?</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421134" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Fri, 03 Feb 2017 10:40:04 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421134 Re: Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421131 <p>You should be able to explode the comma-separated list into an array $arrID and then </p><p><div class="codesnippet"><p>$links = SiteTree::get("SiteTree", "ShowInMenus = 1")-&gt;filter(array('ParentID' =&gt; $arrID));</p></div></p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421131" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Fri, 03 Feb 2017 04:09:10 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152#post421131 Filtering Dataobject on enum field https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152 <p>In the cms I have a list of checkboxes that store values as a comma separated string e.g. 1, 2, 8 <br />When getting the site tree I want to only select pages if they have a certain value in this field. <br />This is the query I'm currently using: <br /><div class="codesnippet"><p>$links = SiteTree::get("SiteTree", "ShowInMenus = 1")-&gt;filter('ParentID' , 21)</p></div> <br />I would like to extend this query with something like FIND_IN_SET('6',my_field) or my_field like "%6%" <br />How can I do this by adding another filter, I've looked at the Enum class but without any luck.</p> <br /> <p data-swiftype-index="false">Posted to: Filtering Dataobject on enum field | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/119152" class="replyLink">Post Reply</a></p> Thu, 02 Feb 2017 18:26:02 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/119152 Custom fields - HTMLText https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111986 <p>Hi, </p><p>I am trying to add a second content area using the following: </p><p>&lt;?php <br />class Publication extends Page { <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;private static $db = array ( <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'SideInfo' =&gt; 'HTMLText', <br />&nbsp;&nbsp;&nbsp;); <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;public function getCMSFields() { <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$fields = parent::getCMSFields(); <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$fields-&gt;addFieldToTab("Root.Content.RightContent", new HTMLEditorField('SideInfo')); </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return fields; <br />&nbsp;&nbsp;&nbsp;} <br />&nbsp;&nbsp;&nbsp; <br />} <br />class Publication_Controller extends Page_Controller { <br />} </p><p>But when I try to add a new page of that type, it creates the page but I get the message 'Internal server error'. So I am assuming there is something wrong with that code above ^ </p><p>Many thanks in advance</p> <br /> <p data-swiftype-index="false">Posted to: Custom fields - HTMLText | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111986" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/111986" class="replyLink">Post Reply</a></p> Mon, 23 May 2016 05:55:43 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111986 Re: Getting Parent (article) info into DataExtension. https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737#post413405 <p>Hi, </p><p>Considering there was no response what so ever, I decided to do things a bit differently. After extensive search in forums, I came up with following. </p><p>1. If there are several places you need to set up the gallery (that module I described <a href="https://github.com/frankmullenger/silverstripe-gallery">frankmullenger/gallery</a>), first set up one new config entry into <strong>gallery/_config/gallery.yaml</strong> <br /><div class="codesnippet"><p>UploadFolder: <br /> Folders: <br /> &lt;PAGE TYPE THE GALLERY GOES&gt;: "&lt;NEW FOLDER NAME&gt;*" <br /> &lt;PAGE TYPE THE GALLERY GOES&gt;: "&lt;NEW FOLDER NAME&gt;" <br /> Folder: <br /> - "&lt;NEW FOLDER NAME&gt;"</p></div> <br />where <span style="color:blue">*</span> will have sub folders described later. IF there will not be several places, you can just remove the <strong>Folders</strong> part till <strong>Folder</strong>. </p><p>If only one place, you can set up the folder name as what ever you like or do not change <strong>yaml</strong> file at all and all will be default (but in that case you do not need the second part of that tutorial as well). </p><p>2. Change/edit file <strong>gallery/code/Gallery.php</strong> so, that you would replace/change original <span style="color:blue">updateCMSFields</span> function as follows <br /><div class="codesnippet"><p>public function updateCMSFields(FieldList $fields){ <br /> $fields -&gt; addFieldToTab("Root.Gallery", $uploadImage = GalleryUploadField::create( <br /> "Images", <br /> "", <br /> $this -&gt; owner -&gt; OrderedImages() <br /> )); </p><p> // generate upload folder name <br /> $folders = Config::inst() -&gt; get("UploadFolder", "Folders"); <br /> $_className = Controller::curr() -&gt; currentPage() -&gt; ClassName; <br /> $_ID = Controller::curr() -&gt; currentPage() -&gt; ID; <br /> $_Created = date("Y-m-d", strtotime(Controller::curr() -&gt; currentPage() -&gt; Created)); </p><p> $folder = Config::inst() -&gt; get("UploadFolder", "Folder"); <br /> $folder = (!isSet($folder) &amp;&amp; empty($folder))?"Uploads":$folder; </p><p> if(!empty($folders)){ <br /> foreach($folders AS $_key =&gt; $_val){ <br /> if($_key == $_className) $folder = ($_key == "NewsPage")?"{$_val}/{$_ID}-{$_Created}":$_val; <br /> } <br /> } <br /> $uploadImage -&gt; setFolderName($folder); <br /> }</p></div> </p><p>And cause for news page I wanted each news to be in separated folder (images) then there will be the sub folder part I mentioned before, contains name from ID and date created. </p><p>That should eventually cover all the bases - starting from multiple location, multiple upload folders, ending with single location (if yaml file will not be changed). </p><p>That's it. Thank you :)</p> <br /> <p data-swiftype-index="false">Posted to: Getting Parent (article) info into DataExtension. | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737#post413405" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/111737" class="replyLink">Post Reply</a></p> Thu, 05 May 2016 20:06:59 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737#post413405 Getting Parent (article) info into DataExtension. https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737 <p>Hi. </p><p>I'm very new on SS (working on first page) and I stumbled upon very weird situation. </p><p>For news page, client wanted the gallery, so I downloaded one <a href="https://github.com/frankmullenger/silverstripe-gallery">frankmullenger/gallery</a>. Now that one has small thing I wanted to change without any "change" to actual module due to update possibilities: upload folder and try to make it also dynamical. </p><p>Idea is simple - use <strong>setFolderName("news/subfolder")</strong> - where <em>subfolder</em> is changing based on URLSegment of the specific article/page. <br />So I came up with solution that I created the new class inside the page code: <br /><div class="codesnippet"><p>class GalleryModule_PageExtension extends Gallery_PageExtension{ <br /> public function updateCMSFields(FieldList $fields){ <br /> $fields -&gt; removeFieldFromTab("Root.Gallery", "Images"); </p><p> $fields-&gt;addFieldToTab('Root.Gallery', $newsImage = GalleryUploadField::create( <br /> 'Images', <br /> '', <br /> $this-&gt;owner-&gt;OrderedImages() <br /> )); <br /> $newsImage -&gt; setFolderName("News-Images/".&lt;WANT_URLSegment_HERE&gt;); <br /> } <br />}</p></div> <br />what then extends the part where files input is created so, that it will remove the default, creates new and adds the folder name (that seamed like most reasonable way to do it). So far so good (no problems there), added into yaml file of extension the necessary info for that specific class. </p><p>Now problem starts, when trying to get the URLSegment part for that specific article/news (Gallery is as a tab for that news). What ever I try, I either get an error of that method not allowed or browsers 500 error page. </p><p>Any ideas or suggestion how to resolve that issue? </p><p>Thank you.</p> <br /> <p data-swiftype-index="false">Posted to: Getting Parent (article) info into DataExtension. | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/111737" class="replyLink">Post Reply</a></p> Fri, 18 Mar 2016 05:02:01 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/111737 Re: DataObject + TranslatableDataObject + ModelAdmin https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405313 <p>Hmm, it should work but just in case: try setting the extensions via the YML config </p><p>Also, have you added translation content for the locale that isn't the default? You need to add this via the CMS first before it will load - otherwise it will probably just default to the default locale.</p> <br /> <p data-swiftype-index="false">Posted to: DataObject + TranslatableDataObject + ModelAdmin | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405313" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104632" class="replyLink">Post Reply</a></p> Wed, 19 Aug 2015 02:51:04 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405313 Re: DataObject + TranslatableDataObject + ModelAdmin https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405304 <p>I'm so sorry - no go. It did not help.</p> <br /> <p data-swiftype-index="false">Posted to: DataObject + TranslatableDataObject + ModelAdmin | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405304" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104632" class="replyLink">Post Reply</a></p> Tue, 18 Aug 2015 11:13:04 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405304 Re: DataObject + TranslatableDataObject + ModelAdmin https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405294 <p>Ensure to have Translable module installed too, and to set_default_locale, not just set_locale. </p><p><a href="https://github.com/silverstripe/silverstripe-translatable/blob/master/docs/en/index.md">https://github.com/silverstripe/silverstripe-translatable/blob/master/docs/en/index.md</a> </p><p>I'm not too experienced with these modules, but it looks like it should work. The best way is to try it and see :)</p> <br /> <p data-swiftype-index="false">Posted to: DataObject + TranslatableDataObject + ModelAdmin | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405294" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104632" class="replyLink">Post Reply</a></p> Mon, 17 Aug 2015 22:54:52 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632#post405294 DataObject + TranslatableDataObject + ModelAdmin https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632 <p>It's SS 3.1.13, Translatable 2.0.8 and TDO dev-master. <br />I have two DO classes: "Facility" ($has_one) and "FacilityType" ($has_many) with which I chose to be managed in ModelAdmin (as they are global properties of the site owner). I cannot however get TranslatableDataObject extension to enable translation for them, despite reading carefully the setup instructions: <a href="https://github.com/bummzack/translatable-dataobject">https://github.com/bummzack/translatable-dataobject</a> </p><p>Here's my config: <br />// Set the site locale <br />i18n::set_locale('en_US'); </p><p>SiteConfig::add_extension('Translatable'); </p><p>// Set allowed locales <br />Translatable::set_allowed_locales(array('en_US', 'pl_PL')); <br />TranslatableDataObject::set_locales(array('en_US', 'pl_PL')); <br />Facility::add_extension("Translatable"); <br />Facility::add_extension("TranslatableDataObject"); // tried "TranslatableDataObject('Title')" as well <br />FacilityCategory::add_extension("Translatable"); <br />FacilityCategory::add_extension("TranslatableDataObject"); </p><p>Could anyone please confirm that this setup should or won't work for me?</p> <br /> <p data-swiftype-index="false">Posted to: DataObject + TranslatableDataObject + ModelAdmin | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104632" class="replyLink">Post Reply</a></p> Sun, 16 Aug 2015 21:27:57 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104632 Re: Error https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369#post404878 <p>If you're using v3.1, they need to be private static. <br />never ?&gt; on pure PHP files.</p> <br /> <p data-swiftype-index="false">Posted to: Error | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369#post404878" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104369" class="replyLink">Post Reply</a></p> Wed, 12 Aug 2015 22:22:23 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369#post404878 Error https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369 <p>Hi I have got a error in this code. <br />I don't know what the error is. <br />But if someone can take a look and see what the error is, and let me know that would be great. </p><p>Thanks </p><p>&lt;?php <br />class Services extends Page { </p><p>public static $has_many = array( <br />&nbsp;&nbsp;&nbsp;'Servo' =&gt; 'ServicePart' <br />&nbsp;&nbsp;&nbsp;); </p><p>public function getCMSFields() { <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$f = parent::getCMSFields(); </p><p> $config = GridFieldConfig_RecordEditor::create(); </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//$config = GridFieldConfig_RelationEditor::create(); <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p><p> $servicetext = new GridField("Servo", "Servo", $this-&gt;Servo(), $config); <br /> $f-&gt;addFieldToTab('Root.Events', $servicetext); <br /> // &nbsp;&nbsp;&nbsp;$f-&gt;addFieldToTab('Root.Main', new TextField('Head'), 'Content'); <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p><p> return $f; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;} </p><p>} </p><p>class Services_Controller extends Page_Controller { </p><p> public function init() { <br /> parent::init(); <br /> } </p><p>&nbsp;&nbsp;&nbsp; <br />} </p><p>&lt;?php <br />class ServicePart extends DataObject { </p><p> public static $db = array( <br /> 'HeadingService' =&gt; 'Text', <br /> 'DescriptionText' =&gt; 'Text' <br /> ); </p><p> public static $has_one = array( <br /> 'Page' =&gt; 'Page', <br /> 'Image' =&gt; 'Image' <br /> ); </p><p> public function getCMSFields() { <br /> $f = new FieldList(); </p><p> $f-&gt;push( new TextField('HeadingService', 'Heading for service') ); <br /> $f-&gt;push( new TextField('DescriptionText', 'Description for service') ); </p><p> return $f; <br /> } <br /> } <br /> ?&gt;</p> <br /> <p data-swiftype-index="false">Posted to: Error | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/104369" class="replyLink">Post Reply</a></p> Wed, 12 Aug 2015 14:06:04 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/104369 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403099 <p>We are helping you fix it. <br />Are img tags being output to the html? <br />If so, what happens if you try to open the link directly?</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403099" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 22 Jul 2015 21:59:44 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403099 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403094 <p>Thanks Pyromanik for your reply <br />I tried what you said and it still does not work. <br />The images are not appearing on the web pages?? <br />Can someone please help me fix this</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403094" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 22 Jul 2015 13:29:54 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403094 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403031 <p>Inspect the HTML that is output. <br />A the very beginning, it should look something like: <br /><div class="codesnippet"><p>&lt;!DOCTYPE html&gt; <br />&lt;html lang="..."&gt; <br />&lt;head&gt; <br />&lt;base href="http://yoursite.com/ssinstall/" /&gt;</p></div> <br />If it does not, then you need to add to your template, as the very first thing inside the &lt;head&gt; tag: <br /><div class="codesnippet"><p>&lt;% base_tag %&gt;</p></div> <br />This is very important in SilverStripe as all paths are given relative to the install root.</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403031" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 15 Jul 2015 21:49:13 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403031 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403022 <p>Hi </p><p>Thanks for your reply. <br />What is this base tag? <br />Can you please write the code out for me? </p><p>Thanks <br />Robert</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403022" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 15 Jul 2015 13:01:20 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post403022 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402968 <p>If you open your dev tools in Chrome and look at what's happening in the Network tab when the browser tries to load images you might find some clues there. </p><p>Are other static resources like javascript files loading okay? </p><p>Do you have a &lt;% base_tag %&gt; in the head section of your Page.ss template?</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402968" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Thu, 09 Jul 2015 05:23:15 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402968 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402962 <p>Yes you need to look at the webserver's configuration. This is cannot be a silverstripe issue if _ALL_ images are missing.</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402962" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 08 Jul 2015 21:11:46 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402962 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402954 <p>Hi <br />I turned off the add blocking on the browser and it still does not work. <br />No images appear on the web pages. <br />Any idea how to fix? </p><p>Thanks</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402954" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 08 Jul 2015 12:15:15 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589?start=8#post402954 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402887 <p>Do you have images enabled in the browser? Is some addon blocking it for that site? <br />Otherwise look at your web server's configuration (particularly around the rewrite rules).</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402887" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Sun, 05 Jul 2015 20:55:55 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402887 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402884 <p>Yes thats right. <br />No image appears on the web pages regardless, whether it is part of the theme or module. <br />No images appear, not from the Grid Field or from the image folder?? <br />Do you how I can fix this?</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402884" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Sun, 05 Jul 2015 18:14:20 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402884 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402877 <p>So no image appears on any page, regardless of whether it was uploaded as a user supplied asset or is part of a theme or module?</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402877" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Sun, 05 Jul 2015 06:44:50 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402877 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402869 <p>I am running it local on MAMP. <br />I can't find any information about this problem. <br />Does anyone know why the images are not appearing on the web pages? </p><p>Thanks</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402869" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Sat, 04 Jul 2015 14:13:51 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402869 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402856 <p>Depends on your setup. <br />Usually a control panel will let you do it (if you have one, like plesk, cpanel, etc). <br />Or you'll have to google "Apache set permissions to access a directory"</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402856" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Fri, 03 Jul 2015 22:39:40 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402856 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402844 <p>How do I fix the permissions?</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402844" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Fri, 03 Jul 2015 11:37:23 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402844 Re: Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402821 <p>Fix permissions probably.</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402821" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 01 Jul 2015 20:51:08 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589#post402821 Images not loading on web page https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589 <p>Hi </p><p>None of the images are loading on the web pages. <br />Not even the ones from the GridField. <br />Does anyone know how to fix this, so images can load on the web pages?? </p><p>Thanks <br />Robbo</p> <br /> <p data-swiftype-index="false">Posted to: Images not loading on web page | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/102589" class="replyLink">Post Reply</a></p> Wed, 01 Jul 2015 17:38:25 +1200 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/102589 Re: DataObjectManager & SS 2.3.2 (rc) & Translatable https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7206#post400720 <p>try adding this to your controller? </p><p>&nbsp;&nbsp;&nbsp;/** <br />&nbsp;&nbsp;&nbsp; * Default URL handlers - (Action)/(ID)/(OtherID) <br />&nbsp;&nbsp;&nbsp; */ <br />&nbsp;&nbsp;&nbsp;private static $url_handlers = array( <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'$Action//$ID/$OtherID/$Version' =&gt; 'handleAction', <br />&nbsp;&nbsp;&nbsp;); </p><p>or whatever YOU want to handle ... e.g. </p><p>&nbsp;&nbsp;&nbsp;/** <br />&nbsp;&nbsp;&nbsp; * Default URL handlers - (Action)/(ID)/(OtherID) <br />&nbsp;&nbsp;&nbsp; */ <br />&nbsp;&nbsp;&nbsp;private static $url_handlers = array( <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'$Action//$argument1/$argument2/$argument3/$argument5/$etc..' =&gt; 'handleAction', <br />&nbsp;&nbsp;&nbsp;); </p><p>see: <a href="https://github.com/sunnysideup/silverstripe-ecommerce/blob/master/code/control/ShoppingCart_Controller.php">https://github.com/sunnysideup/silverstripe-ecommerce/blob/master/code/control/ShoppingCart_Controller.php</a> for an example. </p><p>Worked a charm for me.</p> <br /> <p data-swiftype-index="false">Posted to: DataObjectManager &amp; SS 2.3.2 (rc) &amp; Translatable | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7206#post400720" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/7206" class="replyLink">Post Reply</a></p> Sun, 15 Mar 2015 13:18:57 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/7206#post400720 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385089 <p>Hi</p><p>In this directory, no.<br>C:\wamp\www\[project name]\SilverStripe\assets</p><p>I have a .htaccess file, but no web.config</p> <br> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385089" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Sat, 22 Nov 2014 02:39:29 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385089 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385061 <p>WAMP... So you are on Windows? Do you by any chance have a web.config file in your assets directory? If so, you might have to add your file-extension there as well...</p> <br /> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385061" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Sat, 22 Nov 2014 02:23:32 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385061 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385055 <p>Okay, I added that line: File::$allowed_extensions[] = 'HOL';<br>to both \mysite\_config.php and \cms\_config.php</p><p>Restarted all WAMP services</p><p>Re-initialised the website with a ?flush=1</p><p>Tried uploading both a real .HOL file and a text file re-named with a .HOL extension</p><p>Still getting the "There was a problem with the upload. The server did not accept it." error. :-(</p><p>What else can I try??</p> <br> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385055" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Fri, 21 Nov 2014 22:40:24 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post385055 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384971 <p>I replayed this on a local 2.4.2 site I still have and for me this (in mysite/_config.php) just worked:</p><p></p><div class="codesnippet"><p>File::$allowed_extensions[] = 'HOL';</p></div> <p>(on a renamed textfile) I was kind of hoping it wouldn't, so I could help find a solution... Reloaded the CMS, then tried a default File section upload and one using the ImageField. No issues whatsoever, sorry :(</p><p>[edit:] this was with DataObjectManager and Uploadify...</p> <br> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384971" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Fri, 21 Nov 2014 06:13:57 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384971 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384970 <p>Hi Martimiz </p><p>I posted here because there were other similar questions posted in this section. If there's a more appropriate section, please let me know. </p><p>We're using version 2.4.0 </p><p>The topic you linked to wouldn't have really helped. I don't want to 'restrict' uploads to just certain file types; I want all currently allowed filetypes to still be allowed, but I want to make .HOL filetypes allowable as well. </p><p>Any thoughts?</p> <br /> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384970" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Fri, 21 Nov 2014 05:01:06 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384970 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384969 <p>Maybe because you posted it in the DataObjectManager section - a SilverStripe 2 module? :) </p><p>You're not mentioning your SilverStripe version, but if it's 3, this may help: <a href="http://www.silverstripe.org/community/forums/general-questions/show/20187">http://www.silverstripe.org/community/forums/general-questions/show/20187</a></p> <br /> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384969" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Fri, 21 Nov 2014 04:43:09 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384969 Re: How do I get SS to allow filetype HOL to be uploaded? https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384966 <p>&lt;bounce&gt; </p><p>Really, is this so difficult literally nobody knows how to do it? </p><p>:-)</p> <br /> <p data-swiftype-index="false">Posted to: How do I get SS to allow filetype HOL to be uploaded? | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384966" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85178" class="replyLink">Post Reply</a></p> Fri, 21 Nov 2014 01:35:16 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85178#post384966 Re: ManyManyDataObjectManager Erro 'Allowed memory size' https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384761 <p>Does it have no way to do, right? Anyway thank martimiz alot.</p> <br /> <p data-swiftype-index="false">Posted to: ManyManyDataObjectManager Erro &#039;Allowed memory size&#039; | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384761" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85924" class="replyLink">Post Reply</a></p> Thu, 20 Nov 2014 16:12:59 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384761 Re: ManyManyDataObjectManager Erro 'Allowed memory size' https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384749 <p>Based on your code I'm thinking this is caused by a never ending loop, because of the Products class many_many relation to itself. Maybe the ComplexTableField can handle this but the ManyManyDataObjectManager just gets lost in repeating itself somewhere? </p><p>I guess you are using SilverStripe 2.4 or older - version 2.4 is no longer supported and I don't think UnleCheese is still actively monitoring the DataObjectManager. So if you're still developing, I'd suggest upgrading to 3.1 if at all possible.</p> <br /> <p data-swiftype-index="false">Posted to: ManyManyDataObjectManager Erro &#039;Allowed memory size&#039; | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384749" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/reply/85924" class="replyLink">Post Reply</a></p> Thu, 20 Nov 2014 02:42:48 +1300 https://www.silverstripe.org/community/forums/dataobjectmanager-module-forum/show/85924#post384749