Login     Sign up
add block page feed, please
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

in application.tpl.php

before

[code]
$output .= '
<div id="appmain">';
[/code]

add this

[code]
else {
$output .= '
<style>

jcow_app_container {

                width: 600px;

            </style>';
}

[/code]

[i]for other people: this is code for themes based on the facebook theme[/i]

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

success ... but it shrinks the other pages ..

Here are some examples, a page created and the message box

[b]page created[/b]
[URL=http://www.subeimagenes.com/img/error-achica-las-demas-pag-8755.html][IMG]http://www.subeimagenes.com/thumb/error-achica-las-demas-pag-8755.gif[/IMG][/URL]
http://www.subeimagenes.com/img/error-achica-las-demas-pag-8755.gif

[b]message box[/b]
[URL=http://www.subeimagenes.com/img/error-achica-las-demas-pagi-8756.html][IMG]http://www.subeimagenes.com/thumb/error-achica-las-demas-pagi-8756.gif[/IMG][/URL]
http://www.subeimagenes.com/img/error-achica-las-demas-pagi-8756.gif

if I could help with this would be very grateful.

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

[code]
else {
if ($data['application'] == 'feed' ){
$output .= '
<style>

jcow_app_container {

width: 600px;

</style>';
}
}

[/code]

try this one

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

Parse error: syntax error, unexpected '{' in /home/facehot/public_html/f/themes/facehot/application.tpl.php on line 41

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

if forgot the closing )

try again, i updated the code

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

exito...

you're a [b]guru[/b] as said in another post jejajaja.

now about the same ... as he also added this to the home?

[code]if (($application == 'feed' && $client['id']) || (!$is_cover)) {
echo '<td valign="top"><div style="width:170px;float:right;">
'.get_gvar('theme_block_adsbar').'</div></td>';
}[/code]

as adding "feed" + "home"

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

[code]
if ( ( (($application == 'feed') || ($application == 'feed')) && $client['id']) || (!$is_cover) ) {
echo '<td valign="top"><div style="width:170px;float:right;">
'.get_gvar('theme_block_adsbar').'</div></td>';
}

[/code]

this should do the trick

164 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

no, do not generate any change: (

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

Hey mate this is what I'm getting in dashboard but rest of site sweet...

[url]http://screencast.com/t/BQnw0lW3l[/url]

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

is this codes for the blue theme too ?

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

no just for facebook theme

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

and solved the problem yet switch ?

164 months ago
Prev 1 2 3 Next