test
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • questbg Friend
    #129858

    Hi Everyone

    I want to add a bit of ‘custom HTML’ to the top of the site.

    What I’ve done so far:
    1. Created a new module type mod_customer

    2. Assigned this to User4 position as I want this up near the login info, etc.

    3. Typed the code I wanted in the editor starting with <HTML> and ending with </HTML>

    4. Changed Enabled to Yes

    5. Saved

    Problem is, when I preview the page, I get the code showing all over the place, not the actual ‘item’ I should have got with the code I entered!

    What I want to do is put a ‘Google Translate’ on there for a few days so I can demo the site to a potential client. If all goes well, I can remove it and go back to BabelFish, but I really need it up there!!

    Any ideas what’s gone wrong?

    I also embedded the same code in a Web Editor program and published, it worked fine:
    http://www.questbg.com/googtranstest.html,

    I just can’t get it to work via the Module?

    Of course, this is the first time I try a ‘custom module’ so maybe I’m doing something stupid again :-[

    As ever, any assistance greatly appreciated.
    Thanks
    Chris

    Menalto Friend
    #254578

    You should turn off the WYSIWYG editor in Global COnfigurations first.
    Go to the admin panel>Site>Global Configuration and set Default WYSIWYG Editor to Editor- No editor, you find it under the Site tab.
    Then you can go back and add this code here in the Custom Output field:

    <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=160&h=60&title=&border=&output=js"></script>

    cgc0202 Friend
    #254588

    Hi Chris,

    Did you check the Joomla extensions site. There are extensions that allow you to add html, php or other customs scripts. I have not done it yet myself. However, if you use any of these extensions, make sure that they are not accessible to users (not interactive), or the extension you select took these precautions, if ineractive. Otherwise they could be ports of entry for attack to your site — based from what I read.

    Cornelio

    questbg Friend
    #254590

    <em>@Menalto 60267 wrote:</em><blockquote>You should turn off the WYSIWYG editor in Global COnfigurations first.
    Go to the admin panel>Site>Global Configuration and set Default WYSIWYG Editor to Editor- No editor, you find it under the Site tab.
    </blockquote>

    Thanks Menalto … Brilliant! 😎

    cgc0202 Friend
    #254602

    <em>@Menalto 60267 wrote:</em><blockquote>You should turn off the WYSIWYG editor in Global COnfigurations first.
    Go to the admin panel>Site>Global Configuration and set Default WYSIWYG Editor to Editor- No editor, you find it under the Site tab.
    Then you can go back and add this code here in the Custom Output field:

    <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=160&h=60&title=&border=&output=js"></script>
    </blockquote>

    Hi Menalto,

    Turning off the WYSIWYG in the global configuration will not affect the Editor in the Articles Editor when you edit an article?

    Cornelio

    Menalto Friend
    #254605

    It should do, when you turn it off there you turn it off sitewide.

    questbg Friend
    #254612

    It did turn it off site wide. All I did was save the HTML module with it off, then switched it back by selecting TinyMCE 2.0 as editor and this then worked for the Article Manager!

    Seems to work fine switching it like that!

    Off for custom HTML, on for articles … good enough for me! 😉

    cgc0202 Friend
    #254635

    <em>@Menalto 60294 wrote:</em><blockquote>It should do, when you turn it off there you turn it off sitewide.</blockquote>

    Hi Menalto,

    So, how do you go around this? Can you choose another Editor for the Articles Edit?

    Cornelio

    cgc0202 Friend
    #254636

    <em>@questbg 60302 wrote:</em><blockquote>It did turn it off site wide. All I did was save the HTML module with it off, then switched it back by selecting TinyMCE 2.0 as editor and this then worked for the Article Manager!

    Seems to work fine switching it like that!

    Off for custom HTML, on for articles … good enough for me! ;)</blockquote>

    Chris,

    It did not affect the one you added?

    Cornelio

    questbg Friend
    #254654

    Not at all. Switched it off ‘globally’, enterened HTML into the module and published. Everything worked fine. Switched it back on afterwards to continue with articles, again, everything fine.

    Custom module still working well, articles, still working well.

    Seems the way to go for me. Switch it off for any HTML work, switch it back on afterwards for articles.

    cgc0202 Friend
    #254659

    <em>@questbg 60346 wrote:</em><blockquote>Not at all. Switched it off ‘globally’, enterened HTML into the module and published. Everything worked fine. Switched it back on afterwards to continue with articles, again, everything fine.

    Custom module still working well, articles, still working well.

    Seems the way to go for me. Switch it off for any HTML work, switch it back on afterwards for articles.</blockquote>

    Thanks Chris,

    I will try to remember this. I do not have immediate use right now, but who knows.

    For better archival, I am creating a summary of solved postings so that it is easy for customers to locate them.. It beats scrolling scrolling through the Forum sections everytime we want to find if our question has been answered before. Sometimes the search option does not get all of them.

    Can you please add the link to this post in the appropriate thread (From what I remember about your preference, it would be Joomla 1.5x):

    for Joomla 1.5x
    Links to solved problems known bugs of Joomla 1.5x-JA Teline II
    http://www.joomlart.com/forums/topic/links-to-solved-problems-known-bugs-of-joomla-1-5x-ja-teline-ii/

    for Joomla 1.0x
    Links to solved problems known bugs of Joomla 1.0x-JA Teline II
    http://www.joomlart.com/forums/topic/links-to-solved-problems-known-bugs-of-joomla-1-0x-ja-teline-ii/

    Since some threads could be very long, can you please provide the following:

    1. Original post heading:
    2. Link
    3. Your name (username)
    4. Summary:
    a. Brief description of the problem or question and desired goal
    b. Proposed solution to the problem that worked
    c. Please provide an image capture of the before and after, if possible.

    Without any Manual, How To’s or FAQ, the database of these solved problems may go a long way to help each other.

    Thanks,

    Cornelio

    questbg Friend
    #254662

    Good idea Cornelio … done!! 😀

    cndglobal Friend
    #321844

    turning off tinymce gave me a 500 error
    how do i turn off without error?
    Thanks
    cnd

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 4 voices, and was last updated by  cndglobal 15 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum