Help - Search - Members - Calendar
Full Version: MtMacros and smilies
Movable Type Community Forum > Additional Resources > Tips and Tricks
xpliciotne
I did everything from silverberry and that girl matters for smilies, but my smilies are appearing b4 my title and not in the blog entry. see

http://www.xplicitone.com/mt

HELP big time here plz
AOL: AnimeAyeka
cathy
looking at your source, you have a
CODE
</MTMacroDefine>
showing after your IMG, which usually indicates a problem with the installation of the plugin.

If you could post your relevant template code that might help also.

Cathy
xpliciotne
ok

smilies tmpl
[qoute][IMG]**http://www.xplicitone.com/mt/smilies/blush.gif[/IMG] [/quote]

I fixed it but now its still showing the smilie at the top.
I rebuilt it too.

exclude the ***
kadyellebee
The end tag that is showing up in your source means that the Macro plugin is probably not installed correctly. So you might double check that part first. smile.gif

Kristine
oscarf
Judging by your last message, I suspect a typo is more likely somewhere, especially since the smiley actually does show up at all. If you'd like to share some of your template code, as cathy suggested, I'm sure we could get it straightened out.
xpliciotne
I got it to fix
I know what i did wrong......thx for the help all of you. I appreciate it.
xpliciotne
theres a problem
now that i got it fix and im rebuilding my site
its giving me this

QUOTE
Build error in template 'Main Index': Error in <*MTInclude> tag: You did not specify the type of macro.


and when i try to rebuild the smilies alone this is what i get
QUOTE
Build error in template 'smilies': Error in <*MTMacroDefine> tag: You did not specify the type of macro.
 


also for the smilies what do you put as the output file
smilies.tmpl or you just leave it blank.

this is what i have in my main index file
QUOTE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





<$MTBlogName$>





<script language="javascript" type="text/javascript">
function OpenComments © {
    window.open(c,
                    'comments',
                    'width=480,height=480,scrollbars=yes,status=yes');
}

function OpenTrackback © {
    window.open(c,
                    'trackback',
                    'width=480,height=480,scrollbars=yes,status=yes');
}



<$MTCCLicenseRDF$>












<$MTEntryTrackbackData$>


<$MTEntryDate format="%x"$>




">

<$MTEntryTitle$>



<$MTEntryBody apply_macros="1"$>


"





















" />

This weblog is licensed under a .













and in my smillies
QUOTE
[img]http://www.xplicitone.com/mt/smilies/blush.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/bash.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/cuss.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/evilbat.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/finger.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/phone.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/bedrock.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/bj.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/rant.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/disturb.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/care.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/thafuck.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/birthday.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/lolsign.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/perv.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/redman.gif[/img]
[img]http://www.xplicitone.com/mt/smilies/asshole.gif[/img]
oscarf
Well, those are some darn fine looking smilies, I'll say that. I especially like the last one.

Anyway, I, for one, am just not sure what you are actually trying to do. Are you trying to make clickable smilies in your entry_edit page? So you can click them to be included in your posts?

Or can you leave a link to the exact tutorials you used?

Oh, and if you are trying to put in a "smiley bar" maybe this recent smiley bar post a few entries down would be helpful.
cathy
What happens if you add
CODE
<$MTInclude module="smilies"$>
at the top of your index template?


Cathy
xpliciotne
QUOTE (cathy @ Sep 9 2003, 12:24 AM)
What happens if you add
CODE
<$MTInclude module="smilies"$>
at the top of your index template?


Cathy

that didn't work...:-(
arvind
btw this is besides the point but in your weblog config I think your paths to your blog are set wrong because your stylesheet isn't loading and in your source it shows the url without mt in it so just edit your site path to include the mt/ at the end !

QUOTE
also for the smilies what do you put as the output file
smilies.tmpl or you just leave it blank.


Ok are you sure you're creating a template module right at the bottom of the page cos in the template module there is no field for output file (or do you mean link this file to a template) You might be creating an index/archiving template by mistake !
xpliciotne
QUOTE (arvind_2100 @ Sep 9 2003, 02:58 PM)
btw this is besides the point but in your weblog config I think your paths to your blog are set wrong because your stylesheet isn't loading and in your source it shows the url without mt in it so just edit your site path to include the mt/ at the end !

QUOTE
also for the smilies what do you put as the output file
smilies.tmpl or you just leave it blank.


Ok are you sure you're creating a template module right at the bottom of the page cos in the template module there is no field for output file (or do you mean link this file to a template) You might be creating an index/archiving template by mistake !

well it won't let me rebuild
till i get this right

Build error in template 'Main Index': Error in tag: You did not specify the type of macro.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.