Webyep Nested Loops?

  1. Does anyone know if webyep supports nested loops? I checked a webyep forum and I think as of 2009 it did not. I need to have two items loop together.

Multiple sets of (rich text + Multiple(attachments))

  1. I am also using a © in webyep, but it doesn’t display properly. I type in © and what is see webyep display is Å©
    Any ideas about how to handle special characters in webyep?

Thanks. Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi there

Sorry I can’t help with (1) but for (2) try using

©

instead and this might work for you.

All the best

Gordon

http://www.gordonlow.net/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There’s a flag in WY that allows you to set your text encoding to
match the rest of your page. You can try setting your page (in
Freeway) to output in Windows Latin or similar encoding, and that
should fix it also. I don’t recall the WY flag off-hand, but I know
Max has answered the question before, so try searching on WebYep
Unicode and see if you get lucky.

Walter

On Aug 25, 2010, at 8:28 AM, Gordon Low wrote:

Hi there

Sorry I can’t help with (1) but for (2) try using

©

instead and this might work for you.

All the best

Gordon

http://www.gordonlow.net/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the suggestion, Gordon, but it displays the same thing.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Jan,

not sure to have you correct, but it´s possible to loop nested wy elements. Now the point is, that I normally work with inline divs (boxmodel) and it’s easy to achieve there.

Let’s say I want to have a simple headline text, than an Image and finally a rich text I normally insert a html box as the container of it, inklick and insert 5 boxes in it. Size it, and insert in the first box the webyep loop start, in the second, the simple text element, in the third the wy-image in the fourth the richtext-element and finally the webyep end loop. This will always loop the whole bunch of construction.

Try to rebuild this in the “normal freeway-like” workflow. It should work too.

To get the copyright and other special characters work propper could be a charset issue.

Go into your wy system folder and look for the Konfiguration.php (or maybe in your case Configuration.php. Watch if the following line looks like that:

$webyep_sCharset = “”;

if yes type in the quotes utf-8 so you should get this:

$webyep_sCharset = “utf-8”;

Save and try again. It should keep you off that trouble.

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thomas

You are suggesting:

  1. Loop Start

  2. Simple Text

  3. Image

  4. Rich Text

  5. End Loop

What I am aiming for is:

  1. Loop 1 Start

  2. Rich Text

3.0) Loop 2 Start
3.1) Attachment
3.2) Loop 2 End

4.0) Loop 3 Start
4.1) More Attachments
4.2) Loop 3 End

  1. End Loop 1

Make sense? I am using a box model. I do not have each element in it’s own div. Is that necessary?

Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I don’t understand what you are trying to do, but doesn’t the Rich Text element offer the ability to add attachments itself? Why do you need another attachment option?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can’t have nested loops. You have to supply sufficient items to use in the loop, but when an item is unused the spaces close up on the page.

If you know how many attachments are needed (say 4) you could try using x4 attachments in a line (or on 4 lines) called 1,2,3,4

If none are used, any spaces should close up to the viewer.

David

On 25 Aug 2010, at 18:57, “jan smoot” email@hidden wrote:

Thomas

You are suggesting:

  1. Loop Start

  2. Simple Text

  3. Image

  4. Rich Text

  5. End Loop

What I am aiming for is:

  1. Loop 1 Start

  2. Rich Text

3.0) Loop 2 Start
3.1) Attachment
3.2) Loop 2 End

4.0) Loop 3 Start
4.1) More Attachments
4.2) Loop 3 End

  1. End Loop 1

Make sense? I am using a box model. I do not have each element in it’s own div. Is that necessary?

Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Chuckamuck - richtext editor does not have an attachment capability. WebYep has a separate Attachment element with it’s own uploader.

Thomas - updating the config.php file fixed problem #2.

David - So, the answer is “No webyep does not support nested loops.” I will have to figure out with my customer how to go about implementing what he wants. Sounds like we have to manually program in a “maximum” number. Not the greatest solution. Am surprised webyep can’t handle this option.

Thanks for everyone’s input.
Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Jan,

now first:

RichText is allowing you to create Uploadings. One example of it you can find here:

http://www.kimmich-dm.de/screencasts.php

I did this via TinyBrowser in TinyMCE that allows me to upload buttons like those you can see here. This buttons marked, I set a hyperlink that points to file (or image or whatever), that can be uploaded as well. Only big sizes like my screencasts I upload manually via FTP cause browser crashes too often. So it’s possible to set a RichText being a “Upload Transporter”. All of my pages are webyep-elements because I can quick update my page without the need of alltime carry the freeway-file with me. To get the most amount of flexibility I always use “RichText”.

The Loop in the Loop I actually don’t want to jump deeper in cold water that necessary - so I want to give it a try. But Davids statements generally will leave not much room to discuss. But I will keep you informed about the results (or not result).

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

There`s no room to discus as expected.

So summary:

Nested loops are not possible but I think there are possibilities for some workaround, isn’t it?

Glad to hear how you solved it.

Greetz

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

just a link update for the above mentioned site:

http://www.kimmich-dm.de/blogging/disqus-follow.php?DOC_INST=13

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options