71
RiazShahid
Does smart section 2.14 not properly work with latest xoops?

I think smart section is the best ever released article module, for which I haven't find any alternate so far.
I am trying to use it with xoops 2.4.5
I think its "editors" are not compatible with this/latest version of xoops.
I selected all the available editors in preferences of smart section, but none of them shows up except the simple html/dhtml editor. So formatting is a big concern using this module now.
Any solution please?



72
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Yes did that, even checked in ie, firefox, chrome, result is same. with no additional font showing in drop down list.
What about other modules? Which file is required to modify for smart section? so that I might try it out there.

Thanks



73
RiazShahid
Re: Adding new font to Mastop Publish 1.1

I modified the said file too with the same way.
/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js
But the font names are not being shown yet, though I can use this font while copy pasting and all the fonts I have installed are showing correctly in the browser too.

What if I have some other modules using tinymce, should this change affect the editor used under other modules too?

I checked but its not working there and I can't paste text in these fonts in modules other than mastop publish...
Even in AMS module there are fewer fonts available in the list than usual, in the same tinymce editor?
why so? Any solution please?
Does editors have separate files for every module?



74
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Well, you know i have modified
/class/xoopseditor/tinymce/language/english.php
which is just associated to tinymce editor, not to any of the modules. So I think tinymce editor should show the new fonts in all modules, which it is not showing. Why so?
Here is what is shows in mastop publish

http://i51.tinypic.com/2wch6i1.jpg



75
RiazShahid
Re: Adding new font to Mastop Publish 1.1

redheadedrod........ you are absolutely right and thanks a lot for writing in detail.
Now I can copy/paste text from MS word using this font and its appearing on the web as well. So the actual work required has been done, though it is still not being shown in the drop down menu of the editor (in the list of font). Now did the following modification, I still made any mistake? I just copied the lines you wrote in previous thread.
Quote:

// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
define("_XOOPS_EDITOR_TINYMCE_FONTS", "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Jameel Noori Nastaleeq = Jameel Noori Nastaleeq, arial, sans-serif; Nafees Web Naskh = Nafees Web Naskh, arial, sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
?>



76
RiazShahid
Re: Adding new font to Mastop Publish 1.1

In /class/xoopseditor/tinymce/language/english.php file
I added following font names
Quote:

// FONT LIST, FORMAT: "Name=value1,value2;Name=value"
define("_XOOPS_EDITOR_TINYMCE_FONTS", "Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial, Jameel Noori Nastaleeq, Nafees Web Naskh,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings");
?>


The new fonts I want to add are Jameel Noori Nastaleeq, Nafees Web Naskh, but these are not being shown in the list of available fonts.



77
RiazShahid
Re: Adding new font to Mastop Publish 1.1

any suggestion from Mamba or ghia?



78
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Well, browser already knows it, as I can see this font on other websites.



79
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Hello redheadedrod!
Yes of course and I well understood it. But its even not showing for me, so that's the issue. For new users I will ask them to install that font and that's not too much rare, its a unicode font and in our country a lot of people already have it installed.
In any sense I have installed it in my PC and I see this font on other forum websites, but its not being shown in my xoops website, though I edited the above said file.



80
RiazShahid
Re: Adding new font to Mastop Publish 1.1

Thanks a lot ghia!
I have modified "english.php" file in
/class/xoopseditor/tinymce/language/

I added the new font names required, uploaded and replaced the said file on server. But on website its still same as before with no change and its not showing the names of newly added fonts.
My "Check templates for modifications ?" is already "ON"
Any suggestion please......




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 23 »



Login

Who's Online

185 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits