This site is READ ONLY!! No support will be given! Everything in here is just for archiving purposes!

Html tidy [SOLVED]

Support for your styles questions
Forum rules
** AND PLEASE PROVIDE A LINK TO YOUR SITE THAT YOU NEED HELP WITH! OR I MIGHT NOT HELP YOU **
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Html tidy

Post by cisco007 »

well then that means, you have the closing </div> somewhere else withing that file, if you use notepad++ you will be able to tell where the closing tag is it's just weird that you only have that opening tag there and the closing tag nowhere near there for a html image!
Image
User avatar
Blackwolf_Oz
Donators
Donators
Posts: 435
Joined: Tue Sep 21 2010 8:25 pm
Real name: Nick
Country Flag: Australia
Location: Melbourne, Australia
Contact:

Re: Html tidy

Post by Blackwolf_Oz »

Hope you dont mind me posting it here. Just FYI :)

forumlist_body.html.

Code: Select all

<script type="text/javascript">
// <![CDATA[
function ShowSubForums(id)
{
   dE('f_'+id,1,'inline');
   dE('sf_'+id,-1);
}
function HideSubForums(id)
{
   dE('f_'+id,-1);
   dE('sf_'+id,1,'inline');
}
// ]]>
</script>
<!-- BEGIN forumrow -->
	<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
			</ul>

			{$CA_BLOCK_END}
		</div>
	<!-- ENDIF -->

	<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW  or forumrow.S_NO_CAT  -->
        <script type="text/javascript">
        // <![CDATA[
            ca_forum_register('{forumrow.FORUM_ID}');
        // ]]>
        </script>
		<div class="forabg">
			{$CA_BLOCK_START}
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
    				    <a href="#" onclick="ca_expand_forum(this, {forumrow.FORUM_ID}); return false;" class="forum-expand" id="forumblock{forumrow.FORUM_ID}"></a>
						<dt><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></dt>
						<dd class="topics">{L_TOPICS}</dd>
						<dd class="posts">{L_POSTS}</dd>
						<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
					</dl>
				</li>
			</ul>
			<ul class="topiclist forums">
	<!-- ENDIF -->

	<!-- IF not forumrow.S_IS_CAT -->
		<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> row-new<!-- ENDIF -->">
			<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
				<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
                                            <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" style="float: right;" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a><!-- ENDIF -->

					<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><div class="forum-image-div"><!-- ENDIF -->
					<a href="{forumrow.U_VIEWFORUM}" class="forumtitle"<!-- IF forumrow.S_UNREAD_FORUM --> style="color:#b22222;"<!-- ENDIF -->>{forumrow.FORUM_NAME}</a><!-- IF not forumrow.S_IS_LINK && forumrow.S_USERS--> ({forumrow.L_FORUM_VISIT})<!-- ENDIF --><br />
					{forumrow.FORUM_DESC}
					<!-- IF forumrow.MODERATORS -->
						<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
					<!-- ENDIF -->
					<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong><span id="sf_{forumrow.FORUM_ID}"><a href="#" onclick="ShowSubForums({forumrow.FORUM_ID}); return false;">[ + ]</a> </span><span id="f_{forumrow.FORUM_ID}" style="display:none;"><a href="#" onclick="HideSubForums({forumrow.FORUM_ID}); return false;">[ - ]</a> {forumrow.SUBFORUMS}</span><!-- ENDIF -->
					<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
				</dt>
				<!-- IF forumrow.CLICKS -->
               <dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd>
            <!-- ELSEIF not forumrow.S_IS_LINK -->
               <dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
               <dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
               <dd class="lastpost"><span>
                  <!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
                  <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn><a href="{forumrow.U_LAST_POST}" <!-- IF forumrow.S_UNREAD_FORUM --> style="color:#b22222;"<!-- ENDIF --> title="{forumrow.LAST_POST_SUBJECT}"><b>{forumrow.LAST_POST_SHORTENED_SUBJECT}</b></a><br /> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
                  <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --></span>
               </dd>
            <!-- ENDIF -->
			</dl>
		</li>
	<!-- ENDIF -->

	<!-- IF forumrow.S_LAST_ROW -->
			</ul>

			{$CA_BLOCK_END}
		</div>
	<!-- ENDIF -->

<!-- BEGINELSE -->
	<div class="panel">
		{$CA_BLOCK_START}
		<strong>{L_NO_FORUMS}</strong>
		{$CA_BLOCK_END}
	</div>
<!-- END forumrow -->

<script type="text/javascript">
// <![CDATA[
onload_functions[onload_functions.length] = 'ca_parse_forums();';
// ]]>
</script>
PhpBB3 Version: 3.0.10
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
phpbb team phpbbandbbcodes
phpbb team
phpbbandbbcodes
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Html tidy

Post by cisco007 »

why are you posting that here?
i don't see the code we talked about on there!!
Image
User avatar
Blackwolf_Oz
Donators
Donators
Posts: 435
Joined: Tue Sep 21 2010 8:25 pm
Real name: Nick
Country Flag: Australia
Location: Melbourne, Australia
Contact:

Re: Html tidy

Post by Blackwolf_Oz »

Because that is the only file that, out of (overall_header.html, forumlist_body.html, index_body.html, and overall_footer.html), has the instance of <div class="forum-image-div"> in it.

The code is there.
PhpBB3 Version: 3.0.10
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
phpbb team phpbbandbbcodes
phpbb team
phpbbandbbcodes
User avatar
cisco007
Ciscox
Ciscox
Posts: 2843
Joined: Thu Sep 16 2010 3:25 pm
Country Flag: Mexico

Re: Html tidy

Post by cisco007 »

well if you really need that piece of code there
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><div class="forum-image-div"><!-- ENDIF -->
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle"<!-- IF forumrow.S_UNREAD_FORUM --> style="color:#b22222;"<!-- ENDIF -->>{forumrow.FORUM_NAME}</a><!-- IF not forumrow.S_IS_LINK && forumrow.S_USERS--> ({forumrow.L_FORUM_VISIT})<!-- ENDIF --><br />
{forumrow.FORUM_DESC}
<!-- IF forumrow.MODERATORS -->
<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
<!-- ENDIF -->
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong><span id="sf_{forumrow.FORUM_ID}"><a href="#" onclick="ShowSubForums({forumrow.FORUM_ID}); return false;">[ + ]</a> </span><span id="f_{forumrow.FORUM_ID}" style="display:none;"><a href="#" onclick="HideSubForums({forumrow.FORUM_ID}); return false;">[ - ]</a> {forumrow.SUBFORUMS}</span><!-- ENDIF -->
<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
because it's part of the style or a mod, you either have to live with it or remove the red parts. it's up to you!
Image
User avatar
Blackwolf_Oz
Donators
Donators
Posts: 435
Joined: Tue Sep 21 2010 8:25 pm
Real name: Nick
Country Flag: Australia
Location: Melbourne, Australia
Contact:

Re: Html tidy

Post by Blackwolf_Oz »

Thanks. I'll leave it there. Forums fine with it.
PhpBB3 Version: 3.0.10
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.
phpbb team phpbbandbbcodes
phpbb team
phpbbandbbcodes
Post Reply