Jump to content

Search the Community

Showing results for tags 'template url'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I have this form in my html which works perfectly locally. Once I had this as a template my form doesnt work well. This has a calendar button available and here is the problem. I already had this php applied: <?php $myCalendar = new tc_calendar("date3", true, false); $myCalendar->setIcon("_php/calendar/images/iconCalendar.png"); $myCalendar->setPath("_php/calendar/"); $myCalendar->setYearInterval(2012, 2022); $myCalendar->dateAllow('2012-08-30', '2022-08-31'); $myCalendar->setDateFormat('j F Y'); $myCalendar->writeScript(); ?> This means that I would have to paste this code which I have applied to any inner url I have in the html such as this example: <input type="image" src="<?php echo $config->urls->templates?>_img/submit_button.png" id="input_img" name="submit" /> I've tried inserting only echo $config->urls->templates?. This way: <?php $myCalendar = new tc_calendar("date3", true, false); $myCalendar->setIcon("$config->urls->templates_php/calendar/images/iconCalendar.png"); $myCalendar->setPath("$config->urls->templates_php/calendar/"); $myCalendar->setYearInterval(2012, 2022); $myCalendar->dateAllow('2012-08-30', '2022-08-31'); $myCalendar->setDateFormat('j F Y'); $myCalendar->writeScript(); ?> If I wanted the url to work how should I do it with processwire?
×
×
  • Create New...