Login     Sign up
how to add content on leftbar[menubar]
caio salim (@caiosalim)
Join date: Dec 3rd 2010
Community posts: 1
View Profile
Send Message

I wanna put content below the menu, on left bar.
How i do that customization?

172 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

in admin-cp / themes / yourthemes manage blocks

172 months ago
fantastica (@fantastica)
Join date: Nov 26th 2010
Community posts: 82
View Profile
Send Message

i designed apage and upload it on my server , it is with 140px width .
how i add it to the addbar ?
i know that is frome admin/themes/mange bloks , but wich code i add ?!

172 months ago
Alex Neave (@alexn)
Join date: Dec 17th 2010
Community posts: 10
View Profile
Send Message

If it is just a basic banner link, you can use this:

<a href="Your page your url"><img src="where image is" alt="This is my picture"/></a>

Example:

<a href="[url]http://www.mysite.com"><img[/url] src="[url]http://mysite.com/images/myad01.jpg"[/url] alt="this is my ad"/></a>

172 months ago
fantastica (@fantastica)
Join date: Nov 26th 2010
Community posts: 82
View Profile
Send Message

[quote=alexn]If it is just a basic banner link, you can use this:

<a href="Your page your url"><img src="where image is" alt="This is my picture"/></a>

Example:

<a href="[url]http://www.mysite.com"><img[/url] src="[url]http://mysite.com/images/myad01.jpg"[/url] alt="this is my ad"/></a> [/quote]

thank u 4 help , but it is not just banner .
it hase pictures + texts + ......
can i add it as it in the side/addbar ??

thank u

172 months ago
Alex Neave (@alexn)
Join date: Dec 17th 2010
Community posts: 10
View Profile
Send Message

[quote=fantastica]

thank u 4 help , but it is not just banner .
it hase pictures + texts + ......
can i add it as it in the side/addbar ??

thank u [/quote]

I am very new to this script also, so I do not know the limits of the allowable HTML. All I can suggest is to experiment with the basic code and see what is allowable. If it is just pictures and text it should be allowed with the normal tags <a> <img> <p> other tags may be overuled by the CSS or throw your whole page out of whack, so best just to experiment and learn.

172 months ago
fantastica (@fantastica)
Join date: Nov 26th 2010
Community posts: 82
View Profile
Send Message

[quote=alexn]

I am very new to this script also, so I do not know the limits of the allowable HTML. All I can suggest is to experiment with the basic code and see what is allowable. If it is just pictures and text it should be allowed with the normal tags <a> <img> <p> other tags may be overuled by the CSS or throw your whole page out of whack, so best just to experiment and learn. [/quote]

thank you from the heart
ok i will search and hop to find
thanks my friend

172 months ago
Alex Neave (@alexn)
Join date: Dec 17th 2010
Community posts: 10
View Profile
Send Message

[quote=fantastica]

thank you from the heart
ok i will search and hop to find
thanks my friend [/quote]

You may want to check this page out, He/She seems to have it tricked out to the max. They are even offering a piece of script
Here:[url]http://temanku.net/index.php?p=[/url]

sidebar code:[url]http://temanku.net/index.php?p=blogs/viewstory/442[/url]

172 months ago
fantastica (@fantastica)
Join date: Nov 26th 2010
Community posts: 82
View Profile
Send Message

[quote=alexn]

You may want to check this page out, He/She seems to have it tricked out to the max. They are even offering a piece of script
Here:[url]http://temanku.net/index.php?p=[/url]

sidebar code:[url]http://temanku.net/index.php?p=blogs/viewstory/442[/url] [/quote]

thank you again friend
first i dont understand there landuage
then there code is about to add adds frome [url]http://adsensecamp.com/[/url]

thank you

172 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

add something on left menu bar (where are links like Dashboard, Blogs,Photos,....)

for facebook theme

page.tpl.php

this is more or less the original code
[code]
if($client['id']) {
echo '<td valign="top" id="menubartd">
<div id="menubar">';
echo '<table border="0" width="170px"><tr><td width="60"><a href="'.url('u/'.$client['fullname']).'"><img width="50" height="50" src="'.uhome().'/uploads/avatars/s
'.$client['avatar'].'" /></a>
</td>
<td valign="top"><strong>'.url('u/'.$client['username'],$client['fullname']).'</strong>
<br />'.url('account',t(' Edit My Profile')).'
</td></tr></table>
';
echo '<ul id="sidebarmenu">';
if (is_array($personal_menu)) {
foreach ($personal_menu as $item) {
if ($item['path'] != 'account') {
echo '<li '.check_menu_on($item['path']).' >'.url($item['path'],
'<div style="padding:3px 0 3px 23px;background:url('.uhome().'/modules/'.$item['app'].'/icon.png) 0 1px no-repeat">'.t($item['name']).'</div>'
).'</li>';
}
}
}
echo '</ul>';
echo get_gvar('theme_block_lsidebar');
echo '</div>';
echo '</td>';
}
[/code]

if you want to add some code in the leftbar, you can do this before the echo '</td>' or echo '</div>' line.

or you can put your code in the admin panel, manage blocks and this will be the value of get_gvar('theme_block_lsidebar')

172 months ago
fantastica (@fantastica)
Join date: Nov 26th 2010
Community posts: 82
View Profile
Send Message

[quote=falcone]add something on left menu bar (where are links like Dashboard, Blogs,Photos,....)

for facebook theme

page.tpl.php

this is more or less the original code
[code]
if($client['id']) {
echo '<td valign="top" id="menubartd">
<div id="menubar">';
echo '<table border="0" width="170px"><tr><td width="60"><a href="'.url('u/'.$client['fullname']).'"><img width="50" height="50" src="'.uhome().'/uploads/avatars/s
'.$client['avatar'].'" /></a>
</td>
<td valign="top"><strong>'.url('u/'.$client['username'],$client['fullname']).'</strong>
<br />'.url('account',t(' Edit My Profile')).'
</td></tr></table>
';
echo '<ul id="sidebarmenu">';
if (is_array($personal_menu)) {
foreach ($personal_menu as $item) {
if ($item['path'] != 'account') {
echo '<li '.check_menu_on($item['path']).' >'.url($item['path'],
'<div style="padding:3px 0 3px 23px;background:url('.uhome().'/modules/'.$item['app'].'/icon.png) 0 1px no-repeat">'.t($item['name']).'</div>'
).'</li>';
}
}
}
echo '</ul>';
echo get_gvar('theme_block_lsidebar');
echo '</div>';
echo '</td>';
}
[/code]

if you want to add some code in the leftbar, you can do this before the echo '</td>' or echo '</div>' line.

or you can put your code in the admin panel, manage blocks and this will be the value of get_gvar('theme_block_lsidebar') [/quote]

thank u falcon for help .
i have the blue theme and i dont want the facebook theme .

thank you again

172 months ago
putribetha (@putribetha)
Join date: Sep 17th 2010
Community posts: 34
View Profile
Send Message

[img]http://putribetha.net/5_block.gif[/img]
custom setting in directory theme

172 months ago
1 2 Next