The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

New Widget Code

View previous topic View next topic Go down

Solved New Widget Code

Post by nikko on July 29th 2011, 2:49 am

Hi, i just have a small problem with that new widget code that was released for Facebook/Twitter/Google
Code:
<div align="center" id="FM_widget_share"></div>

Whenever I put that in on the widget source and press save, i bring up my forum and the code stays as a code. Am I doing something wrong or something that I'm not catching?
To save time i made sure that:
html was on
bbcode was on

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by coco moco on July 29th 2011, 3:28 am

@nikko wrote:Hi, i just have a small problem with that new widget code that was released for Facebook/Twitter/Google
Code:
<div align="center" id="FM_widget_share"></div>

Whenever I put that in on the widget source and press save, i bring up my forum and the code stays as a code. Am I doing something wrong or something that I'm not catching?
To save time i made sure that:
html was on
bbcode was on

A couple of problems I see:

Try
Code:
<div style="margin:auto" id="FM_widget_share">[i]widget_code</div>

There isn't a centre align option really, although their is a text-align which works on lists, and <object>s that are put in lists. What you have isn't actually telling the browser anything. For inline css always use 'style="'.

The second possible problem I see is you are calling an #id. Have you set the styling requirements in CSS? The #id FM_widget_share means absolutely zero if you haven't set this up in your CSS.

coco moco
Forumember

Posts : 118
Reputation : 50
Language : English

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 4:36 am

Try clearing your caches. When I first used it, I got the codes, too.

Coco moco that is how the code was set up when it was added by Forumotion.

SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 5:05 am

Yea yea, that was what i took directly from the new update. I've cleared the caches but it still comes up as a code.

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 6:01 am

Please post your forum link. Are you using the one that is already created in your personal widgets section?

SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 6:25 am

http://mcmlgaming.forumotion.com/
(I have taken it off since its just a code)

But I just took the code that was in the new update, and put that into the widget code, am i missing something?

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 6:41 am

If you want it in a widget, then go here:

Adminisrtation Panel>>Modules>>Widget Management

Look in the Personal Widgets, it should already be there to use.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 6:45 am

Well, Ive put it on the forum as a widget, still just a code.

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 6:49 am

Place it back, and let me check it.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 6:49 am

Its up now, left side on the forum page: http://mcmlgaming.forumotion.com/forum

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 6:53 am

It is showing as a code. Do you have html code activated?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 6:54 am

From my first post, everything is activated

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 7:00 am

I just tried it on my forum, and it worked. Are you modify the widget?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 7:00 am

no, but ill try again..

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 7:02 am

That was a waste of time! There was a <code> text making it show up as just a code for whatever reason, i removed that and it came out fine!

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by SLGray on July 29th 2011, 7:04 am

So it is working correctly now?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: New Widget Code

Post by nikko on July 29th 2011, 7:05 am

Yup, this is solved.

nikko
Forumember

Male Posts : 110
Reputation : 0
Language : English
Location : Colorado

http://mcmlgaming.forumotion.com/forum

Back to top Go down

Solved Re: New Widget Code

Post by Base on July 29th 2011, 11:19 am

Solved => Locked Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum