Good time of the day.
Please tell me how to add the website template file .htm
Termin wrote:Good time of the day
<a href="../../php5/PHPDOCX.htm" onClick="NewWindow(this.href,'name','600','600','yes');return false"><p>ЧИТАТЬ</p></a>
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}</script>Termin wrote:The template is connected file content.htm I need to connect to the template of another file myfile.htm
cmb wrote:So it is not possible to just use an arbitrary html file as replacement for content.htm.
cmb wrote:Include the body of myfile.htm directly to content.htm with the CMSimple editor.
cmb wrote:This could be easily done with the Wrapper plugin.
Termin wrote:content.htm crowded!
Termin wrote:Plug-ins are very poorly made my opinion.
cmb wrote:Are you referring to the plugin system or to individual plugins?
Termin wrote:Plug-ins are very poorly made my opinion.
cmb wrote:Are you referring to the plugin system or to individual plugins?
Termin wrote:All except the system.
cmb wrote:So if you're going to use it the way I've described above, you have to sort the pseudo-languages out in languagemenu().
function languagemenu() {
... // same as it was
while (($p = @readdir($fd)) == true ) {
if (@is_dir($pth['folder']['base'].$p)) {
if (preg_match('/^[A-z]{2}$/', $p)
&& !in_array($p, array('my', 'pseudo', 'languages')) // replace the strings with the names of your "special" language folders
$r[] = $p;
}
}
... // same as it was
Termin wrote:but it will be described in Russian language!
Users browsing this forum: No registered users and 0 guests