Profile

Scrapbook photo 1
Scrapbook photo 2
Scrapbook photo 3
Scrapbook photo 4
Scrapbook photo 5
Manuel Molossi
Works at LenTegos
Attended CISITA
Lived in ozzano taro
481 followers|50,060 views
AboutPostsPhotos

Stream

 
[FILTER]
Hi all, i need to do a simple ng-repeat ("product in productList ! filter: searchCode") that is possible to filter by a click on a button (show dinamically trough jquery).
The code is:
<input type="text" name="q" id="q" ng-model="searchId" />
<form role="form" class="form-horizontal validate" id="frmEditProduct" ng-submit="...."  ng-repeat="product in productListt | filter: searchId">

if I change the "searchId" value with jQuery, doesn't work.
Any idea? (i need to use jquery for this)

Thanks! Grazie!
1
andrea infusino's profile photo
 
hi Manuel,
first of all, if i read correctly your code, it seems you are repeating the form for every product in productList, while you stated you needed a inner level like:
<form ... >
 <div ng-repeat="product in productList | filter: searchId">...</div>
</form>

So i firstly think it is appropriate to correct this.
Then, i paste the official reference https://docs.angularjs.org/api/ng/filter/filter for more details, it seems filtering is just really easy as in you case, and i think you'll get it in seconds.

Hope it helps :)
Add a comment...
 
[AjaxError]
Hi all! i've a particular problem when i'm user the Ajax send data to a server page php.
The problem is ONLY about iemobile 11 on windows phone 8.1. In all other browser i've no problems, from desktop as mobile.
The webpage is made with angularjs, but to test the problem i made the call with simple $.ajax().

The request method is GET, with 2 params, to a php file who store the data and send them with a .zip file of image to a webservice.
i tried to set the timeout, contentType, headers (allow orgini..).. Nothing.I still get error.

The ajax call fails with error:
{readystate 0 responsetext "" status 0 statustext "error"}

All the file are on the same origin. The html, JS and PHP are on the same folder. The websercive is locate in another folder.

Any help?
1
Andreas Jung's profile photoElliot Derhay's profile photoManuel Molossi's profile photo
4 comments
 
SOLVED:
this error are show only when the curl function in the php file return a server 500 error.
Thnaks all!!
Add a comment...

Manuel Molossi

Shared publicly  - 
 ·  Translate
Ci concentriamo sui momenti che ci hanno uniti.
1
Add a comment...

Manuel Molossi

Shared publicly  - 
 
Incontro ravvicinato con un call center di +Google Italia  dalla parlata "est"-iva e con modi e tenacia non proprio consoni alla posizione ed al rango dell'azienda e nonostante i NO ed il fatto di aver sbagliato a contattare l'azienda non se ne dava pace!! #paceebene  
 ·  Translate
1
Add a comment...

Manuel Molossi

Shared publicly  - 
 
#wordpress   #wordpressproblem   #wordpressvideo   #video  
[UPLOAD FILE MP4]
Ciao a tutti, 
ho un problema con l'upload in media gallery di file video mp4. 
Wp è aggiornato a 4.0, ed il tema è aggiornato ed è proprio il tema, nei settaggi che mi dice di caricare un video .mp4.
Quando effettuo l'upload, riscontro questo errore: "Questo tipo di file non è consentito per questioni di sicurezza.".
Ho verificato e l'estensione del file è consentita sia dal tema del core di wp, e la dimensione non supera max_upload.
Potrebbe essere un problema di Hosting ?
 ·  Translate
1
Add a comment...

Manuel Molossi

Shared publicly  - 
1
Add a comment...

Manuel Molossi

Shared publicly  - 
 
New PEN Experience sync with app and mobile device #creative   #innovativeideas   #app  
Neo smartpen N2 is a smartpen that writes on paper but also mirrors into smart devices. iOS, Android, Windows compatible. Support us!
1
Add a comment...
Have him in circles
481 people
Caterina Vasi's profile photo
Agenzia Degli Incantesimi's profile photo
Dario Ciracì's profile photo
Agata Rakfalska Vallicelli (Terapia strategiczna)'s profile photo
Franco Dalfovo's profile photo
Davide Morante's profile photo
Antonella Palmetti's profile photo
Francesco Abbo's profile photo
Alessio Garbi's profile photo

