Comments (8)
What you see in the address bar of the browser, add or edit?
from tdmcreate.
I see add.
from tdmcreate.
Try changing in the templates/admin of the new module, the affected file that op=add to op=edit where there is the edit link, see if it works well this way.
from tdmcreate.
- The problem is related to a variable that is not recognized. Now I understand it. op=add and save are working, but edit and delete are not.
- The call from the template patient.tpl is: /../admin/patients.php?op=edit&patient_id=1
- The debugger show:
Notice: Undefined variable: patientId in file /modules/eclinic/admin/patients.php line 100
you can see the attachment below
from tdmcreate.
Sorry I had observed that this issue is close but if did it . I did bymistake. How to open it again?
from tdmcreate.
You should be more precise, I create match modules, test them and when edit something, it always works.
You owe me to see the template file
from tdmcreate.
I want to apologize and I will be more precise. I can send the module to you if you need it
1 Folders
- The module created is eclinic and the folder structure is the following:
1.1 modulo eclinic
1.2 admin
1.3 assets
1.4 Blocks
1.5 class
1.6 include
1.7 language/english
1.8 preloads
1.9 sql
1.10 templates
1.11 templates/admin
- Files on folders admin, class and templates/admin/patients.tpl.
Below you will find a three files. 2.1 admin/patients.php; 2.2 class/patients.php; 2.3 template/patients.tpl
2.1 Files: eclinic/admin/patients.php
The Record Count Is: <{$patients_count}>; and FirstName: <{$patient.firstname}>
Patients List
<{$patients_list}>
<{if $patients_list}> <{if $patients_count}> <{foreach item=patient from=$patients_list}> <{/foreach}> <{/if}><{include file='db:eclinic_admin_footer.tpl'}> If you need anything else please let me know. I do not know how to attach files with all colors and php format sorry.
from tdmcreate.
Before you send me the zipped package module, let me see the screenshots here, the module is in admin & frontend ... thanks
from tdmcreate.
Related Issues (20)
- include/common.php HOT 3
- Wrong link to forum support HOT 1
- missing define to be added HOT 3
- templates system_bookmarks.tpl and system_fbcomments.tpl HOT 7
- bug in admin/settings.php HOT 1
- print.php HOT 1
- getConfig() error HOT 5
- Typos in function names
- Use XoopsRequest
- Duplicate License entry in xoops_version.php
- Reference mismatch, copy will be dispatched into function
- Missing "switch"
- Single quotes
- Wrong links to spinner.gif
- Missing names for variables HOT 3
- Bugs HOT 1
- editorHandler in xoops_version.php HOT 2
- Permissions are not saved HOT 5
- delete code in admin pages HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tdmcreate.