similar to: How to get hash values????

Displaying 20 results from an estimated 1500 matches similar to: "How to get hash values????"

2006 Apr 27
4
how to make views changable
Hello I need to make site views changeable I found how to change layouts but it is not enough, becouse templates can use different ways to display and organize content. I found one way to do this, but i need to make subfolders in my ''view/layouts'', ''view/controller_name'' both and to create additional subfolder somewhere in ''public'' to put
2006 Jul 04
11
Any CMS for Ruby on Rails..
Well i want to make a photography community site on the lines of www.gfxartist.com , www.terminus1525.ca, www.phirebrush.com Where the community votes for every subbmission from a artist and can comment (like a forum).. Now gfxartist has used probably SMARTY,php,and their own CMS. terminus used Drupal,Gallery 2.Some one tells me that this combo is heavy on resources and slows down sites.
2009 Jun 24
3
Missing php* packages
Hello, I am trying to migrate one of our fedora-based servers to CentOS. Our PHP developers doesn't allow us to switch because there are no crucial (for them) php packages: php-smarty php-adodb php-accelerator It is not acceptable for us to download sources and compile them and repeat the process each time there is a security bug. Can you recommend any repository which will deliver all the
2008 Nov 20
5
Couldn't find without an ID
hi friends... my rhtml is for_for_test.rhtml <html> <head> <title>Form_For Tester</title> </head> <body> <% form_for :blog, :url => { :action => ''save'', :id => @blog } do |f| %> Name: <%= f.text_field :blog %> <%= submit_tag ''Save'' %> <% end %> </body>
2017 Feb 21
3
SELInux conflict with Postfixadmin
postfixadmin setup.php is claiming: *Error: Smarty template compile directory templates_c is not writable.* *Please make it writable.* *If you are using SELinux or AppArmor, you might need to adjust their setup to allow write access.* This goes away with 'setenforce 0', so it is an SELinux issue. I have tried both: restorecon -Rv /usr/share/postfixadmin and chcon -R -t
2006 Jul 23
4
Newbie question about .rhtml
Hi everyone, coming from PHP something in the .rhtml files has been confusing the heck out of me. Why does this work? <% for header in @all_headers %> <%= header.subject %> <% end %> and both of these don''t work <% for header in @all_headers puts header.subject end %> --------------------------------------- <%= for header in @all_headers puts
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file? I come from a PHP/Smarty background, and in the templates, I''ve used what is called "modifiers" to format data. {$price|currency_format} # displays in currency format {$description|truncate:"100"} # Truncates the description after 100 characters It seems like the template (rhtml) would be the ideal
2008 Jan 18
18
Rails versus PHP in complex HTML/CSS
I have done a bunch of Rails stuff on my own and my company uses PHP. I often have to integrate very complex HTML/CSS into PHP. I know that the PHP looks more closer to the HTML than Rails because Rails has alot of link_to and other macro like calls that generate alot of stuff that you don''t see in the template. I am wondering if that could make it any tricker to generate the complex sort
2005 Aug 16
2
PhoneCALL v2.6.1 - Released
Hello All! Just a notice that our PHP/Smarty-based GPL version of PhoneCALL version 2.6.1 has been released, and is the current stable release. http://www.vecsector.com/phonecall We're always looking for feedback/testers to help us enhance it and make it even easier for everyone to use. The current version is designed around the advanced Asterisk user, and we are working on a more
2009 Apr 04
2
Help using smooth.spline with zoo object
Can someone please show me how to smooth time series data that I have in the form of a zoo object? I have a monthly economies series and all I really need is to see a less jagged line when I plot it. If I do something like s <- smooth.spline(d.zoo$Y, spar = 0.2) plot(predict(s,index(d.zoo)), xlab = "Year") # not defined for Date objects and if I do something like
2017 Feb 21
2
SELInux conflict with Postfixadmin
On 02/21/2017 11:46 AM, Zdenek Sedlak wrote: > On 2017-02-21 17:30, Robert Moskowitz wrote: >> postfixadmin setup.php is claiming: >> >> *Error: Smarty template compile directory templates_c is not writable.* >> *Please make it writable.* >> *If you are using SELinux or AppArmor, you might need to adjust their >> setup to allow write access.* >>
2014 Apr 15
2
¿Cómo generar informes con R sin utilizar LaTeX?
Hola, lo primero muchísimas gracias a todos por las respuestas que me habéis dado. Precisamente, lo que busco es una solución opensource para realizar informes con los resultados de R. Que permita cierta maquetación como LaTeX, y sobre todo una impresión correcta (que no corte las imágenes como ocurre con markdown/html). Y si dicha solución está orientada a servidor pues mucho mejor. Respecto a
2008 May 16
5
Getting the friends contacts mail Id of gmail,hotmail,yahoo,myspace in RoR
Hello friends, I am developing an application in RoR. After registration in this application I follow the following steps: 1. Enter the hotmail,gmail,aol email id. 2. Enter password according to that mail id. After submitting this information, I want to get the contacts in that my mail id. How can I do this. Whenever I login next time, my contacts should be there in the list of my application.
2006 Jul 26
7
RHTML in database?
Hi, is it possible to store RHTML templates or partials in database? thanks, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2010 Jul 28
2
Recording interface (pause/PLAY/RERECORD)
Is there a prebuild module/dialplan which gives me a nice interface to recording messages? Assuming I can't use the voicemail command, I need to offer users a way to record, playback, erase, rerecord, etc. I can probably do it through dialplan but it feels like I'm reinventing the wheel. Thanks, MD
2009 Jul 15
1
Gallery2 under CentOS-5.3
I asked about 18 months ago if gallery2 was available in any of the CentOS repositories, and it seemed that at that time it was not. However, there was some talk of putting it in epel or epel-testing. But I looked just now, and did not find it there. I actually installed gallery2 on my server by following the instructions at <http://codex.gallery2.org/Gallery2:Preinstaller>. But I've
2006 Jan 25
15
Newbie: Static page without controller
Hello, I''ve been through a few tutorials and have made some simple apps that interact with the database, but I''m having trouble doing something that seems like it would be very simple. Just imagine a static website that doesn''t interact with the database. You have pages like: www.domain.com/home www.domain.com/services www.domain.com/more-stuff Since these are
2007 Jul 04
18
PHP vs RubyOnRails newbie concerns/questions
Hi all, I''m planning to bring a new app. to market, and I''m more the designer and business manager than the programmer for this project. We are deciding that technologies to use, and so I asked my programmer to take a look at RubyOnRails. Below are his first impressions. Could anyone with more experience on these matters kindly offer any response to the issues he raises? much
2010 Oct 02
2
How to write a test hash for a nested form??
How to write a hash for a nested form?? Example form fields (main model is Practice, nested is User): practice[name] practice[users_attributes][0][email] I want to do this: post: post :create, :practice => { :name => "any name", :users_attributes => { :0 => { :email => "anyone-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" } } } The issue is that I can not create
2008 May 12
8
Complex data structures in templates
Hi. I wonder if it is possible to use more complex data structures in templates than simple variables and arrays? I have been trying nested arrays, as well as nested arrays and hashes, but nothing seems to work (more specifically, nested arrays seem to be flattened into a single array). Having only simple variables and arrays is a little limiting. Something like the Perl-based Template Toolkit