Adding Short description text into left column?

Grafic

No avatar

2008-11-01 18:02

Like this.

[URL=http://imgplace.com/image/view/08751c10191776d099f70e3cf8703c5e][IMG]http://imgplace.com/image_bin/2374/08751c101 91776d099f70e3cf8703c5e.png.th.jpg[/IMG][/URL]

or

[URL=http://imgplace.com/image/view/5d86ccc08a39ce91e2b5adcb8fde7435][IMG]http://imgplace.com/image_bin/7075/5d86ccc08 a39ce91e2b5adcb8fde7435.png.th.jpg[/IMG][/URL]

Please help me, someone?

» Quick.Cms v2.x

Grafic

No avatar

2008-11-01 18:04

http://imgplace.com/image/view/08751c10191776d099f70e3cf8703c5e


http://imgplace.com/image/view/5d86ccc08a39ce91e2b5adcb8fde7435

treewood (OpenSolution)

Avatar: treewood

2008-11-03 07:47

it is possible. you must edit templates/container.tpl in block BODY after $sMenu4 put $aData[sName] and $aData[sDescriptionShort]

Grafic

No avatar

2008-11-03 14:06

A have try it, but it shows Short description text only from last page in menu not from actual page.

http://quickcms.wz.cz/

/ and by list in Short description text is created |n| /
<ul>
<li>Petzl</li>
<li>Petzl</li>
<li>Petzl</li>
<li>Petzl</li>
<li>Petzl</li>
<li>Petzl</li>
</ul>

treewood (OpenSolution)

Avatar: treewood

2008-11-04 09:28

i must see what you have done. past some code (not all code) what you changed

Grafic

No avatar

2008-11-04 14:11

<div id="body">
<div id="column2">
<!-- additional column, hidden in styles -->
</div>

<div id="column">
$sMenu3
$sMenu4
$aData[sName]
$aData[sDescriptionShort]
</div>
<div id="content">
<!-- END BODY -->

treewood (OpenSolution)

Avatar: treewood

2008-11-05 08:07

Grafic - ok i understand. then go to actions_client/p.php and add this:
$sPageName = $aData['sName'];
$sPageDescShort = $aData['sDescriptionShort'];
before this:
$aData['sPagesTree'] = $oPage->throwPagesTree( $iContent );

After change this:
<div id="column">
$sMenu3
$sMenu4
$aData[sName]
$aData[sDescriptionShort]
</div>

to:

<div id="column">
$sMenu3
$sMenu4
$sPageName
$sPageDescShort
</div>

Grafic

No avatar

2008-11-05 17:20

treewood - Yes it works. Thanks.

But on end of all text line is |n|

http://quickcms.wz.cz/

treewood (OpenSolution)

Avatar: treewood

2008-11-06 08:16

then change this:
$sPageDescShort = $aData['sDescriptionShort'];
to this:
$sPageDescShort = ereg_replace( '\|n\|', '', $aData['sDescriptionShort'] );

Grafic

No avatar

2008-11-06 16:40

treewood - Yes, it works! Thanks.

Back to top
about us | contact