This forum is for assistance with theme development.

Removing Date/Author/Categories in content on Meta Theme

Title says it all really. I don't want to have the date/author section shown on each content page, or an empty taxonomy field below. I have tried using the tickbox feature to remove this in themes>config, but Meta Theme seems to override this.

Could someone give me a clue about what lines of code to comment out, and where I could find them please?

Kindest regards, Stephen

www.NetQuiz.co.uk

print www.domain.com, is there a variable?

I like to print copyright www.example.com in my footer, is there a variable that will call the domain name? with or without www (doesn't matter).

I tried base_url but it gives a relative base url.

Thanx in advance.

CCK textfield text in popup, browser problem

Drupal v.4.7.3
CCK v.4.7.0 (with imagefield.module 1.34)
Working on localhost, Windows XP pro sp2, Xampp Apache + MySQL, PHP 5

I want to popup a window with text from a textfield out of a CCK custom node. It only works in FireFox.

I've created a CCK custom node type with a textfield: rows= 15, datasettings= Required, textprocessing= Filtered text.
With the node I've created a custom template file. It contains a call like: drupal_add_js("/scripts/clickInfo.js");
Further I have:

<span class="ct_tracklist" title="click here" onClick="makeDynPopup(<?php print($field_tracklist[0]['view']) ; ?>)">tracklist</span>

The JavaScript function is:

function makeDynPopup(argtext)
{
	var mytext = argtext;
	var win = window.open("about:blank", "winName", 'width=480,height=240,scrollable=yes,resizable=yes,status=yes');
	win.document.open();
	win.document.write(mytext);
	win.document.close();
}

This works.... in FireFox 1.5.0.6 but not in Opera 9.01 and Internet Explorer 6.029.

The output in the browsers when I 'view source' looks identical, it contains p and br tags with all the text I've entered. When I manually feed a string into the function like this:

<span class="ct_tracklist" title="click here" onClick="makeDynPopup(<?php print("'<p>view<br /> this<p>'"); ?>)">tracklist</span>

Different icon image for every link

I have been trying to figuere out how to get a different icon image for every link in my secondary menu. That way every link has it's own personal icon.

Now I could change the image name to a number and then just print $variable.".jpg"; in a loop.
But.....the problem is that I would like to be able to assign an icon to a link in the admin area. That way you can easily change or add a link withour having to change the icon name or anything like that.

Maybe there is a plugin to do this....I looked but couldn't find anything.

Thanx for your help.

Customizing plain php themes

i want to customize a plain php theme. it outputs every html code like this:
$output .= "\n";
$output .= "

\n";

i did what's said in http://drupal.org/node/18151 but still all dreamweaver see is plain theme file. so i have two questions:

1. how can i extract pure html out of this plain php theme file?
2. after customizing how can i output pure html into plain php theme file?

Thanks

Having serious trouble getting the theme I want.

Hey all,

I and several others on my team have been constantly trying to figure out how to modify themes in a simple way, yet we're not getting any luck thus far. Would anyone be able to help?

Essentially, we're looking to transfer http://qahc.org.au/preview into Drupal (it's raw html at the moment). The actual features, such as discussion boards are no problem and are implemted easily. It's just getting the Drupal site to actually /look/ like that.

Pages

Subscribe with RSS Subscribe to RSS - Theme development