Pages (4):    1 2 3 4   
Member
Member
boo   12-10-2009, 21:08
#21

Hi,

I was wrong I have used a table for the gallery index description as well.

Interesting the gallery index description is structured with paragraphs but the album and image descriptions are line breaks and no paragraphs, all from the database and tinymce ?

I think Paragraphs are the way to go, as you stated above, better page markup and search engine indexing.

Ok, have had 1 or 2 beers too many tonight so I'd best leave it until tommorrow after I've had quite a few cups of strong coffee : - )

Thanks,
boo

Member
Member
boo   12-10-2009, 21:49
#22

Hi, ok it's beacuse she's used justification.

Thanks,
boo

Administrator
Administrator
acrylian   13-10-2009, 08:38
#23

TinyMCE is setup to use line breaks instead of paragraphs because some theme place the description and such already in paragraphs what leads to validation issues. But it is of coures possible to configurate TinyMCE differntly. Please see the troubleshooting guides.

Member
Member
boo   13-10-2009, 09:20
#24

Hi, ok I've changed tinymce, great we now have paragraph formatting and hopefully line breaks on "shift", brilliant thanks!

force_br_newlines : false,
forced_root_block: "p",
force_p_newlines : true,

I've been looking at changing the description tables over to css, I'm guessing the span tag with display:block is the way to go ?

Your a Star Mr Acylian!

Thanks,
boo

Administrator
Administrator
acrylian   13-10-2009, 09:25
#25

Or divs or parapgraphs direclty. Those are already a block elements (headlines are, too).

Member
Member
boo   13-10-2009, 09:49
#26

Hi, ok have a slight problem with tinymce with the new changes.

In the editor it displays correctly:

This is in Bedale in North Yorkshire. Beautiful gardens to amble around and beautiful birds of prey to see. You can take your picnic and you wouldn't see everything in a day.
We will definately return soon.

But on the page we actually get a line break in between the paragraphs.

and the "delete" key no longer works before the new paragraphs in Firefox.

Maybe tinymce has a few bugs ?

Thanks,
boo

Administrator
Administrator
acrylian   13-10-2009, 10:03
#27

A line break is the default behaviour of a paragraph. If youn don't want that you need to change the css. And/or try changing this "force_p_newlines : true," to false (see the details of configuration on the tinymce wiki).

Aboute the delete button and TinyMCE, I can't answer. This might be browser dependend. Please see the tinymce website if there are know bugs. 1.2.6 has of course not the latest one. I will soon update the nightly though.

Member
Member
boo   13-10-2009, 10:08
#28

Hi, sorry I didn't explain that very well what we get now is:

paragraph tag - then tinymce also inserts a line break tag followed by the next paragraph tag

I'm sorry to keep taking up your time, I'll do some searching on the net see if there is a solution.

Member
Member
boo   13-10-2009, 11:17
#29

Hi, I cannot find anyone with the same issue with tinymce, a line break tag is being inserted in between paragraphs tags.

`everything in a day.

We will definitely return soon.
`

The line break does not show in tinymce's editor html inspector, but is output on the page.

Is it possibly being caused by zenphoto integration ?

Many thanks,
boo

Administrator
Administrator
acrylian   13-10-2009, 12:12
#30

I guess the line breaks are leftovers from the old setting and you have to delete them manually now. I just tried with "force_br_newlines : false" and "force_p_newlines : true" and could not reproduce it.

Member
Member
boo   13-10-2009, 12:32
#31

Hi, ok still happens when creating new images etc.

So I've just upgraded my test machine to 1.2.6 and try it on that, have there been many bug fixes since the stable august release ?

Ok, it does it on 1.2.6 as well.

settings are:
apply_source_formatting : true, force_br_newlines : false, forced_root_block: "p", force_p_newlines : true,
Many thanks,
boo

Administrator
Administrator
acrylian   13-10-2009, 13:03
#32

Hm, I see it on iamge desc, too. Probably this is a leftover if not using TinyMCe then the unix line breaks \n are converted. That should not happen with TinyMCE.

Member
Member
boo   13-10-2009, 13:29
#33

Hi, ok, hope you can find a workaround / fix : - )

Member
Member
boo   14-10-2009, 08:35
#34

Hi,
I'm not sure how we left this, are you going to have a look at it ?

We could use a container paragraph and only use line breaks, but Lis does use justification a lot, we really would appreciate to able to use paragraphs freely.

I would be happy to try and install the latest tinymce version on my test machine, if it is fairly straightforward to see if that fixes it.

Many thanks,
boo

Administrator
Administrator
acrylian   14-10-2009, 09:04
#35

This is actually related to the printEditable function that enables on the go inline editing and not to TinyMCE itself. We have it on our list.

Meanwhile it should help to disable this inline editing capability. Set calls like printImageDesc(true) to false.

Member
Member
boo   14-10-2009, 09:45
#36

Hi, ok we'll wait until you've fixed it and then upgrade to 1.2.6 at the same time.

Thanks again for all your help : - )
boo

Member
Member
sbillard   14-10-2009, 16:54
#37

Probably should create a ticket. I know that I had forgotten about this. The fix, of course, will not be in 1.2.6, it will be in the nightly builds and then the 1.2.7 release when that happens.

Member
Member
boo   15-10-2009, 09:23
#38

Hi, ok I have created a ticket for it.

http://www.zenphoto.org/trac/ticket/1271

Ok, well I always do a fair amount of testing on my test machne when installing new versions and whenever there has been a problem you have always fixed the problem straight away so I think using a nightly build on this occasion should be fine.

Many thanks,
boo

Member
Member
boo   19-10-2009, 10:22
#39

Hi, ok have installed last night's nightly build on my test machine.

I'm getting "Zenphoto found no theme scripts. Please check the themes folder of your installation" with Lis's theme.

Your themes load ok, can you please tell me what you have changes you have recently made to the themes.

Have created a theme_description.php but I do not have a themeoptions.php

Many thanks,
boo

Administrator
Administrator
acrylian   19-10-2009, 12:33
#40

We did not change anything regarding themes. Be sure that you did not overwrote the theme accidentally! That message should only appear if a formerly selected theme is not available anymore.

Pages (4):    1 2 3 4   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.