Manuel Molossi

Programmazione  - 
 
Ciao A tutti,
avrei una richiesta tecnica Emoticon grin
Ho la necessità di dover aggiungere una classe particolare ad ogni tag a che contiene un'immagine nel content.
In pratica da 
<a href="img.jpg"><img src="img1.jpg" ... /></a>
dovrebbe diventare
<a href="img.jpg" class="nuova"><img src="img1.jpg" ... /></a>
Al momento utilizzo un filtro che mi aggiunge la classe solo alle immagini che fanno parte di una gallery (default di wp) ma non le immagini singole.
Lo script in function.php:
add_filter( 'wp_get_attachment_link', function( $content, $id, $size, $permalink ){
if( !$permalink ){
$content = preg_replace("/<a/","<a class=\"nuova\"",$content,1); // >
return $content;
}
}, 10, 5);
Grazie a tutti,
 ·  Translate
3
DVERXO's profile photoManuel Molossi's profile photo
3 comments
 
Per chi avesse lo stesso problema, ho risolto utilizzando l'hook 'the_content'.

Grazie +DVERXO !!
 ·  Translate
Add a comment...

Manuel Molossi

Shared publicly  - 
2
Add a comment...

Manuel Molossi

Shared publicly  - 
 
 
Facebook annuncia modifiche nel suo motore di ricerca, presto si potranno cercare vecchi post degli amici e quelli della propria timeline.

Prova una ricerca e scopri la novità su http://bit.ly/Facebook-Key-Search

#Facebook #SocialMedia #FBSearch  
 ·  Translate
1
Add a comment...

Manuel Molossi

Shared publicly  - 
 
Somebody who know a #plugin  or #snipped   to import users into #wordpress  .
No import-users-from-csv , it doesn't work!!
1
Add a comment...

Manuel Molossi

Shared publicly  - 
 
Qualcuno conosce un #plugin o #snipped per importare utenti in #wordpress ?
import-users-from-csv non funziona! Thanks!!
 ·  Translate
1
Add a comment...
People
Have him in circles
481 people
Caterina Vasi's profile photo
Agenzia Degli Incantesimi's profile photo
Dario Ciracì's profile photo
Agata Rakfalska Vallicelli (Terapia strategiczna)'s profile photo
Franco Dalfovo's profile photo
Davide Morante's profile photo
Antonella Palmetti's profile photo
Francesco Abbo's profile photo
Alessio Garbi's profile photo
Work
Occupation
Web Marketing Developer + Seo + Social Media
Skills
Web Developer, Wordpress, AngularJs, jQuery, Html, CSS, Social Media, Social Media Marketing, Comunication, Design, SEO
Employment
  • LenTegos
    Web Develper, 2015 - present
    Web Developer e Webview Developer, Social Media e Comunicazione
  • LEN
    Docente, 2010 - present
    Decente Formatore in ambito web e comunicazionale
  • InfinitoDesign S.r.l.
    Web Design & Marketer, 2011 - 2015
    Web Developer, Wordpress Expert, SEO, Social Media, Comunication Strategy, Designer
  • Len Strategy
    Web & Database Developer, 2009 - 2011
    Database Marketing, Web Developer, Facebook Strategy
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
ozzano taro
Story
Tagline
Design the Web In a Social way
Introduction
Web Marketing Design Developer, SEO & SEM Consultant, Social Media Analisi, Social Media Developer, Music Multimedia. Always looking in the future.
Bragging rights
Conquista della libertà....
Education
  • CISITA
    Marketing SEO EXPERT, 2008 - 2009
  • Unipr
    Marketing, 2003 - 2008
  • ITSOS
    DIploma Tecnico Informatico, 2002
  • CISITA
    Mobile Application, 2011 - 2011
Basic Information
Gender
Male
Other names
Van83, VanManuel83