PDA

View Full Version : Code for Mini Titles


playwithmytwitt
03-01-2010, 05:38 PM
Someone remind me of the code to get the background titles back, removed it.

Also, make the <title>'s individual per background page

Thanks,
Daniel

SlickEddie
03-01-2010, 06:21 PM
Someone remind me of the code to get the background titles back, removed it.

Also, make the <title>'s individual per background page

Thanks,
Daniel

did you edit the twitter_builder.php file?

in the header.php file you can add


<title><?=$title;?></title>


then in the builder files, you can set that field

playwithmytwitt
03-02-2010, 01:36 PM
Yes, we edited the file

Please remind us of the thing to put the background titles back

SlickEddie
03-02-2010, 03:01 PM
Yes, we edited the file

Please remind us of the thing to put the background titles back

perhaps you mean this, in the twitter_builder.php file


'<td><p class="title">'.$name.'</p></td><td>&nbsp;</td>',"\n",

playwithmytwitt
03-02-2010, 03:54 PM
Doesn't work.

Where do I put it?

Anne
03-03-2010, 05:06 PM
Ok, what he's trying to do is this.... You know how the twitter layout categories have the title of the category above the thumbnail image?

He's trying to accomplish the same thing with the individual layouts. So take the skull category. You click on the thumbnail or link for the skull category, and it takes you to the actual layouts. He wants the name of each layout to show above the actual layout, and he wants the script to read the name of the layout from the folder name. For example, in the skull folder, he would have the folders for the layouts named Twitter Skull Layout 1 and Twitter Skull Layout 2, etc. Those would be the names that would need to show above the layout.

How and where would he go about doing that?

SlickEddie
03-03-2010, 10:17 PM
Ok, what he's trying to do is this.... You know how the twitter layout categories have the title of the category above the thumbnail image?

He's trying to accomplish the same thing with the individual layouts. So take the skull category. You click on the thumbnail or link for the skull category, and it takes you to the actual layouts. He wants the name of each layout to show above the actual layout, and he wants the script to read the name of the layout from the folder name. For example, in the skull folder, he would have the folders for the layouts named Twitter Skull Layout 1 and Twitter Skull Layout 2, etc. Those would be the names that would need to show above the layout.

How and where would he go about doing that?

I believe this is what I was referencing above with the $name field. It appears that the original twitter_builder.php was edited so I would need access to identify the "right" spot to place this.