tags

django context with several inclusion_tag

Hi, I have a little problem with the context. I have an inclusion tag with the param : takes_context=True In this inclusion's tag's template, I call for another inclusion_tag which has also the param takes_context = True But in this last inclusion_tag context is None. I don't know why ? Thanks. ...

why is etags generating a corrupted TAGS file?

I have the following minimal source file: $ cat path/xx/yy/fooBar.c void this_is_a_test(void) { } If I run etags like this it works ok: $ etags path/xx/yy/fooBar.c $ cat TAGS path/xx/yy/fooBar.c,25 void this_is_a_test(1,0 But if I run etags via find/xargs the TAGS file is corrupted: $ find . -name fooBar.c ./path/xx/yy/fooBar...

Need help with sql query to find things tagged with all specified tags.

Let's say I have the following tables: TAGS id: integer name: string POSTS id: integer body: text TAGGINGS id: integer tag_id: integer post_id: integer How would I go about writing a query that select all posts that are tagged with ALL of the following tags (name attribute of tags table): "Cheese", "Wine", "Paris", "Frace", "City"...

Need help with sql query to find things with most specified tags

Let's say I have the following tables: TAGS id: integer name: string POSTS id: integer body: text TAGGINGS id: integer tag_id: integer post_id: integer How would I go about writing a query that selects all posts in order of the post containing the highest number of the following tags (name attribute of tags table): "Cheese", "Wine...

Tag suggestion plugin ala Stackoverflow tags

I love the way StackOverflow handles tags. Is there any jQuery plugin that would duplicate the behavior? I found this jQuery Tag Suggest but it's not near as good. Any suggestions? ...

Javascript closing tag is echoed twice from php

<?php echo "<script type = 'text/javascript'></script>"; ?> output's page source shows this : <script type = 'text/javascript'></script></script> Why is it putting an extra closing tag ?? and who is putting it there ?? browser ? server ? who ? ...

<a name="whatever"></a> deprecated Batch convert to id

I have a lot of old html files that I need to update. Hopefully, not manually. I can use a find/replace app to go through a directory and find all with <a name= and replace it <span id= since "name" is deprecated. How would I then find all of the correct endtags and convert </a> to </span> without ruining all hyperlinks? TIA, Linda ...

Best approach to MP3 tag searching

I am writing an application that will store music info in a mySQL database on the server, and will deliver information about these tracks to some client (Flash or Android, or whatever is asking). So, my question is what is the least painful way to populate said data given a giant list of mp3 files. I'm very comfortable in Perl, PHP, Py...

calculate in struts 2 tag ?

Hi. I have an iterate and i want to calculate sum of the values like this : <s:iterator value="myValues" status="myStatus"> <s:property value="value" /> </s:iterator> <s:property value="total.here" /> I want to show the sum of "value" in "total.here". Sorry for my bad english. Thank you very much. ...

Tags and Categories in Wordpress

Hi. I would like to discuss the right usage of tags and categories. I have a review site with over 1000 reviews of bars and clubs. I have set up post categories like this: Bar, Club, General Article. Since this is a very much geo-based review site, I have added Tags for each post, like for example this: Madrid, Spain. I store the exact ...

Strange behavior of HTML link tag

Hi, We came across a strange behavior while using html tag. Actually the issue was because of improper usage of the tag. As a result of that, the page was getting submitted 3 times in Mozilla Firefox and 2 times in IE7. Here is the issue. <link rel="stylesheet" type="text/css" title="Style" href=''/css/image.css'> This was the code t...

How do I add 'Tags' to my simple BlogPost class library & repository?

Hi folks, Update Checking StackOverflow OData service it's exactly like Posts / PostTags / Tags ... How can I replicate that, please? So I've got a simple class called BlogPost - nothing special. Just a blog post. Now, I wish to add tagging for this class. Exactly like the tags for a StackOverflow question - 5 strings, space delimit...

Tag cloud example or source code for Flex

There is such a wonderful source http://evocms-plugins.svn.sourceforge.net/viewvc/evocms-plugins/flash_tag_cloud_plugin/src/ but it does not get integrated into Flex. Are there other examples of an animated tag cloud? ...

iphone: creating the 'blue bubble contacts' effect in ComposeEmail?

Hi, I want to create an effect similar to the 'blue bubble tag' effect in the Compose Email Page where the recipients email address appears. I need to design a similar effect to allow users to create 'tags' for a picture.. Do I have to use Core Animation for this? Can someone please give me some pointers on where / what i need to use? ...

Can I make my <ul>’s border bigger?

Hello just really a simple question (I hope). I have a border used by a <ul> tag. I wonder If I can change the border size to make it bigger in width and height? Here is my example. <ul STYLE="border: 1px solid;float:left;padding:15px"> <--!(content)--> </ul> ...

Tagging support

We would like to add the "tagging" support to the existing websites which uses Java. This tagging support will be used to find the "tagged" items . Are there any libraries that support my use case ? ...

CakePHP: Autocomplete for multiple tags in one textfield

Hi, I want to use the autocomplete component for cakephp but instead of just autocompleting one value in a textfield i want it to work like SOF tags. i.e. one tag, 2nd tag, ... Does anyone know if there is an option for this using this component? thanks, Jonesy ...

Subversion: how to create a tag with folders at multiple revisions

Hi, We have a large project which consists of a single build job (Maven, via a pom.xml, with multiple child folders etc). Developers have given us three different revision numbers, and would like us to create a single tag that we can feed the (Hudson) build job. Example: / -- at rev X /project1 -- at rev Y /project2 -- at rev Z I was...

How to remove a tag from deleted files in CVS?

I am trying to maintain a system of tags for my CVS data. One set of tags contains unique tags that never change. They are the nightly-regressed tags. The another type of tag is a single tag that keep on moving. This is the nightly regress-candidate tag. So, This tag keeps on moving from one version to a newer one for a file. Lets call ...

Determine the section of the tabbed UITextField

This is a tricky one: I have: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { ... //Textfield: UITextField *theTextField = [[UITextField alloc] initWithFrame:CGRectMake(200, 10,self.tableView.frame.size.width - 250, 30)]; theTextField.adjustsFontSizeToFitW...