-
AuthorPosts
-
questbg Friend
questbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
June 19, 2008 at 7:22 am #129858Hi 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_customer2. 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
ChrisMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 19, 2008 at 7:40 am #254578You 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>
1 user says Thank You to Menalto for this useful post
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
June 19, 2008 at 8:01 am #254588Hi 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 Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
June 19, 2008 at 8:04 am #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 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
June 19, 2008 at 8:23 am #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 FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 19, 2008 at 8:30 am #254605It should do, when you turn it off there you turn it off sitewide.
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
June 19, 2008 at 8:56 am #254612It 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 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
June 19, 2008 at 10:23 am #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 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
June 19, 2008 at 10:26 am #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 Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
June 19, 2008 at 12:35 pm #254654Not 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.
1 user says Thank You to questbg for this useful post
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
June 19, 2008 at 1:15 pm #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
-
AuthorPosts
This topic contains 13 replies, has 4 voices, and was last updated by cndglobal 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum