From Manila-Newbies@userland.com Sun Dec 14 23:30:12 2003 From: Manila-Newbies@userland.com (Allister Kilpatrick) Date: Mon, 15 Dec 2003 12:30:12 +1300 Subject: Re-index pages on Editors only tool bar Message-ID: Hello there, Is there a way in Manilla of re-indexing the pages on the Editors toolbar. Someone has corrupted the 'Stories' and 'Pictures' pages . All the other buttons work fine. This is only effected in one site. Here is an example of the error. Sorry! There was an error: Can't find a sub-table named "0007359". Is this something that the user has done or is there an configuration setting to fix this. Many thanks, Allister From Manila-Newbies@userland.com Mon Dec 15 07:36:42 2003 From: Manila-Newbies@userland.com (Lee Baker) Date: Mon, 15 Dec 2003 07:36:42 -0000 Subject: Add to favourites code Message-ID: <001201c3c2de$305a2c10$119e87d9@Lee> This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C3C2DE.2F4A42B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have some code (Javascript) for an "Add to Favourites" link which I = wish to add to my Manila site at = http://astonvilla.blogfootball.com/lions/ but it refuses to work! Could = some one please advise me? The curly brackets in the original code get = converted to { and } plus I get an 'error on page'. Code: =20 Add Lions Blog to Your Favourites (STILL NOT = WORKING....DO NOT CLICK!) I also have this code which will not even show up!! (Again, the curly = brackets get changed to { and } in the template): PLEASE help. It's driving me nuts!! Cheers Lee ------=_NextPart_000_000F_01C3C2DE.2F4A42B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have some code (Javascript) for an = "Add to=20 Favourites" link which I wish to add to my Manila site at http://astonvilla.blog= football.com/lions/=20 but it refuses to work! Could some one please advise me? The curly = brackets in=20 the original code get converted to &#123 and &#125 plus I get an = 'error=20 on page'.
 
Code:
 
 
<!--This is one of many scripts = which are=20 available at: *---
//--http://www.JavaScript.nu?javascript = *---
//--This=20 script is FREE, but you MUST let these lines *---
//--remain if you = steal=20 this script. *---
function bookmark(url,=20 description)
&#123;
//***---This text will be shown to the = visitor if=20 it has Netscape.
netscape=3D"First push OK and then hit CTRL+D to add = a=20 bookmark to this site."
 
if (navigator.appName=3D=3D'Microsoft = Internet=20 Explorer')
&#123;
window.external.AddFavorite(url,=20 description);
&#125;
else if=20 (navigator.appName=3D=3D'Netscape')
&#123;
alert(netscape);
= &#125;
&#125;
//-->
 
