The thermal stability and the temperature and wavelength dependences of light transmission of poly(n-alkyl methacrylates) (PMA-i) (i = 1, 2, 4, 8, 10), poly(2-ethylhexyl acrylate) and polystyrene synthesized in porous glass matrices have been studied. The thermally controlled light scattering and elevated thermal stability of polymers in porous matrices were found. In the composition of comblike polymers with a porous matrix, the orientational ordering of side-groups, absent in the free state, was observed. It is shown that the transition into the disordered state is a first-order phase transition with a thermal effect characteristic of a transition from the liquid-crystalline into the isotropic phase.