Page 1 of 1

"more"-Link <br>?

Posted: Wed 23. Nov 2005, 01:36
by Arne
Hi together,

I'm wondering why the "more"-link in the articlelist is separated from the preview text... I'don't want it that way. Seems as if there's a hidden <br> or something like that, but I couldn't figure out in sample.tmpl...

My problem is marked in this picture:
Image

Can anyone say what I got to change?
Thx
Arne


Deutsch: Kann mir jemand erklären, warum "Zum Artikel..." durch einen Absatz getrennt wird, bzw. wo ich den eliminiere?

Posted: Wed 23. Nov 2005, 02:27
by DeXXus
Just a guess... if I understand you right...
but it looks like the preview text is placed in a paragraph... which forces "more" link to next line.

"conf.template_default.inc.php"

Code: Select all

$template_default["top_text_before"]        = '<p class="topText">';
$template_default["top_text_after"]         = '</p>';
$template_default["top_readmore_before"]	= " ";
$template_default["top_readmore_link"]		= "more…";
$template_default["top_readmore_after"]		= "";

Posted: Sat 26. Nov 2005, 21:53
by Arne
$template_default["top_text_before"] = '<p class="topText">';
$template_default["top_text_after"] = '</p>';
$template_default["top_readmore_before"] = " ";
$template_default["top_readmore_link"] = "Zum Artikel…";
$template_default["top_readmore_after"] = "";
$template_default["top_headline_space"] = "";
$template_default["top_subheadline_space"] = "";

This is my conf.template_default

What should I change?

Posted: Sat 26. Nov 2005, 22:03
by cyrano
hi arne,

try this -may be works:

$template_default["top_text_before"] = '<p class="topText">';
$template_default["top_text_after"] = '&nbsp;zum Artikel</p>';
$template_default["top_readmore_before"] = " ";
$template_default["top_readmore_link"] = "";
$template_default["top_readmore_after"] = "";
$template_default["top_headline_space"] = "";
$template_default["top_subheadline_space"] = "";[/quote]

Posted: Sat 26. Nov 2005, 23:49
by Goran
phpwcms_template/inc_cntpart/articlesummary/list/sample.tmpl like this:

Code: Select all

<p style="margin:0">[SUMMARY]<strong>{DATE:F:DE}</strong>{SUMMARY}[/SUMMARY]
[MORE]<a href="{ARTICLELINK}">{MORE}</a>[/MORE]</p>

Posted: Sun 27. Nov 2005, 00:06
by pepe
sag ich doch :lol:

Posted: Mon 28. Nov 2005, 01:58
by Arne
Thanks - finally it worked :D

[SOLVED]

Posted: Thu 22. Dec 2005, 18:32
by Stim
Hi
Can you please post your cod? Im trying to creat as thats pictures in first post, but i dont know how to do that.??? This is my code.

Code: Select all

// article listing with summary
$template_default["space_top"]				= '';
$template_default["space_bottom"]			= '';
$template_default["space_aftertop_text"]	= '';
$template_default["space_between_list"]		= '';
$template_default["space_between_sum"]		= '';
//
$template_default["top_listentry_before"]   = '<div class="listEntry">';
$template_default["top_listentry_after"]    = '</div>';
$template_default["top_headline_before"]    = '<h1>';
$template_default["top_headline_after"]     = '</h1>';
$template_default["top_subheadline_before"] = '<h2>';
$template_default["top_subheadline_after"]  = '</h2>';
$template_default["top_text_before"]        = '<p class="topText">';
$template_default["top_text_after"]         = '</p>';
$template_default["top_readmore_before"]	= " ";
$template_default["top_readmore_link"]		= "more...";
$template_default["top_readmore_after"]		= "";
$template_default["top_headline_space"]		= "";
$template_default["top_subheadline_space"]	= "";

Please help

Posted: Thu 22. Dec 2005, 19:05
by Arne

Code: Select all


// article listing with summary
$template_default["space_top"]				= '';
$template_default["space_bottom"]			= '';
$template_default["space_aftertop_text"]	= '';
$template_default["space_between_list"]		= '';
$template_default["space_between_sum"]		= '';
//
$template_default["top_listentry_before"]   = '<div class="listEntry">';
$template_default["top_listentry_after"]    = '</div>';
$template_default["top_headline_before"]    = '<h1>';
$template_default["top_headline_after"]     = '</h1>';
$template_default["top_subheadline_before"] = '<h2>';
$template_default["top_subheadline_after"]  = '</h2>';
$template_default["top_text_before"]        = '<p class="topText">';
$template_default["top_text_after"]         = '</p>';
$template_default["top_readmore_before"]	= " ";
$template_default["top_readmore_link"]		= "Zum Artikel…";
$template_default["top_readmore_after"]		= "";
$template_default["top_headline_space"]		= "";
$template_default["top_subheadline_space"]	= "";
$template_default["top_count"]				= 1;
$template_default["article_order"]			= 1; // 0 = manual, 2 = creation date, 4 = start date -> + 0 = ASC, + 1 = DESC

Posted: Thu 22. Dec 2005, 20:23
by Stim
Hi Arne
Thanks for your cod. But... That’s not helped me at all.
How have you fix article text, sup text, and summery text? I try to make something like this picture.
Image

Example as I have now:
Article text
Sup text
Images: summery text summery text summery text
Images: summery text summery text summery text. More...
Images:
Images:

Example as I won’t to make.
Images: Article text
Images: Sup text
Images: summery text summery text summery text
Images: summery text summery text summery text. More...

Just like from your picture!
Can you please or someone ells explain how I can make this style??

Posted: Fri 23. Dec 2005, 17:13
by Stim
Hi
I have fixed this problem other ways!! I have just a simple question. Its that title on pictures just a regular title?? I mean you manually has writing them, and the real article title it’s hidden?

just delete the tag

Posted: Thu 12. Jan 2006, 14:40
by nillux
just delete the text <p></p> tag and change it into <span></span>, that should solve your problem...