dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/7/2004 at 08:55 PM |
PN-726
Question:
Current theme - fiblack - looks like ported from nuclei - works well. The
relevant existing theme.html code is:
code: <td
valign="top"><!-- [left-blocks] --></td> <td
align="center" valign="top"><!-- [center-blocks] --><BR
/><!-- [modules] --><BR /><BR /></td>
<td valign="top" align="right"><!-- [right-blocks]
-->
</td>
I want a bottom block that will float below <-- modules --> as
additions are made to news articles, etc.
code: <td
valign="top"><!-- [left-blocks] --></td>
<td align="center" valign="top"><!-- [center-blocks]
--><BR /><!-- [modules] --><BR /><!--
[center-blocks] --><BR /></td><td valign="top"
align="right">
<!-- [right-blocks]
--></td>
The above test placed the center block below the news as desired.
Designed a suitable bottom block table that I want to hold 3 blocks of mod
data - 2 up - 1 lower:
polls and who's online or other blocks as desired with
banners below
Will <!-- [polls] --><!-- [banners1] --> place the right
module data in this area or are different calls required, ie <--
$banner1 -->?
Saved as newly designed table as area1block.html with only css and
table code. When I added it to the Theme.html
code: <td
valign="top"><!-- [left-blocks] --></td>
<td align="center" valign="top"><!-- [center-blocks]
--><BR /><!-- [modules] --><BR /><!--
[area1-block] --><BR /></td><td valign="top"
align="right"><!-- [right-blocks]
--></td>
and loaded the theme - no bottom block appeared below the news.
Checked the Tutorials link that is in Forums but the links from the page
are broken.
Assistance appreciated so I can finish the theme on this site
David
[Edited on 9/7/2004 by dpottier] |
| |
| |
Mars
Moderator   Posts: 349 Registered: 3/11/2003 Status: Offline
|
posted on 7/9/2004 at 02:09 AM |
Well I would of offered to redo the blocks on the theme for you if I didn't
notice you completely removed my copyrights and the link to my site on the
bottom of the FREE theme you downloaded from me..
____________________ PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes! |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 02:35 AM |
quote: Well I would of offered
to redo the blocks on the theme for you if I didn't notice you completely
removed my copyrights and the link to my site on the bottom of the FREE
theme you downloaded from me..
I don't think dl was from your site at all. I think it
was part of a group of files dl from the Envolution site. However, I did
check the your original and the online footers and noticed that the link to
your site is not there. My appologies for that error. I think Adam
or Jordan must have been at the graphics. I will see it gets changed back
and that your link appears. In the meantime, your design has been taken
offline with my appologies and Adm and Jordan get no Twinkies for a week.
If you check the current theme you will see credit given to designer
(bottom left)
David |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 02:51 AM |
quote: Well I would of offered
to redo the blocks on the theme for you if I didn't notice you completely
removed my copyrights and the link to my site on the bottom of the FREE
theme you downloaded from me..
Just went online myself and made the change back to original footer.
David
[Edited on 9/7/2004 by dpottier] |
| |
Mars
Moderator   Posts: 349 Registered: 3/11/2003 Status: Offline
|
posted on 7/9/2004 at 11:04 AM |
Thanks.
I really do appreciate that.
Now
your <!-- [area1-block] --> code should be <!-- [area1-blocks]
-->
____________________ PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes! |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 06:02 PM |
quote: your <!--
[area1-block] --> code should be <!-- [area1-blocks] -->
Had already tried that - didn't work.
AutoTheme Config for FIBlack
code: Templates
theme.html - Main
Table 1
Table 2
summary.html - Summary
0 - Use Alternating Summary?
summary1.html - Summary 1
summary1.html - Summary 2
article.html - Article
Block Templates
leftblock.html - Left Block
centerblock.html - Center Block
rightblock.html - Right Block
area1block.html - Area1 Block
bottom.html - Area2 Block
Relevant section from theme.html
code: <table width="100%"
border="0" cellspacing="0" cellpadding="0" align="center"
height="100%"><tr>
<td valign="top"><!-- [left-blocks] --></td>
<td align="center" valign="top"><!-- [area1-blocks]
--><BR /><!-- [center-blocks] --><BR />
<!-- [modules] --><BR />
</td><td valign="top" align="right"><!-- [right-blocks]
--></td></tr></table>
[area1-blocks] does not show up on top of the web page as
expected.
Replacing [area1-blocks] with the banners call as [banners] returns
a banner on page load on line 510 (view source).
Changing [banners] call to the <!-- [area1-blocks] --> call
injects nothing on line 510 of the compiled page.
As a test I removed <! -- --> and left [area1-blocks] -
which rendered as [area1-blocks] on the page - not the block.
I don't understand why the addition is not being rendered. Have placed the
FLBlack in the site downloads area for you to have a look at if you
wish.
David
|
| |
Mars
Moderator   Posts: 349 Registered: 3/11/2003 Status: Offline
|
posted on 7/9/2004 at 06:39 PM |
Try a capital A <!-- [Area1-blocks] -->
____________________ PostNuke Themes
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes! |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 06:49 PM |
quote: Try a capital A <!--
[Area1-blocks] -->
Tried that one already - no effect.
Took off the <! -- --> and [Area1-blocks] showed up in the right
place
put <! -- --> back and nothing showed up and it should. the HTML
file has Test area 1; Test Area 2, etc all over it for
location marking - but the HTML insert is a no show on the rendered
page.
David
|
| |
Shawn
Administrator   Posts: 4608 Registered: 10/7/2002 Status: Online
|
posted on 7/9/2004 at 06:58 PM |
#1 do you have an area1block.html?
#2 do you have any blocks assigned to Area1?
-Shawn |
| |
Mars
Moderator   Posts: 349 Registered: 3/11/2003 Status: Offline
|
posted on 7/9/2004 at 07:00 PM |
You did install AT Lite completely?
Sounds like you didn't replace the blocks file.
also what is the content of area1blocks.html ?
It should at a minimum have <!-- [block-content] --> ____________________ PostNuke Themes
/>
PHPNuke Themes
AutoThemes
Your #1 source for FREE and custom AutoThemes! |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 07:23 PM |
quote: You did install AT Lite
completely?
Completely installed and Blocks are there. But to make sure I just uploaded
it again.
quote: also what is the content
of area1blocks.html ?
It should at a minimum have <!-- [block-content] -->
Here is area1bocks.html code
code: <style
type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD width="60"> <IMG SRC="<!-- [image-path]
-->fiblacksummary_01.gif" WIDTH=60 HEIGHT=80 ALT=""></TD>
<TD background="<!-- [image-path] -->fiblacksummary_02.gif"
HEIGHT=80 ALT="">
test text 1</TD>
<TD width="60"> <IMG SRC="<!-- [image-path]
-->fiblacksummary_03.gif" WIDTH=60 HEIGHT=80 ALT=""></TD>
</TR>
<TR>
<TD background="<!-- [image-path] -->fiblacksummary_04.gif"
WIDTH=60 HEIGHT=100 ALT=""></TD>
<TD background="<!-- [image-path] -->fiblacksummary_05.gif"
HEIGHT=100 ALT="">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
height="100%">
<tr>
<td align="center" valign="top" width="50%">test area 2
</td>
<td width="50%" valign="top"><center>test area
3</center>
</td>
</tr>
<tr valign="top">
<td colspan=2 background="<!-- [image-path]
-->fiblacksummary_04a.gif" >
<br /><center> <H1 />TEST</h1 /> <b /><!--
[banners] --></center>
</td>
</tr>
</table>
</TD>
<TD background="<!-- [image-path] -->fiblacksummary_06.gif"
WIDTH=60 HEIGHT=100 ALT=""></TD>
</TR>
<TR>
<TD width="60"> <IMG SRC="<!-- [image-path]
-->fiblacksummary_07.gif" WIDTH=60 HEIGHT=30 ALT=""></TD>
<TD background="<!-- [image-path] -->fiblacksummary_08.gif"
HEIGHT=30 ALT=""></TD>
<TD width="60"> <IMG SRC="<!-- [image-path]
-->fiblacksummary_09.gif" WIDTH=60 HEIGHT=30 ALT=""></TD>
</TR>
</TABLE>
|
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 07:27 PM |
quote: #1 do you have an
area1block.html?
#2 do you have any blocks assigned to Area1?
Hi Shawn:
See posted area1block.html code I have <! -- [banners]
--> assigned
David |
| |
Shawn
Administrator   Posts: 4608 Registered: 10/7/2002 Status: Online
|
posted on 7/9/2004 at 07:32 PM |
No, you need to have a block or blocks in Administration Blocks assigned to
Area1. Then it will display that Block or Blocks.
Example: Assign Who's Online to Area1, then Who's online will display
where you have <!-- [Area1-blocks] --> |
| |
dpottier
Member   Posts: 52 Registered: 12/28/2002 Status: Offline
|
posted on 7/9/2004 at 09:23 PM |
quote: No, you need to have a
block or blocks in Administration Blocks assigned to Area1. Then it will
display that Block or Blocks. Example: Assign Who's Online to Area1, then
Who's online will display where you have <!-- [Area1-blocks] -->
Not sure I follow this. Are you referring to theme.cfg having an entry
something like this?
code: $blocktemplate = array
(
'Area2block' => 'banners',
|
| |
Shawn
Administrator   Posts: 4608 Registered: 10/7/2002 Status: Online
|
posted on 7/10/2004 at 12:07 AM |
No, AutoBlocks are not "blocks", they are positions like left and right.
-Shawn |
| |