MyXoops Forum

Inhalt in einem Block darstellen? [Module für News und Content] - myXOOPS German Support

Teralink

"myXOOPs"-Neuling
Gepostet am:05.05.2006 09:51
Teralink
Teralink Offline (Show more)
"myXOOPs"-Neuling
Posts: 12
Since: 05.05.2006
#4

Re: Inhalt in einem Block darstellen?

Hallo nochmal!

Ich musste nur blockTitle2 statt blockTitle verwenden. jetzt ist alles perfekt!

Vielen Dank nochmal!!

mfg,
teralink

Teralink

"myXOOPs"-Neuling
Gepostet am:05.05.2006 09:43
Teralink
Teralink Offline (Show more)
"myXOOPs"-Neuling
Posts: 12
Since: 05.05.2006
#3

Re: Inhalt in einem Block darstellen?

Hallo!

Danke für deine superschnelle Antwort!

Im Grunde hat das funktioniert. Jetzt wird alles in einem Block dargestellt. Nur sieht dieser Block komischerweise ganz anders aus als die restlichen Blocks. Wie kann das sein?

Mfg,
teralink

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.

frankblack

"myXOOPs"-Profi
Gepostet am:05.05.2006 09:31
frankblack
frankblack Offline (Show more)
"myXOOPs"-Profi
Posts: 747
Since: 19.04.2006
#2

Re: Inhalt in einem Block darstellen?

Pi-Mal-Daumen müsste dann das template tc_index.html von tinycontent folgenden Inhalt haben:

<div style="padding: 5px;">
  <
fieldset>
    <
legend class="blockTitle"><{$title}></legend>
    <
div class="blockContent"><{$content}></div>
<
div style="padding: 5px; text-align: right; margin-right:3px;">
<
a href="print.php?id=<{$id}>"><img src="images/print.gif" border="0" alt="<{$lang_printerpage}>" /></a>
<
a href="<{$mail_link}>" target="_top"><img src="images/friend.gif" border="0" alt="<{$lang_sendstory}>" /></a>
</
div>

<{if 
$nocomments == 0}>
<
br /><br />
<
div style="text-align: center; padding: 3px; margin: 3px;">
  <{
$commentsnav}>
  <{
$lang_notice}>
</
div>

<
div style="margin: 3px; padding: 3px;">
<!-- 
start comments loop -->
<{if 
$comment_mode == "flat"}>
  <{include 
file="db:system_comments_flat.html"}>
<{elseif 
$comment_mode == "thread"}>
  <{include 
file="db:system_comments_thread.html"}>
<{elseif 
$comment_mode == "nest"}>
  <{include 
file="db:system_comments_nest.html"}>
<{/if}>
<!-- 
end comments loop -->
</
div>
<{/if}>
  </
fieldset>
</
div>


Nicht hauen, wenn das nicht stimmt. War nur eine theoretische Überlegung.

Teralink

"myXOOPs"-Neuling
Gepostet am:05.05.2006 09:21
Teralink
Teralink Offline (Show more)
"myXOOPs"-Neuling
Posts: 12
Since: 05.05.2006
#1

Inhalt in einem Block darstellen?

Hallo!

Ich verwende TinyContent um meine statischen Seiten einzubinden und MultiMenu um diese in einem Menü zu verlinken.

Eigentlich klappt auch alles wunderbar. Nur...

Der Content der mittels index.php?id=[nr] aufgerufen wird, wird nicht so dargestellt wie ich mir das wünsche. Er wird einfach so wie er ist an den Platz des Center-Blocks gestellt. Aber leider OHNE Block. Ich möchte jedoch, dass der Content genauso wie alles andere in einem schönen Block mit Titel und Rahmen dargestellt wird.

Ich hoffe ich hab mich einigermaßen Verständlich ausgedrückt...

Wäre toll, wenn ihr mir helfen könntet!

Mfg,
teralink
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5322 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag