Jump to content

Search the Community

Showing results for tags 'Linking'.

  • 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 2 results

  1. I'd like to link to a page by referencing it's page ID <a href="?id=1411">view all</a> instead of using a page path <a href="/solutions/case-studies/">view all</a> Using a page name/path result in breaking changes whereas using an ID is more future proof, right? The only Module I found is called PageLinkAbstractor which works for text fields and RTEs but not necessarily templates. I normally do this on MODX using something like... <a href="index.php?id=1411">view all</a>
  2. 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...