</SCRIPT>
 
 
<B><A=20 HREF=3D"javascript:bookmark('http://astonvilla.blogfootball.com/lions/','= Lions=20 Blog');">Add Lions Blog to Your Favourites (STILL NOT WORKING....DO = NOT=20 CLICK!)</A></B>
 
 
I also have this code which will not = even show up!!=20 (Again, the curly brackets get changed to &#123 and &#125 in the = template):
 
<!-- ADD TO BOOKMARKS FAVOURITES=20 -->
<font STYLE=3D"font-family:VERDANA; = font-size:8PT;">
<script=20 language=3D"JavaScript">
var message =3D "Add to = favourites";
var url =3D "HTTP://astonvilla.blog= football.com/Lions/";
var=20 title =3D "Lions Blog";
if (document.all) {
document.write("<a=20 href=3D\"javascript:window.external.AddFavorite(url, title)\">" + = message=20 +"</a>");
} else {
document.write("Lions Blog");
if=20 (document.layers) {
document.write(" (Press=20 CTRL+D)");
}
}
</script>
 
<!-- END BOOKMARKS SCRIPT = -->
 
 
PLEASE help. It's driving me=20 nuts!!

Cheers
Lee
 
 
 
------=_NextPart_000_000F_01C3C2DE.2F4A42B0-- From Manila-Newbies@userland.com Mon Dec 15 18:00:57 2003 From: Manila-Newbies@userland.com (Lawrence Lee) Date: Mon, 15 Dec 2003 10:00:57 -0800 Subject: Re-index pages on Editors only tool bar In-Reply-To: Message-ID: <1140611023-642658212@userland.com> Do you get any errors if you try to view the discussion group of the site? Could you post the URL of the site (or email it to me at lawrence@userland.com)? Lawrence > -----Original Message----- > From: manila-newbies-admin@userland.com > [mailto:manila-newbies-admin@userland.com] On Behalf Of > Allister Kilpatrick > Sent: December 14, 2003 3:30 PM > To: manila-newbies@userland.com > Subject: Re-index pages on Editors only tool bar > > Hello there, > > Is there a way in Manilla of re-indexing the pages on the > Editors toolbar. > Someone has corrupted the 'Stories' and 'Pictures' pages . > All the other buttons work fine. This is only effected in one site. > > Here is an example of the error. Sorry! There was an error: > Can't find a sub-table named "0007359". > > Is this something that the user has done or is there an > configuration setting to fix this. > > Many thanks, > > Allister > > > > > > > From Manila-Newbies@userland.com Mon Dec 15 18:02:11 2003 From: Manila-Newbies@userland.com (Lawrence Lee) Date: Mon, 15 Dec 2003 10:02:11 -0800 Subject: Add to favourites code In-Reply-To: <001201c3c2de$305a2c10$119e87d9@Lee> Message-ID: <1140610947-642662788@userland.com> This is a multi-part message in MIME format. ------=_NextPart_000_0194_01C3C2F2.846F32A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Have you tried pasting it into the JavaScript box on the Advanced Preferences page? Lawrence _____ From: manila-newbies-admin@userland.com [mailto:manila-newbies-admin@userland.com] On Behalf Of Lee Baker Sent: December 14, 2003 11:37 PM To: Manila-Newbies@userland.com Subject: Add to favourites code I have some code (Javascript) for an "Add to Favourites" link which I wish to add to my Manila site at http://astonvilla.blogfootball.com/lions/ but it refuses to work! Could some one please advise me? The curly brackets in the original code get converted to { and } plus I get an 'error on page'. Code: Add Lions Blog to Your Favourites (STILL NOT WORKING....DO NOT CLICK!) I also have this code which will not even show up!! (Again, the curly brackets get changed to { and } in the template): PLEASE help. It's driving me nuts!! Cheers Lee ------=_NextPart_000_0194_01C3C2F2.846F32A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Have you tried pasting it into the JavaScript = box on=20 the Advanced Preferences page?
 
Lawrence


From: = manila-newbies-admin@userland.com=20 [mailto:manila-newbies-admin@userland.com] On Behalf Of Lee=20 Baker
Sent: December 14, 2003 11:37 PM
To:=20 Manila-Newbies@userland.com
Subject: Add to favourites=20 code

I have some code (Javascript) for an = "Add to=20 Favourites" link which I wish to add to my Manila site at http://astonvilla.blog= football.com/lions/=20 but it refuses to work! Could some one please advise me? The curly = brackets in=20 the original code get converted to &#123 and &#125 plus I get = an=20 'error on page'.
 
Code:
 
 
<!--This is one of many scripts = which are=20 available at: *---
//--http://www.JavaScript.nu?javascript = *---
//--This=20 script is FREE, but you MUST let these lines *---
//--remain if you = steal=20 this script. *---
function bookmark(url,=20 description)
&#123;
//***---This text will be shown to the = visitor=20 if it has Netscape.
netscape=3D"First push OK and then hit CTRL+D = to add a=20 bookmark to this site."
 
if (navigator.appName=3D=3D'Microsoft = Internet=20 Explorer')
&#123;
window.external.AddFavorite(url,=20 description);
&#125;
else if=20 = (navigator.appName=3D=3D'Netscape')
&#123;
alert(netscape);
= &#125;
&#125;
//-->
 
</SCRIPT>
 
 
<B><A=20 = HREF=3D"javascript:bookmark('http://astonvilla.blogfootball.com/lions/','= Lions=20 Blog');">Add Lions Blog to Your Favourites (STILL NOT WORKING....DO = NOT=20 CLICK!)</A></B>
 
 
I also have this code which will not = even show=20 up!! (Again, the curly brackets get changed to &#123 and &#125 = in the=20 template):
 
<!-- ADD TO BOOKMARKS FAVOURITES=20 -->
<font STYLE=3D"font-family:VERDANA;=20 font-size:8PT;">
<script language=3D"JavaScript">
var = message =3D=20 "Add to favourites";
var url =3D "HTTP://astonvilla.blog= football.com/Lions/";
var=20 title =3D "Lions Blog";
if (document.all) = {
document.write("<a=20 href=3D\"javascript:window.external.AddFavorite(url, title)\">" + = message=20 +"</a>");
} else {
document.write("Lions Blog");
if=20 (document.layers) {
document.write(" (Press=20 CTRL+D)");
}
}
</script>
 
<!-- END BOOKMARKS SCRIPT = -->
 
 
PLEASE help. It's driving me=20 nuts!!

Cheers
Lee
 
 
 
------=_NextPart_000_0194_01C3C2F2.846F32A0-- From Manila-Newbies@userland.com Mon Dec 15 21:00:43 2003 From: Manila-Newbies@userland.com (Lee Baker) Date: Mon, 15 Dec 2003 21:00:43 -0000 Subject: Re Add to favourites Message-ID: <002701c3c34e$81cf2e90$f18887d9@Lee> This is a multi-part message in MIME format. ------=_NextPart_000_0024_01C3C34E.80DE65F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yes, I've pasted it. It makes no difference! Any other suggestions? Tried Solution 1. No luck. How do I do 2 or 3!? It seems a bit = over-complicated for a cut-and-paste job! The MAKE HOMEPAGE hyperlink = works fine!! Here is some info from Steve Hooker: Curly braces are used in macros and javascript. But these are two = different languages. In this case legion is trying to add javascipt a = template, so we'll stay with that language. When one adds javascript to a template Manila still processes the = template looking for macros to evaluate, those it finds it checks to see = if they are legal, if they are, they're processed, if they're not = they're neutered. Neutering merely means that the curly braces are = turned into the HTML version of a curly brace, namely { or }. It does = this to stop nasty or even destructive bits of code 'getting through.' So, how do you do it? There's a place where you can add javascript = without Manila looking at it thinking it's going to contain macros. = Thus, it processes not ;-) The solution, 1: You should put your JavaScript code for the template = into the JavaScript section, in Editors only: =3D=3D> Prefs =3D=3D> = Advanced =3D=3D> Javascript.=20 The solution, 2: You can almost always convert the JavaScript code into = a function and then call that function from within the template or page = using the SCRIPT tag. Be sure to legalize the SCRIPT tag before trying = it in a story or message however.=20 The solution, 3: Store the javascript code as a gem with a .js = extension. Then insert the gem into your story with the includeHttp = macro. This actually works very well. http://astonvilla.blogfootball.com/lions/ ------=_NextPart_000_0024_01C3C34E.80DE65F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Yes, = I've pasted it.=20 It makes no difference!
 
Any other suggestions?
 
Tried Solution 1. No luck. How do I do 2 or 3!? It seems a bit=20 over-complicated for a cut-and-paste job! The MAKE HOMEPAGE hyperlink = works=20 fine!!

Here is some info from Steve Hooker:
 
Curly braces are used in macros and javascript. But these are two = different=20 languages. In this case legion is trying to add javascipt a template, so = we'll=20 stay with that language.

When one adds javascript to a template = Manila=20 still processes the template looking for macros to evaluate, those it = finds it=20 checks to see if they are legal, if they are, they're processed, if = they're not=20 they're neutered. Neutering merely means that the curly braces are = turned into=20 the HTML version of a curly brace, namely { or }. It does this to stop = nasty or=20 even destructive bits of code 'getting through.'

So, how do you = do it?=20 There's a place where you can add javascript without Manila looking at = it=20 thinking it's going to contain macros. Thus, it processes not ;-)

The solution, 1: You should put your JavaScript code for the = template into=20 the JavaScript section, in Editors only: =3D=3D> Prefs =3D=3D> = Advanced =3D=3D>=20 Javascript.

The solution, 2: You can almost always convert the JavaScript code = into a=20 function and then call that function from within the template or page = using the=20 SCRIPT tag. Be sure to legalize the SCRIPT tag before trying it in a = story or=20 message however.

The solution, 3: Store the javascript code as a gem with a .js = extension.=20 Then insert the gem into your story with the includeHttp macro. This = actually=20 works very well.

 

http://astonvilla.blog= football.com/lions/

 
 
 
------=_NextPart_000_0024_01C3C34E.80DE65F0-- From Manila-Newbies@userland.com Tue Dec 16 23:02:07 2003 From: Manila-Newbies@userland.com (Curt Wrinkle) Date: Tue, 16 Dec 2003 15:02:07 -0800 Subject: (no subject) Message-ID: From Manila-Newbies@userland.com Wed Dec 17 02:53:08 2003 From: Manila-Newbies@userland.com (Manila-Newbies@userland.com) Date: Tue, 16 Dec 2003 21:53:08 -0500 Subject: (no subject) Message-ID: <37C12230.53FA185A.0000E912@aol.com> i just received a blank email from you. Did I miss something? From Manila-Newbies@userland.com Wed Dec 17 13:23:09 2003 From: Manila-Newbies@userland.com (Jennifer P. Brown) Date: Wed, 17 Dec 2003 05:23:09 -0800 (PST) Subject: (no subject) In-Reply-To: <37C12230.53FA185A.0000E912@aol.com> Message-ID: <20031217132309.19351.qmail@web20727.mail.yahoo.com> --0-1082787879-1071667389=:16749 Content-Type: text/plain; charset=us-ascii I didn't send you an email, although for a few days now I've been getting emails, some blank, from manila newbies group. Cuffj@aol.com wrote: i just received a blank email from you. Did I miss something? --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --0-1082787879-1071667389=:16749 Content-Type: text/html; charset=us-ascii
I didn't send you an email, although for a few days now I've been getting emails, some blank, from manila newbies group.
 


Cuffj@aol.com wrote:
i just received a blank email from you. Did I miss something?


Do you Yahoo!?
Free Pop-Up Blocker - Get it now --0-1082787879-1071667389=:16749-- From Manila-Newbies@userland.com Wed Dec 17 17:44:46 2003 From: Manila-Newbies@userland.com (Steven Owley) Date: Wed, 17 Dec 2003 12:44:46 -0500 Subject: (no subject) In-Reply-To: <37C12230.53FA185A.0000E912@aol.com> References: <37C12230.53FA185A.0000E912@aol.com> Message-ID: No sir. I seem to be having a problem with this, as others have told me that they are getting blank email from me. Please tell me if you get another. Steve On Dec 16, 2003, at 9:53 PM, Cuffj@aol.com wrote: > i just received a blank email from you. Did I miss something? >