Widget

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Widget

Post by fxsac11 » Wed Apr 09, 2014 11:56 pm

Hello all,
I need to insert a live widget to my website, but it can not be done at all, is there any detailed way to do it, I have URL of the widget
Thank you

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 12:20 am

if it's html code, you can just toggle the editor (or click for html view in the editor) and paste the html into an article or a custom html module.

if it is some other type of code, it may work the same way - or not.

what type of code is it?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 12:24 am

Thank you for the reply
It is html and I will give it a try as you explained

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 12:31 am

I inserted the html code into the html button on the editor but I did not get anything on the website but small line of the sponsor of that widget, but the whole live widget did not appear, is there any thing wrong that I have done?

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 12:33 am

are you super admin?
what content editor are you using? (jce, tinymce)
is it an iframe?

it could be that the editor is stripping some of your code. if you go to your user and change it to "no editor" and can then paste in the code and have it work, then the code is being stripped by the editor.

each of those editors have different ways to change their configuration so as to not strip code. thus asking what the editor is.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 12:43 am

Yes I am the super admin, but not very experienced on that, as a matter of fact I can not answer your questions as I do not understand them, but what happens is that I see the widget working inside the editor after I save, but it never comes on the real website and if I go the editor to fix it I could not find the live widget but small line drafted by the widget sponsor

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 12:50 am

ok. forgive me - i see you are working with Joomla 1.0. that is very old and i haven't worked in it for years now.

do this to start:
go to Users -> User Manager and then click on your user name
somewhere in there is a field for the editor with a drop-down for you to select an editor. probably it says "Use Global"
change it to "No Editor"
Click Save

then go to your module or article where you want to paste your code.

you can now just paste your code right into the box without toggling an editor.

then click Apply.

go to the frontend and refresh your screen and see if it worked.

if it did, then your editor was stripping out the code. if it didn't, then you might have bigger problems than meet the eye. sadly, the version of joomla you are using has been end of life for years now.

see how this goes though. i tried to take it slower. :)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 1:27 am

Thank you very much, I am very happy that it worked out, I spent long time to get it done but could not, with your instructions it took me few seconds, thanking you one again

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 1:34 am

excellent! that's great!

so now, you can go back into your User through the User Manager and set the editor back to "Use Global" with this warning...

WARNING: if you go back into the article or module that the code is in with the normal editor selected and save it, it will strip the code again!

before you ever go back into that article or module, change your editor to "No Editor" in your user BEFORE you go into the article or module. you might have to learn a little code to do what you want, but that's life.

you are welcome for the help. i'm so glad it helped you! :)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 2:55 pm

Yes, I know, you supported me big time, now I have another problem, it might be small to you, which is to have two html codes inserted horizontally to reflect horizontally on the live website.
Now I put them above each other and they reflect vertically on the website, is there any way to do that?

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 3:58 pm

Are you doing this in an article or a module?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 10, 2014 5:06 pm

how can I find out that, let have a look all around to be able to answer

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 10, 2014 5:09 pm

when you paste the code into wherever you pasted the first bit of code, are you going to an Article in the Article Manager? or are you going to a Module in the Module Manager?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Tue Apr 15, 2014 1:00 am

I go to Section pages and open the requested page and insert whatever I have from codes, as you told, after changed to No WYSMYG Editor

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Tue Apr 15, 2014 1:06 am

What I would do is create a table with one row and two columns. Paste the code into each cell. That way you can have them next to each other.

You might need to turn the editor on to create the table. Put a random word into each cell so it's easier to find where to paste them in no editor mode.

Save the table. Go back to your user and turn it back to no editor. Then paste your two bits of code in place of where your random words were.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Tue Apr 15, 2014 1:27 am

Thank you so much, I like the way you think, I will try that and let you know

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Tue Apr 15, 2014 2:04 pm

Thank you so much my friend, it worked out perfectly, on the layers , I do not know why the table did not work on my Joomla 1.0.1, I could not find a reason for that
The only thing on this is that I am putting tables containing data and on the last column on right I can not get it all displayed on live website, tried to change width number but it did not work

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Tue Apr 15, 2014 3:26 pm

Will you please provide the link to the page you're working on? That might help. :)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Tue Apr 15, 2014 7:17 pm

http://www.fxsac.com/index.php?option=c ... Itemid=135
It is the top table from right, clolumn # 6 it shows Chg while it shouold be Chg.%

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Tue Apr 15, 2014 8:45 pm

I do not know exactly what part of these charts are from the code you put in or the code that is directly in your article.

That being said, when I use firebug to inspect the element, I see a line that says:

Code: Select all

<td nowrap="" class="ftqw2 ftqh ftqa11wb ftqac">Chg.</td>
Logically, if you changed that line to:

Code: Select all

<td nowrap="" class="ftqw2 ftqh ftqa11wb ftqac">Chg. %</td>
(or just add a "%") it should do what you want.

If that is part of the code that you got from another source, then their code was wrong to leave out the %. If it's your code, then just add the % sign in that cell (td).
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Tue Apr 15, 2014 9:44 pm

I took the html from investing.com free widgets section.
I used the waterfox, and the explorer both looks to be fine with the website, it is only the Maxthon which is having this problem

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Tue Apr 15, 2014 10:13 pm

i don't know what else to say to assist you.
:)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Wed Apr 16, 2014 11:51 pm

you have been so kind, I am really embarrassed to ask anything more

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 17, 2014 12:20 am

The forum is here for people to ask questions. Believe me, if I don't know the answer, I won't answer.

It is good practice to start a new thread if you have a new issue though. So if you have a question on this topic - ask. If it's a new topic, start a new post. :)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

fxsac11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Apr 09, 2014 11:52 pm

Re: Widget

Post by fxsac11 » Thu Apr 17, 2014 1:42 am

Thank you very much Jenn, I really appreciate your support

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Widget

Post by jgress- » Thu Apr 17, 2014 2:10 am

You are very, very welcome. :)
Wishing you the best.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html


Locked

Return to “General Questions - 1.0.x”