Recent Topics

1 Sep 25, 2004 04:48    

I'm playing around with the custom skin and noticed the code says:

<div class="bSmallHead">
					Posted by: <?php $Item->Author->prefered_name(); ?>.
					<?php
					$Item->issue_time();
					echo ', ', T_('Categories'), ': ';
					$Item->categories();
					?>
					</div>

and the output looks something like:

<div class="bSmallHead">
		Posted by: MyName.
		12:09:52 pm, Categories: <strong><a href="http://www.whatever.com/etc?cat=1" title="Browse category">Announcements</a></strong>, 49 words &nbsp; <img src="http://www.whatever.com/img/flags/h10px/us.gif" alt="English (US)" class="flag"/> 		</div>

My question is, where did the STRONG tag come from? I'd like to remove it...or maybe I should just style the ".bSmallHead strong" tag directly?

2 Sep 25, 2004 15:26

I ended up styling ".bSmallHead strong a" in the css file and was able to get the desired result. But the question still remains...where does that STRONG tag come from?

3 Sep 26, 2004 02:30

PowerDesk (Win) = freebie, sort of a super intelligent file explorer. After installing, it will add "File Finder" to your right click context menu. To find otherwise mysterious code, I
-- place my cursor on the top b2evo directory,
-- right click,
-- select File Finder
-- click the Content tab
-- and enter one or two adjacent words/code I'm looking for
-- when the hit list appears, I replace that word with another, and choose "refine"
-- and checkmark the show-in-context box

There's a magnifying glass on the toolbar. Use it to see the file's innards.

http://www.vnunet.com/downloads/1117916

Has saved me hours of hunting, while tweaking b2evo templates/skins.

4 Sep 26, 2004 05:09

Thanks Treo, but I used another search application I already have and was able to spot what I needed. I may check out PowerDesk, though. It seems useful.

Just to answer the question I raised...The STRONG tag was coming from the b2evocore file "_class_item.php". The code was the following:

function categories(
		$link_title = '#',
		$before_main='<strong>', $after_main='</strong>',
		$before_other='', $after_other='',
		$before_external='<em>', $after_external='</em>',
		$separator = ', ',
		$format = 'htmlbody'
	 )

5 Jun 29, 2005 05:09

I signed up to this forum just so i could say thanks for posting this thread. I would have never found that tag.

Carl

6 Sep 02, 2005 18:44

Treo,

Thanks for mentioning PowerDesk.

XP Explorer "search" is awfule. I've tried MSN Toolbar (which has a desktop search function, integrated with Outlook) but that falls short of what I want too.

I downloaded PowerDesk and followed your steps. I lost you on the "checkmark the show-in-context box" step (I couldn't find it).

Also, the magnifying glass (file preview) only works if you have the paid version, which is (currently) $49.99 USD.

The workflow you mention, however, does a great job of finding b2evo files that contain certain strings of code. (Just the free version - at first blush - appears useful).

Thanks.

-stk


Form is loading...