#php views filter

Events happening in the community are now at Drupal community events on www.drupal.org.
tevfiksirin's picture

Sharethis eklentisi views entegrasyonu

Arkadaşlar merhaba,
Hazır bir temada düzenleme yapmam gerekti..
Sosyal medya paylaşımları için
sharethis eklentisini yükledim..
Eklentinin views desteği var ancak!!!
kullandığım temada "views-view-fields--portfolio.tpl.php" isimli bir dosyada bir takım düzenlemeler yapmak gerekiyor...
Eklemek istediğim iki alanı eklemeyi başardım ancak,
sharethis eklentisi field olarak görünmediği için ekleyemedim...
html olarak eklemeyi denedim...paylaş dediğimde (facebook, twitter) olduğu içeriği değil siteyi paylaşıyor...

Read more
antoniocardoso's picture

Listagem de ultimas relacionado com um id existente no filed de um artigo

Bom dia,
estou a tentar criar uma listagem de ultimas mas que não consigo relacionar com um field que existe no artigo principal.

Explicando melhor:
estou a ver um artigo num página e esse artigo tem um field com uma designação
exemplo:
Nome do Programa: XPTO

quando estou a visualizar esse artigo,
na coluna direita gostaria que me aparece-se todos os artigos que tenham o mesmo field XPTO, mas a verdade é que não estou a ver como.

Read more
gobinathm.php's picture

help with views 2 working pro-grammatically sorting & filters not working as expected

Hi,

Im using custom module to handle this view.I did many try(find inside the code) but nothing works and also sorting too. Only arguments code works charm. Guide me to right way / help me with solutions.

and here is the exported view link http://pastebin.com/YzzzLEbW

    function custom_module(){
        views_include("view");
        $view = new view();
        $display = 'default';
        $display_id = 'page_1';
        $view = views_get_view('master');

        // ensure view exists
        if (!$view)
        print("Not real");
        // set display_id
Read more
gobinathm.php's picture

how to pass argument to exported views code?

Hey people,

I'm working with drupal views and im new to drupal. I did exported the views and creating a widget with that exported views. I have no idea how to pass argument to that exported views.

http://pastebin.com/YzzzLEbW

i just want to pass url args and filter the views result accordingly and also pagination too.

if i pass ?page=0,1 in url it wont reflect any change.please help me with this.

if you like to contact mgobi.php AT gmail.com

Thanks,
Gobi.

Read more
gobinathm.php's picture

help with drupal views

Hey people,

I'm working with drupal views and im new to drupal. I did exported the views and creating a widget with that exported views. I have no idea how to pass argument to that exported views.

http://pastebin.com/YzzzLEbW

i just want to pass url args and filter the views result accordingly and also pagination too.

if i pass ?page=0,1 in url it wont reflect any change.please help me with this.

if you like to contact mgobi.php AT gmail.com

Thanks,
Gobi.

Read more
jimkomara's picture

Help with number formatting for this custom filter.

Hello group! I am stuck and wondered if there are any php wizards that can help. I have created a custom search filter, but since I had to do a couple of functions in the code to get it to work with the Drupal filter, I now do not know how to format the numbers with a comma. i.e. 300,000. Can't figure out how to format a range function???

Here is the code for how I am building the drop down select list for the price field. *Note that I attempted to use the slider_filter, but it did not work in IE. We are willing to hire for some help on that one!

Read more
Subscribe with RSS Syndicate content