HI,
Now i get all categorys and subcategory.
How get only subcategory?
<?php foreach ($this->getStoreCategories() as $_category): ?>
<?php $_menu .= $this->drawItem($_category) ?>
<?php endforeach ?>
Hi,
as I know there is an official document for Java (JLS), I'd like to know if it's also the case of PHP language. I found the "Language Reference" section on the PHP manual, but it doesn't look as detailed as the JLS.
The thing is I have a good practical knowledge of PHP but I'm miserably clueless about what REALLY happens under the hood.
If there isn't any official document, could you recommend me some good books to read ?
Thanks in advance !
Rolf
Hi all,
i am having query for update the node value using Linq,
For example i am have to update
<Student>
<studentdetail>
<studentname>test</studentname>
<libraryid>hem001</libraryid>
</studentdetail>
</Student>
in above xml i want to change the value of Student name "test" ti something else like "Undertest"
regards
NewDev
Hi,
Im working on a project where we need to capture a 5 sec clip of whatever is being played through the users line-out (audio).
Is it possible to do this reliably through a browser (using flash/silvelight/js..) ?
Hi I'm new to openId concepts. I want to use my google apps domain's user-name & password in third party websites for that i followed this link http://jeremiahlee.com/blog/2009/09/28/how-to-setup-openid-with-google-apps/. But i got struck on second step i dont know where and how to create openId file in server.Please Help on this issue it will be very useful for me.
Thanks,
Sharun.
Hi Everyone:
I'm wondering if someone could direct me to an article that explains how to access the address book contacts in the form that Address Book on the desktop can read.
Thanks for any help!
Hi i am displaying an icon in status bar.Now i want to remove that icon immediately when i open that content , after some time if we receive any alert ,that icon will be displayed again.For this what can i do?Thanks in advance
Hi,
when my Map contains key with dot in their name I cannot access the corresponding value directly with the usual code:
${recordForm.map['records.key']}
Is there a way to escape the dot? Or do I have to resort to loop through all values and check against the key? (I know the iteration works).
Thanks!
Hi,
I know you're supposed to only load log4j properties once, so what is standard practice when you're doing unit tests? Should I load it in every unit test file? Should I put it in jUnit's setUp() method?
Thanks
Hi,
I use Vim as primary IDE for programming, with some plugins i have a good environment but for a single point: debugging.
I have recompiled Vim to use vimgdb, and it works, but the problem is that i need to attach to a process started by a root user so i have to use sudo to do it....
How can i do this with vimgdb?
Thanks in advance.
Hi,
I have a TabActivity. Each tab points to a sub activity. Works great.
Is there any clever way to refresh one of the activity tabs? I just want to 'restart' the activity in tab #3 for example. Not sure of a good way to do this other than building in refresh support to the activity itself, or clearing ALL the tabs and recreating all of them.
Thanks
Hi all
i want to change javascript alert title header from displaying Internet Explorer to another name. is a way to do it?
i found this site in the net :
http://bytes.com/topic/javascript/answers/148721-change-title-bar-javascript-alert-box
it seems no silution to it.
http://stackoverflow.com/questions/1905289/how-to-edit-a-javascript-alert-box-title
is it true there are no other way??
thx all.
Hi,
Can any 1 please tell or show the difference in the behaviour of any program before and after I "set endian little" in gdb on solaris machine?
I want to know the effect of changing it.
Thanks!
Hi all, my app is an e-commerce application. During the checkout process, I have "recipient" and "credit card" screens. In the recipient screen, there are number of fields for address entry, which makes it very clumsy. Same in the case of the credit card screen, where the user is asked to enter their credit card info and billing address.
Can anyone suggest how to design these two pages?
Hi,
I got very simple hierarchical structure: every object can have 0 or 1 parent. There's no limit on how many children each object can have.
So in my application I got such a model:
class O(Model):
name = CharField(max_length = 20)
parent = ForeignKey('O', related_name = 'children')
Now I would like to be able to fetch all objects who have a particular one Object1 in their parent-tree (as in their parent or parent of their parents, etc).
Should I use mptt or is there a simpler approach?
Hi,
I want to understand how a C++ program that was given to me works, and where does it spend the most of the time.
For that I tried to user first gprof and then gprof2dot to get the pictures, but the results are sometimes kind of ugly.
I wonder if could recommend me other alternatives or how do you usually do this.
Thanks
Hi All,
I have just taken over as manager at a company and at the moment they are very rigid in how they approach development. Everyone gets a list of what they are doing each week. My question is how does your company balance support with development and if an important support request comes in how is this processed without disturbing the flow of the developers?
Lastly, do you use an software log support requests and development tasks.
Thanks
Hi
I have a very rudimentary question.
Assume I call a function, e.g.,
def foo():
x = 'hello world'
How do I get the function to return x in such a way that I can use it as the input for another function or use the variable within the body of a program?
When I use return and call the variable within another functions I get a NameError.
Thanks,
S :-)
Hi,
I'm sure I'm not the only one who finds it a bit annoying when scanning say Events in Intellisense and having to wade thru all the Properties etc as well. Is there a way/plugin or something to allow the selection of only Events, only Properties etc?
That would really be a big plus!
Thx in advance for any help.
Hi,
I need a method for adding "business days" in PHP. For example, Friday 12/5 + 3 business days = Wednesday 12/10.
At a minimum I need the code to understand weekends, but ideally it should account for US federal holidays as well. I'm sure I could come up with a solution by brute force if necessary, but I'm hoping there's a more elegant approach out there. Anyone?
Thanks.
Hi, I got a problem in using listfind().
I have a list of strings.One of my string has a comma.
Now when i use listfind() to compare with another string I dont get the output expected. i.e The string with a comma in it is not detected.
Please can anyone tell me how to make the listfind to work even for the string having comma in it ?
Hi All,
When I try to pull a report in Crystal Reports 2008, it gives me error that says Physical database not found in the Report Viewer. As I am new to Crystal reports, could you please explain me how to solve this error
Hi, could you help me please convert this SQL query to Linq to Entity query? Thank you
select distinct item, count(item) as count
from TableName
where ColumnName = @parameter and (ColumnName2 = @parameter2 OR ColumnName3 = @parameter3)
group by item order by item asc
hi,
I'm trying to check if a given URL is valid and i'm doing it like this:
- (BOOL)urlIsValid:(NSString *)address {
NSURL *testURL = [NSURL URLWithString:address];
if (testURL == nil) {
return NO;
}
else {
return YES;
}
}
Since "URLWithString" is supposed to return "nil" if the URL is malformed I thought this would work but it doesn't for some reason. Could someone please tell me why?
Thanks in advance!
Hi,
If you see the URL
in TRY ME simulator select cardex tab,if u scroll vertically on simulator(flash),the no of uiviews are coming,if u touch anything, it will be shown,any idea to do this ,have they used OPENGL? please any help?