List Info

Thread: Links and images inside paragraphs




Links and images inside paragraphs
user name
2007-04-17 09:06:34
There is (at least) one thing I can figure out how to handle
and that is
how to let the users/authors put links and images inside
paragraphs. My
stories are build using paragraphs, that display the text in
each
paragraph like <p>text</p>. I can add related
links and put them after the
story in a "related links" box, but I would like
to put a link inside the
paragraph. Should I ask the users to type the HTML code or
is there
another way? What about images. I would like to do something
like <p><img
src="blablabla">yadda yadda yadda</p> to
put the image inside the
paragraph. Is there an easy way to do this or?

/Jesper


RE: Links and images inside paragraphs
user name
2007-04-17 09:35:07
Jesper Andersen <mailto:datakrikkit.dk> wrote on
April 17, 2007 09:07
AM:

> There is (at least) one thing I can figure out how to
handle and that
> is how to let the users/authors put links and images
inside
> paragraphs. My stories are build using paragraphs, that
display the
> text in each paragraph like <p>text</p>. I
can add related links and
> put them after the story in a "related links"
box, but I would like
> to put a link inside the paragraph. Should I ask the
users to type
> the HTML code or is there another way? What about
images. I would
> like to do something like <p><img
src="blablabla">yadda yadda
> yadda</p> to put the image inside the paragraph.
Is there an easy way
> to do this or? 
> 
> /Jesper

Hi Jesper

Bricolage will pass html embedded in your text if you put it
in. But
your editors will have to learn html.

You can look up the wiki article on rich paragraphs (see
http://wiki.bricolage.cc/bin/view/Bric/TuteMasonTextT
extile). Or if you
use it ubiquitously, then just call text::textile for all
your
paragraphs and let your editors use some subset of Textile
markup.

I don't know how much overhead this adds. Does anyone out
there know?

Re: Links and images inside paragraphs
user name
2007-04-17 09:44:27
You should probably convert your "regular"
paragraphs for richthml  
paragraphs.
In your Bricolage configuration file, just make sure that
you have:

# WYSIWYG CONFIGURATION
[ENABLE_WYSIWYG] = yes
WYSIWYG_EDITOR = Xinha or HTMLAREA

as you prefer, here at SAPO we used to use the HTMLAREA but
right now  
in the more recent bricolage instalations we're using the
XINHA  
richhtml editor.
Don't forget to install Xinha library before that, but
you'll find  
url's and instructions for that above those options in the 

bricolage.conf.

After that you're able to define RichHTML paragraph's, just
make sure  
when you define their element_type you choose WYSIWYG
instead of the  
traditional TextArea.
Hope this helps.
Pedro








On Apr 17, 2007, at 3:06 PM, Jesper Andersen wrote:

> There is (at least) one thing I can figure out how to
handle and  
> that is
> how to let the users/authors put links and images
inside  
> paragraphs. My
> stories are build using paragraphs, that display the
text in each
> paragraph like <p>text</p>. I can add
related links and put them  
> after the
> story in a "related links" box, but I would
like to put a link  
> inside the
> paragraph. Should I ask the users to type the HTML code
or is there
> another way? What about images. I would like to do
something like  
> <p><img
> src="blablabla">yadda yadda
yadda</p> to put the image inside the
> paragraph. Is there an easy way to do this or?
>
> /Jesper
>


RE: Links and images inside paragraphs
user name
2007-04-17 09:53:27
Harrison, George (STEM) wrote:

> Bricolage will pass html embedded in your text if you
put it in. But
> your editors will have to learn html.

I know, but I would like to avoid that.

>
> You can look up the wiki article on rich paragraphs
(see
> http://wiki.bricolage.cc/bin/view/Bric/TuteMasonTextT
extile). Or if you
> use it ubiquitously, then just call text::textile for
all your
> paragraphs and let your editors use some subset of
Textile markup.

I will take a look at this. Thanks for the pointer.

/Jesper


Re: Links and images inside paragraphs
user name
2007-04-17 09:55:57
Pedro Custódio wrote:

> After that you're able to define RichHTML paragraph's,
just make sure
> when you define their element_type you choose WYSIWYG
instead of the
> traditional TextArea.
> Hope this helps.

Thanks, I will try to install that and see if it helps me.

/jesper


RE: Links and images inside paragraphs
user name
2007-04-17 11:28:33
Is this with the admin user?  Wondering if the account your
using has
permissions to read / create those media types?

-----Original Message-----
From: Jesper Andersen [mailto:datakrikkit.dk] 
Sent: Tuesday, April 17, 2007 10:07 AM
To: userslists.bricolage.cc
Subject: Links and images inside paragraphs

There is (at least) one thing I can figure out how to handle
and that is
how to let the users/authors put links and images inside
paragraphs. My
stories are build using paragraphs, that display the text in
each
paragraph like <p>text</p>. I can add related
links and put them after
the
story in a "related links" box, but I would like
to put a link inside
the
paragraph. Should I ask the users to type the HTML code or
is there
another way? What about images. I would like to do something
like
<p><img
src="blablabla">yadda yadda yadda</p> to
put the image inside the
paragraph. Is there an easy way to do this or?

/Jesper


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )