{"id":126,"date":"2025-08-03T07:29:56","date_gmt":"2025-08-03T07:29:56","guid":{"rendered":"https:\/\/paultrowler.com\/wordpress\/?page_id=126"},"modified":"2025-11-20T18:26:28","modified_gmt":"2025-11-20T18:26:28","slug":"engaging-with-theory","status":"publish","type":"page","link":"https:\/\/paultrowler.com\/wordpress\/index.php\/engaging-with-theory\/","title":{"rendered":"Chapter 7 &#8211; Engaging with theory"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\"\/>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\/>\n  <title>Engaging with Theory Tool<\/title>\n\n  <!-- Tailwind -->\n  <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\n  <script>\n    tailwind.config = {\n      theme: {\n        extend: {\n          colors: {\n            primary: {\n              50:'#f0f9ff',100:'#e0f2fe',200:'#bae6fd',300:'#7dd3fc',\n              400:'#38bdf8',500:'#0ea5e9',600:'#0284c7',700:'#0369a1',\n              800:'#075985',900:'#0c4a6e'\n            }\n          },\n          boxShadow: { soft:'0 10px 25px -10px rgba(8, 47, 73, 0.20)' },\n          borderRadius: { '2xl':'1.25rem' }\n        }\n      }\n    }\n  <\/script>\n\n  <!-- Inter -->\n  <link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\"\/>\n  <link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin\/>\n  <link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700&#038;display=swap\" rel=\"stylesheet\"\/>\n\n  <style>\n    body { \n      font-family: 'Inter', sans-serif;\n      line-height: 1.6;\n    }\n    .prompt-segment { border-left: 4px solid #0ea5e9; padding-left: 1rem; margin: 1rem 0; }\n    .prompt-segment h4 { font-weight: 600; color: #075985; }\n    .prompt-segment-content { color: #334155; font-style: italic; }\n    .prompt-gap { background-color: #e0f2fe; color: #075985; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\"Courier New\", monospace; }\n    .prompt-gap-filled { background-color: #dcfce7; color: #166534; }\n  <\/style>\n<\/head>\n<body class=\"bg-primary-50 text-primary-900 leading-relaxed\">\n<div class=\"container mx-auto max-w-7xl px-4 py-6 sm:py-8\">\n\n  <!-- Intro -->\n  <div class=\"mb-6 bg-white p-6 rounded-2xl shadow-soft border border-primary-200\">\n    <p class=\"text-[15px] text-primary-800 font-semibold\">\n      This tool helps you engage more productively with theory in your doctoral research.\n      It supports you in choosing, applying, and getting more \u201cwork\u201d out of your theoretical lenses.\n    <\/p>\n    <p class=\"mt-3 text-[15px] text-primary-800\">\n      Select the issue you want to address and complete the fields with details of your research. \n      The prompt will be automatically personalised with your inputs.\n    <\/p>\n    <p class=\"mt-2 text-[15px] text-primary-800\">\n      Once you\u2019re happy with the prompt, click <em>Copy prompt &amp; open ChatGPT<\/em>. \n      This will copy your customised prompt and open ChatGPT in a new tab.\n    <\/p>\n  <\/div>\n\n  <!-- Stage 0: Reusable Project Summary Block -->\n  <section id=\"pt-project-summary-block\" class=\"relative isolate mb-6\">\n    <div class=\"rounded-2xl border border-primary-200 bg-white shadow-sm\">\n      <div class=\"border-b border-primary-100 bg-primary-50\/60 rounded-t-2xl px-4 sm:px-6 py-3 flex items-center gap-3\">\n        <div class=\"h-8 w-8 flex items-center justify-center rounded-full bg-primary-100 text-primary-800 font-semibold\">0<\/div>\n        <h3 class=\"m-0 text-base sm:text-lg font-semibold text-primary-900\">Paste your doctoral project summary<\/h3>\n      <\/div>\n      <div class=\"p-4 sm:p-6 space-y-3\">\n        <p class=\"text-[15px] text-primary-900\/90 leading-relaxed\">\n          Write or paste a short summary of your research, concentrating on theory-use. Use the summary you created in the Chapter 1 tool, if appropriate. Tools on this page will tailor their feedback using this summary.\n        <\/p>\n        <div>\n          <label for=\"pt-project-summary\" class=\"block text-[15px] font-medium text-primary-900 mb-2\">Your project summary<\/label>\n          <textarea id=\"pt-project-summary\" class=\"w-full min-h-[12rem] rounded-xl border border-primary-200 focus:border-primary-500 focus:ring-2 focus:ring-primary-200\/70 px-3 py-2 text-[15px] leading-relaxed\" placeholder=\"Paste or type your updated doctoral project summary here...\"><\/textarea>\n          <div class=\"mt-3 flex flex-wrap items-center gap-2 text-[15px] text-primary-900\/70\">\n            <button type=\"button\" id=\"pt-clear-summary\" class=\"inline-flex items-center gap-1 rounded-full border border-primary-200 px-3 py-1 hover:bg-primary-50 active:bg-primary-100\">Clear<\/button>\n          <\/div>\n        <\/div>\n        <div class=\"rounded-xl border border-primary-200 bg-primary-50 px-4 py-3\">\n          <div class=\"flex items-start gap-3\">\n            <div class=\"mt-0.5 h-5 w-5 flex items-center justify-center rounded-full bg-white text-primary-700 font-bold\">\u2139\ufe0e<\/div>\n            <p class=\"m-0 text-[15px] leading-relaxed text-primary-900\">\n              <span class=\"font-medium\">Tip:<\/span> For cross-session memory, create a <span class=\"font-semibold\">Project<\/span> in ChatGPT (e.g., \u201cMy Doctoral Research\u201d) and run all chats inside it. Your project details will then persist across tools.\n            <\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/section>\n\n  <!-- Main Grid -->\n  <div class=\"grid grid-cols-1 lg:grid-cols-2 gap-6\">\n\n    <!-- Left Pane -->\n    <div class=\"bg-white p-6 rounded-2xl shadow-soft border border-primary-200\">\n      <h2 class=\"text-xl font-bold mb-4 text-primary-800\">Engaging with Theory<\/h2>\n\n      <form id=\"prompt-form\" class=\"space-y-5\">\n        <!-- Dropdown -->\n        <div>\n          <label for=\"theory-topic\" class=\"block text-[15px] font-medium text-primary-700 mb-1\">Select the topic for your discussion with the AI<\/label>\n          <select id=\"theory-topic\" class=\"block w-full px-3 py-2 text-[15px] bg-primary-50 border border-primary-300 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500\">\n            <option value=\"\" disabled selected>Select a topic&#8230;<\/option>\n            <option value=\"Selecting a theoretical lens or lenses most appropriate for my topic in the sense that it will do useful analytical and conceptual work and lend significance to my research.\" data-url=\"https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/dropdown_selectingtheory.pdf\">Selecting an appropriate theoretical lens<\/option>\n            <option value=\"How to apply theory to my topic in a fully integrated way.\" data-url=\"https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/dropdown_integratingtheory.pdf\">Applying theory in an integrated way<\/option>\n            <option value=\"How to make theory do the maximum amount of work in my research.\" data-url=\"https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/dropdown_makingtheorywork.pdf\">Making theory do the maximum work<\/option>\n            <option value=\"How to avoid the 'seven deadly sins' of the application of theory in doctoral research.\" data-url=\"https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/dropdown_mistakes.pdf\">Avoiding common mistakes in applying theory<\/option>\n            <option value=\"Applying a theory which allows a radical 'take' on my topic, encouraging 'thinking otherwise', challenging the status quo.\" data-url=\"https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/dropdown_radicaltheory.pdf\">Applying a radical &#8216;thinking otherwise&#8217; theory<\/option>\n          <\/select>\n        <\/div>\n\n        <!-- Your thoughts about theory -->\n        <div>\n          <label for=\"theory-thoughts\" class=\"block text-[15px] font-medium text-primary-700 mb-1\">Your thoughts about the role of theory in your research<\/label>\n          <textarea id=\"theory-thoughts\" class=\"block w-full px-3 py-2 text-[15px] bg-primary-50 border border-primary-300 rounded-md shadow-sm placeholder-primary-400 focus:outline-none focus:ring-primary-500 focus:border-primary-500\" placeholder=\"e.g., I\u2019m considering Bourdieu\u2019s habitus to frame students\u2019 dispositions, but I\u2019m unsure how to operationalise it in my analysis...\" rows=\"8\"><\/textarea>\n        <\/div>\n\n        <div class=\"pt-1\">\n          <button type=\"button\" id=\"reset-button\" class=\"w-full flex justify-center py-2 px-4 border border-primary-300 rounded-md shadow-sm text-[15px] font-medium text-primary-700 bg-white hover:bg-primary-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 transition-colors\">Reset<\/button>\n        <\/div>\n      <\/form>\n    <\/div>\n\n    <!-- Right Pane: Prompt Preview -->\n    <div class=\"bg-white p-6 rounded-2xl shadow-soft border border-primary-200 flex flex-col\">\n      <h2 class=\"text-xl font-bold mb-4 text-primary-800\">Prompt to the AI (visible excerpt)<\/h2>\n\n      <div id=\"prompt-output-container\" class=\"text-slate-800 leading-relaxed text-[15px] bg-primary-50 p-4 rounded-lg min-h-[220px] flex-grow border border-primary-200\">\n        <!-- Filled by JS -->\n      <\/div>\n\n      <div class=\"mt-4\">\n        <button id=\"copy-button\" class=\"w-full flex items-center justify-center py-2 px-4 border border-primary-300 rounded-md shadow-sm text-[15px] font-medium text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500 transition-colors\">\n          <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" class=\"h-4 w-4 mr-2\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n            <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z\"><\/path>\n          <\/svg>\n          <span id=\"copy-button-text\">Copy prompt &amp; open ChatGPT<\/span>\n        <\/button>\n        <p class=\"text-[15px] leading-relaxed text-primary-800 mt-2 bg-primary-50 border border-primary-200 rounded-lg p-3\">\n          For security reasons browsers don\u2019t auto-paste \u2014 after ChatGPT opens, press <kbd>Ctrl\/\u2318+V<\/kbd> to paste the copied prompt into the chat box.\n        <\/p>\n      <\/div>\n      <!-- No separate \"Paste into ChatGPT\" link -->\n    <\/div>\n  <\/div>\n\n  <!-- Refining section -->\n  <div class=\"mt-10 bg-white p-6 rounded-2xl shadow-soft border border-primary-200\">\n    <h2 class=\"text-lg font-bold mb-3 text-primary-800\">Refining the AI response to your prompt<\/h2>\n    <div class=\"text-primary-800 space-y-4 text-[15px] max-w-none leading-relaxed\">\n      <p>Once you have an initial response from the AI, you can refine it with follow-up prompts. Here are some examples you could ask:<\/p>\n      <ul class=\"list-disc list-inside\">\n        <li>&#8220;Can you suggest a key author I should read on this topic?&#8221;<\/li>\n        <li>&#8220;What is the most common mistake students make regarding this issue?&#8221;<\/li>\n        <li>&#8220;Help me apply this to my specific research topic, which is [briefly describe topic].&#8221;<\/li>\n      <\/ul>\n    <\/div>\n  <\/div>\n\n<\/div>\n\n<script>\n  \/\/ --- Elements ---\n  const summaryEl = document.getElementById('pt-project-summary');\n  const clearSummaryBtn = document.getElementById('pt-clear-summary');\n  const theoryTopicEl = document.getElementById('theory-topic');\n  const theoryThoughtsEl = document.getElementById('theory-thoughts');\n  const copyBtn = document.getElementById('copy-button');\n  const copyBtnText = document.getElementById('copy-button-text');\n  const promptOutputContainer = document.getElementById('prompt-output-container');\n\n  \/\/ Helpers\n  const esc = (s)=> (s||'').replace(\/<\/g,'&lt;').replace(\/>\/g,'&gt;');\n\n  function visibleExcerpt(){\n    const topic = theoryTopicEl.value || '';\n    const summary = (summaryEl.value||'').trim();\n    const thoughts = (theoryThoughtsEl.value||'').trim();\n\n    const topicBlock = `\n      <div class=\"prompt-segment\">\n        <h4>Focus topic<\/h4>\n        <div class=\"prompt-segment-content ${topic ? 'prompt-gap-filled':'prompt-gap'}\">\n          ${esc(topic || 'Please select a topic from the dropdown')}\n        <\/div>\n      <\/div>`;\n\n    const summaryBlock = `\n      <div class=\"prompt-segment\">\n        <h4>Project summary<\/h4>\n        <div class=\"prompt-segment-content ${summary ? 'prompt-gap-filled':'prompt-gap'}\">\n          ${esc(summary || 'No summary provided yet')}\n        <\/div>\n      <\/div>`;\n\n    const thoughtsBlock = `\n      <div class=\"prompt-segment\">\n        <h4>Your thoughts about the role of theory<\/h4>\n        <div class=\"prompt-segment-content ${thoughts ? 'prompt-gap-filled':'prompt-gap'}\">\n          ${esc(thoughts || 'No thoughts provided yet')}\n        <\/div>\n      <\/div>`;\n\n    return `\n      <p>You are a supportive, doctoral-level methodology\/theory mentor. Use the context below and begin a concise, constructive dialogue.<\/p>\n      ${topicBlock}\n      ${summaryBlock}\n      ${thoughtsBlock}\n      <p><b>What to do first:<\/b> Offer 2\u20133 targeted suggestions that are directly actionable for my project, then ask exactly 2 high-leverage questions.<\/p>\n      <p><b>Then:<\/b> As we converse, summarise briefly what you heard; propose next steps; and ensure alignment among theoretical stance, research questions, methodology, methods, analysis, rigour, and claims.<\/p>\n    `;\n  }\n\n  function hiddenDirectives(){\n    const topic = theoryTopicEl.value || '';\n    const topicUrl = theoryTopicEl.selectedOptions && theoryTopicEl.selectedOptions[0]\n      ? (theoryTopicEl.selectedOptions[0].dataset.url || '')\n      : '';\n    const summary = (summaryEl.value||'').trim() || '[none provided]';\n    const thoughts = (theoryThoughtsEl.value||'').trim() || '[none provided]';\n\n    const refs = [\n      topicUrl ? `Topic-specific reference: ${topicUrl}` : null,\n      \"General references:\",\n      \"1) https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/A-Guide-to-Theoretical-Alignment-1.pdf\",\n      \"2) https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/1.-Trowler-on-Theory-Brief.pdf\",\n      \"3) https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/Trowler-Wicked_issues_in_situating_theory_in_clo.pdf\",\n      \"4) https:\/\/paultrowler.com\/wordpress\/wp-content\/uploads\/2025\/08\/Social-Science-Research-Principles-Methods-and-Practices-Revised-edition-1673303940.pdf\"\n    ].filter(Boolean).join(\"\\\\n\");\n\n    return [\n      \"Act as a doctoral-level mentor on theory use in research.\",\n      \"When possible, consult the references below. If links cannot be fetched, proceed using established principles: choose theory for its analytic\/explanatory power; ensure fit to research questions and design; integrate theory throughout (framing, operationalisation, analysis); make warrants and limits explicit; and align claims to evidence and stance.\",\n      \"\",\n      \"User-supplied context:\",\n      \"\u2022 Focus topic \u2192 \" + (topic || \"[none selected]\"),\n      \"\u2022 Project summary \u2192 \" + summary,\n      \"\u2022 Thoughts about theory \u2192 \" + thoughts,\n      \"\",\n      \"Your method:\",\n      \"\u2022 Start with 2\u20133 concrete suggestions, then ask exactly 2 high-leverage questions.\",\n      \"\u2022 After each user reply: provide a 2\u20133 sentence synthesis; maintain alignment among theory \u2194 RQs \u2194 methodology \u2194 methods \u2194 analysis \u2194 rigour \u2194 claims.\",\n      \"\u2022 Name trade-offs; define terms briefly; avoid jargon unless explained; do not write their thesis.\",\n      \"\",\n      refs\n    ].join(\"\\\\n\");\n  }\n\n  function render(){\n    promptOutputContainer.innerHTML = visibleExcerpt();\n  }\n\n  function copyPrompt(){\n    const visible = promptOutputContainer.innerText.trim();\n    const combined = hiddenDirectives() + \"\\n\\n\" + visible;\n\n    const ta = document.createElement('textarea');\n    ta.value = combined;\n    document.body.appendChild(ta);\n    ta.select();\n    ta.setSelectionRange(0, 99999);\n    try {\n      document.execCommand('copy');\n      copyBtnText.textContent = 'Copied! Opening ChatGPT\u2026';\n      copyBtn.classList.add('bg-green-600','hover:bg-green-700');\n      \/\/ Open ChatGPT after copying\n      window.open('https:\/\/chatgpt.com', '_blank', 'noopener');\n      setTimeout(()=>{ \n        copyBtnText.textContent='Copy prompt & open ChatGPT'; \n        copyBtn.classList.remove('bg-green-600','hover:bg-green-700'); \n      }, 1600);\n    } catch(e){\n      console.warn('Copy failed', e);\n      copyBtnText.textContent = 'Error copying';\n    } finally {\n      document.body.removeChild(ta);\n    }\n  }\n\n  \/\/ Events\n  [theoryTopicEl, theoryThoughtsEl, summaryEl].forEach(el=>{\n    el.addEventListener('input', render);\n    el.addEventListener('change', render);\n  });\n\n  clearSummaryBtn.addEventListener('click', ()=>{\n    summaryEl.value='';\n    summaryEl.focus();\n    render();\n  });\n\n  document.getElementById('reset-button').addEventListener('click', ()=>{\n    theoryTopicEl.selectedIndex = 0;\n    theoryThoughtsEl.value = '';\n    summaryEl.value = '';\n    render();\n  });\n\n  copyBtn.addEventListener('click', copyPrompt);\n\n  \/\/ Initial render\n  render();\n<\/script>\n\n<!-- Copyright 2025 Professor Paul Trowler All rights reserved. For personal use only for educational purposes, no part of this code to be copied, reused or sold-->\n<\/body>\n<\/html>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\"><\/div>\n\n\n\n<p class=\"has-text-align-center has-small-font-size\">Copyright 2025 Prof. Paul Trowler<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Engaging with Theory Tool This tool helps you engage more productively with theory in your doctoral research. It supports you in choosing, applying, and getting more \u201cwork\u201d out of your theoretical lenses. Select the issue you want to address and complete the fields with details of your research. The prompt will be automatically personalised with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-126","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":35,"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/126\/revisions"}],"predecessor-version":[{"id":1026,"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/pages\/126\/revisions\/1026"}],"wp:attachment":[{"href":"https:\/\/paultrowler.com\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}