In reference to your "Addon:", the code you have changed in mod/resource/lib.php is as follows:
if( %CFG->resource_framesize not set) then
set $CFG->resource_framesize to a value (e.g. 130 or 60)
end
Changing this value will not have an immediate effect as the value already has a value (e.g. 130) and line 1 is testing that and skipping line 2.
If you reboot your machine (or possibly only the php system) then it will pick up your new value the next time lib.php is read. Alternatively, copy line 2 and paste it temporarily after the end if statement (so it will always set the value), then "view" your resource. Once it has pickedup the new value (as refected by viewing the resource, remove line 4 again) and let line 2 do the business in future.
The reason for checking to see if it is set BEFORE setting it is because it is much more efficient to do this.
Resource types
Ressources without abstracts?
This discussion has been locked so you can no longer reply to it.