Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 08:44 pm EST
Geeklog Forums
In stories, the spacing between intro text and body text
Status: offline
kilerb
Forum User
Regular Poster
Registered: 03/19/08
Posts: 119
Is there a way to make it look like a continuous story on the page you get to after you click "more"?
It separates the intro text and body text with a few spaces it seems. I'd like it to be continuous. Is that possible?
Thanks!
It separates the intro text and body text with a few spaces it seems. I'd like it to be continuous. Is that possible?
Thanks!
13
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If your story templates use the story_introtext variable, then there will be two BR tags between the intro and the body text. If you don't want that, use story_text_no_br
For more information, see the description of the story variables.
bye, Dirk
For more information, see the description of the story variables.
bye, Dirk
11
11
Quote
Status: offline
kilerb
Forum User
Regular Poster
Registered: 03/19/08
Posts: 119
Thanks Dirk... I found article/article.thrml... Where do I put the "story_text_no_br" on there?
This is the entire code on that page now...
<div class="floatleft" style="width:50%;">{whats_related}</div>
<div class="floatleft" style="width:50%;">{story_options}</div>
<div class="clearboth">{trackback}</div>
{commentbar}
Thanks again...
This is the entire code on that page now...
Text Formatted Code
{formatted_article}<div class="floatleft" style="width:50%;">{whats_related}</div>
<div class="floatleft" style="width:50%;">{story_options}</div>
<div class="clearboth">{trackback}</div>
{commentbar}
Thanks again...
8
7
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello Kilerb,
Have a look in the main layout folder, you will found to use story_text_no_br in the storytext.thtml and the featuredstorytext.thtml files.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Have a look in the main layout folder, you will found to use story_text_no_br in the storytext.thtml and the featuredstorytext.thtml files.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
6
11
Quote
Status: offline
kilerb
Forum User
Regular Poster
Registered: 03/19/08
Posts: 119
Thanks... Where do i put the no_br tag? Sorry if this is obvious... I don't get it.
This is what I have on my storytext.thtml page...
<span class="story-icons">
{email_icon} {print_icon} {pdf_icon}
</span>
<h1>{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h1>
<div class="story-body">
{story_anchortag_and_image}{story_introtext}
</div>
<div class="story-footer">
{edit_link} {page_selector}<br /> {readmore_link} {post_comment_link}<br /> {start_comments_anchortag}{comments_with_count}{end_comments_anchortag} {start_trackbacks_anchortag}{trackbacks_with_count}{end_trackbacks_anchortag}
</div>
</div>
<div class="block-divider"> </div>
This is what I have on my storytext.thtml page...
Text Formatted Code
<div class="story"><span class="story-icons">
{email_icon} {print_icon} {pdf_icon}
</span>
<h1>{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h1>
<div class="story-body">
{story_anchortag_and_image}{story_introtext}
</div>
<div class="story-footer">
{edit_link} {page_selector}<br /> {readmore_link} {post_comment_link}<br /> {start_comments_anchortag}{comments_with_count}{end_comments_anchortag} {start_trackbacks_anchortag}{trackbacks_with_count}{end_trackbacks_anchortag}
</div>
</div>
<div class="block-divider"> </div>
9
8
Quote
Status: offline
kilerb
Forum User
Regular Poster
Registered: 03/19/08
Posts: 119
Thanks a lot... The space is smaller now. There's still 1 line of blank space between the first and 2nd part now. Is it supposed to be like this? http://www.socalstandup.com/article.php?story=wasabistory
Thanks
Thanks
9
10
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Kilerb,
With the story_text_no_br you need to use plain text as advanced editor will always create a paragraph for the intro and another for the body.
If someone have a solution :
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
With the story_text_no_br you need to use plain text as advanced editor will always create a paragraph for the intro and another for the body.
If someone have a solution :
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
7
9
Quote
Status: offline
kilerb
Forum User
Regular Poster
Registered: 03/19/08
Posts: 119
Quote by: cordiste
Kilerb,
With the story_text_no_br you need to use plain text as advanced editor will always create a paragraph for the intro and another for the body.
If someone have a solution :
::Ben
If I use the plain text editor I can avoid this? Or no?
7
9
Quote
All times are EST. The time is now 08:44 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content