This forum is for assistance with theme development.

any copyright issue in cloning web-sites layouts?

hi all,

I'm working on a Drupal theme which would be a clone of SourceForge, do you think that this is legal?
I asked SF staff but didn't recieve an answer yet :(

thanks, bye
Maurizio

How can i display the article topic of sub categories at the main category?help me!

How can i display the article topic of sub categories at the main category?help me!

hi!

I created categories like this:

Name Operations

Level 1 edit
-- Level2 edit
---- Level3-1 edit
---- Level3-2 edit
---- Level3-3 edit
---- Level3-4 edit

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.

Pages

Subscribe with RSS Subscribe to RSS - Theme development