Jump to content

Bacos

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Bacos

  • Rank
    Newbie
  1. Hi friends ! I'm intend to create a very complex website for a insurance company that will include very complex calculations and validation rules. To achieve this, I've created a global field called "validation (textarea)", where I want to write php scripts for validation in the style Hanna Code. So, every single record that I will save (backend and frontend) should call the validation script before doing that. Is it possible with PW ? Could you help me with a roadmap ? Thank you all ! Bacos
  2. You're welcome ! I think that I found the new instruction : echo $modules->MarkupSocialShareButtons->render(array("theme" => "templates/mythemes/mytheme"); I'm gonna try it !
  3. Hi Soma ! I saw in theme.php file. * Alternatively from the API you can set a theme by using method ->setTheme(themename) * i.e. $modules->MarkupSocialShareButtons->setTheme("round")->render(); * * To create your own create a file with the content of this file somewhere in your site/templates/ folder * This would be a subfolder, and in there a file "theme.php". * * Now you can enter the path relative from "site/templates" in the module config * $modules->MarkupSocialShareButtons->setTheme("mythemes/mytheme")->render(); I guess I misunderstood this instruction !
  4. Hi Soma !! Very nice module... help me a lot ! I'm trying to create my own theme (color) and when I call : $content .= $modules->MarkupSocialShareButtons->setTheme("css/color")->render(); I got Error: Exception: Method MarkupSocialShareButtons::setTheme does not exist or is not callable in this context (in D:\xampp\htdocs\PWGriffConvites\wire\core\Wire.php line 326) #0 D:\xampp\htdocs\PWGriffConvites\site\templates\convite.php(34): Wire->__call('setTheme', Array) #1 D:\xampp\htdocs\PWGriffConvites\site\templates\convite.php(34): MarkupSocialShareButtons->setTheme('css/color') css/color are folders, and inside color folder I have theme.php and png folder also. Am I doing something wrong ? Thank you !
×
×
  • Create New...