Hi people I need help.

35 views
Skip to first unread message

Claudioprv

unread,
Jul 30, 2012, 12:49:59 AM7/30/12
to jquer...@googlegroups.com
I begin this new sample, and the code is ok, but the theme have large buttons:

<?php
include_once 'lib/YepSua/Labs/RIA/jQuery4PHP/YsJQueryAutoloader.php';
YsJQueryAutoLoader::register();
?>
<!DOCTYPE HTML>
<html class="js" lang="ptBR">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <?php echo YsConfigAssets::includeAssets('*') // all js and styles for jQuery4PHP ?>
</head>

<body>
<?php YsJQuery::usePlugin(YsJQueryConstant::PLUGIN_JQBOX); ?>

<button id="btnOpenDialog">Show Demo</button>
<?php echo YsUIDialog::initWidget('dialogId','style="display:none" title="Basic dialog" align="center"') ?>
    <img src="http://cloud.github.com/downloads/malsup/cycle/beach1.jpg" width="100" height="100" />
  </a>
    <img src="http://cloud.github.com/downloads/malsup/cycle/beach2.jpg" width="100" height="100" />
  </a>
    <img src="http://cloud.github.com/downloads/malsup/cycle/beach3.jpg" width="100" height="100" />
  </a>
    <img src="http://cloud.github.com/downloads/malsup/cycle/beach4.jpg" width="100" height="100" />
  </a>
    <img src="http://cloud.github.com/downloads/malsup/cycle/beach5.jpg" width="100" height="100" />
  </a>
<?php echo YsUIDialog::endWidget() ?>

<?php
echo
YsJQuery::newInstance()
  ->onClick()
  ->in("#btnOpenDialog")
  ->execute(
    YsUIDialog::build('#dialogId')
      ->_width(600)
      ->_modal(true)
      ->_height('auto')
      ->_buttons(array(
        'Ok' => new YsJsFunction('alert("Hello world")'),
        'Close' =>  new YsJsFunction(YsUIDialog::close('this')))
       ),
    YsJQBox::build('.images')->_transitionIn('elastic')->_transitionOut('elastic')
  );
?>
</body>
</html>

All samples works, but my theme is big see these pictures:


Sample for HomePage, size is ok, little buttons.







the buttons of theme are large, why?.





oyepez003

unread,
Jul 30, 2012, 11:12:33 AM7/30/12
to jquer...@googlegroups.com
Hi claudio.

By default the css properties is too large ("font-size:1em"). Creates your own .css style sheet overwriting this properties or makes a new theme with the jQueryUI themeroller:

body{
  font: xx
  font-weight: xx
  font-size: xx
}

Best regards.

claudioprv

unread,
Jul 30, 2012, 3:03:43 PM7/30/12
to jquery4php
Hello omar,
 
I need to build a basic structure to start a portal, but I'm not understanding your framework, it's complex for me. Please help me with basic structure, simple for me start studying the jquery4php.
 
I need just the home page, components works and one theme to begin.
 
I'm sending a file with version 1.6, is not the last of sourceforge, but I can upgrade later.
 
I think you should have a basic samples for beginners start with the jquery4php, because their examples are complete, but are very complex for begginers.
 

I'm sorry to send email for you, and not use the discussion group, but there I can't attach files.

 

if you can send me back the portal works, I'll be very happy. For you is very easy.

 

I know than you is very occupied with smartwig, but make some video lessons to beginners start applications with yours frameworks, is very important for us.

 

Sorry for this terrible english, but my native language is portuguese, maybe you can understand better portuese than this lol.

 

Thanks.

 

Portuguese version:

 

Olá Omar,

 

Eu preciso de fazer uma home page básica, mas não sei como criar a estrutura de arquivos com o jquery4php, ele ainda é muito complexo para mim. Nós iniciantes precisamos de uma estrutura básica para começar, pois os seus exemplos são simples mas a estrutura onde eles funcionam é muito complexa para iniciantes.

Eu estou lhe enviando um arquivo por email, me desculpa por isso, mas lá no grupo de discussão não pode anexar arquivos, se você poder corrigir e enviar para mim de volta eu vou ficar muito feliz, eu preciso apenas dos componente e 1 tema funcionando, para eu começar a estudar o jquery4php e construir uma homepage no final.

 

O seu framework é muito bom, bastante completo e poderoso, mas para iniciantes a gente precisa de uma estrutura básica simples, sem os seus exemplos junto, pois só de remover os seus exemplos parou de funcionar e não sei como fazer funcionar sem eles.

Eu estou vendo que está muito ocupado com SmarTwig que é muito bom, porém não entendi nada de como instalar, se ficar muito complexo muitas pessoas vão desistir dele, por favor ajude a gente depois com tutorial e como instalar no windows.

 

Obrigado,

claudioprv
--
Has recibido este mensaje porque estás suscrito al grupo "jQuery4PHP" de Grupos de Google.
Para ver este debate en la Web, visita https://groups.google.com/d/msg/jquery4php/-/NM-H4UwZhpoJ.
Para publicar una entrada en este grupo, envía un correo electrónico a jquer...@googlegroups.com.
Para anular tu suscripción a este grupo, envía un correo electrónico a jquery4php+...@googlegroups.com
Para tener acceso a más opciones, visita el grupo en http://groups.google.com/group/jquery4php?hl=es.
j4p_basic.rar

oyepez003

unread,
Aug 23, 2012, 9:55:59 AM8/23/12
to jquer...@googlegroups.com, claudioprv
Hi Claudio.

You can use the  jQuery4PHP showcase as a guideline. Another option is try to understand a framework like CakePHP, CI,Kohana, Symfony and integrate it with jQuery4PHP.

My recommendation is to use Symfony2 and the Bundle YepsuaSmarTwigBundle. That is the integration of jQuery4PHP with Symfony2.

http://www.symfony.com
https://github.com/oyepez003/YepsuaSmarTwigBundle
http://smartwig.yepsua.com/web/

Best Regards
.

__

Oi Claudio.

Você pode usar a vitrine jQuery4PHP como uma diretriz. Outra opção é tentar entender um framework como o CakePHP, CI, Kohana, Symfony e integrá-lo com jQuery4PHP.

Minha recomendação é usar Symfony2 eo YepsuaSmarTwigBundle Bundle. Que é a integração de jQuery4PHP com Symfony2.

http://www.symfony.com
https://github.com/oyepez003/YepsuaSmarTwigBundle
http://smartwig.yepsua.com/web/

Atenciosamente.

Translated by http://translate.google.com







El lunes, 30 de julio de 2012 14:33:43 UTC-4:30, Claudioprv escribió:

Reply all
Reply to author
Forward
0 new messages