7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Bug Reports
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 37789 Views |
-
Re: Bug Reports

4 April 2011 at 2:19pm
Hi Uncle Cheese,
I documented what I think is a bug here http://www.silverstripe.org/dataobjectmanager-module-forum/show/16435 before I realised there was a separate thread for that.
Cheers
-
Re: Bug Reports

8 April 2011 at 7:48pm
@mdaum, could you check the "file" table in your db?
are the foldernames/paths correct?i had the same issue and when i checked the db i noticed that the paths did not match.
-
Re: Bug Reports

3 June 2011 at 9:21pm
3 june 2011 - DataObjectmanager - live /Dev mode diferences?
I am using silverstripe 2.4.5 with DataObjectManager-master-HEAD
If the site is in dev mode my SimpleHTMLEditorField shows up
If the site is in live mode my SimpleHTMLEditorField doesn't show up
I looked at the popup frame and there are differnces
these being<!-- dev -->
<script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/prototype/prototype.js?m=1307087338"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/behaviour/behaviour.js?m=1307087303"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/prototype_improvements.js?m=1307087258"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/i18n.js?m=1307087255"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/lang/en_US.js?m=1307087257"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/Validator.js?m=1307087264"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/jquery/jquery.js?m=1307087311"></script><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/dataobject_manager/javascript/jquery.wysiwyg.js?m=1307090247"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/scriptaculous/scriptaculous.js?m=1307087340"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/scriptaculous/controls.js?m=1307087339"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/layout_helpers.js?m=1307087257"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/ComplexTableField_popup.js?m=1307087254"></script><!-- where as live gives -->
<script type="text/javascript" src="http://www.micromaterials.co.uk/assets/_combinedfiles/base.js?m=1307077844"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/lang/en_US.js?m=1305537654"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/Validator.js?m=1305537658"></script><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/dataobject_manager/javascript/jquery.wysiwyg.js?m=1307021392"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/thirdparty/scriptaculous/scriptaculous.js?m=1307029998"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/assets/_combinedfiles/leftandmain.js?m=1307077847"></script><script type="text/javascript" src="http://www.micromaterials.co.uk/sapphire/javascript/ComplexTableField_popup.js?m=1305537653"></script>don't think you need this for diagnosis but
myside/code/banner.php cmsfields relevant extract
new SimpleHTMLEditorField('BannerContent','HTML')
--
eg full code extract
function getCMSFields(){
$source = DataObject::get("SiteTree");
$optionArray = $source->toDropDownMap($index = 'ID', $titleField = 'Title', "--- select page ---", $sort = "Sort");
if($source) foreach( $source as $page ) {
$optionArray[$page->ID] = $page->MenuTitle;
}
$fields = new FieldSet(
//new DropdownField("AllSameASID","Set Links Same As",$optionArray),
new ImageField('bannerimage','bannerimage'),
new CheckboxField("sizebywidth", "LEAVE MY IMAGE Alone!! (disables auto resize on this image)"),
new TextField('BannerAlt', 'Imag Alt'),
new SimpleHTMLEditorField('BannerContent','HTML'),new DropdownField("bannerurlID","Link To Page",$optionArray)
);return $fields;
}
I can see there are diference is JS includes but how would i solve
-
Re: Bug Reports

23 July 2011 at 2:27am
I have a manymanyDOM setup that uses $Manager->setOnlyRelated(true); That works as expected until I set permissions with something like this $Manager->setPermissions(array('add','edit')); When that's added the checkbox for "Show only related records" disappears. Any idea why, or how I can fix that?
| 37789 Views | ||
| Go to Top |



