Page 1 of 32
ExData Module v2.8.0 - Tables, Lists and more…
Posted: Fri 15. Jul 2005, 00:59
by breitsch
Version 2.8.0 of ExData Module for phpwcms
Ready for
phpwcms 1.6+ coming soon.
With slight changes it might be compatible to phpwcms 1.3+ too.
It is supported by Oliver —
see this post >
Be warned:
Version 2.7+ of ExData Module for phpwcms is unsupported because it is highly insecure!
To get older releases of ExData more secure use .htaccess files that blocks direct access to mod_exdata>inc_act/inc_lib/inc_tmpl/install. delete sample filters and so on!!!
Posted: Fri 15. Jul 2005, 02:15
by consistency
of course interested!
you are quite sadistic, posting your nice mod with screenshots, without posting a link where to download
can't wait to try it out.
Posted: Fri 15. Jul 2005, 03:50
by Fulvio Romanin
yes, we'll be pleased to see...
Posted: Fri 15. Jul 2005, 08:12
by trip
This looks like a great MOD...
Where is the download link???
Please add your info to --...--
TriP
Posted: Fri 15. Jul 2005, 08:18
by Ben
Wow! This mod will have many uses for many different people. Well done!
Posted: Fri 15. Jul 2005, 09:17
by frold
seems like just what Im looking for .... gimmy a link plz
Posted: Fri 15. Jul 2005, 22:11
by pSouper
...and... is the de_download.php a mod too ?
if so what is it and what does it do? I would love to hear it's capabilities and limitations
Posted: Fri 15. Jul 2005, 22:31
by pSouper
in you insallation notes I think you have an slight error, please correct me if I am wrong...
install_exdata_module.txt
// casa-loca's ExDataMOD
if($phpwcms["exdata_mod"]) { //enabled/disable ExData MOD
require_once ('./include/inc_module/mod_exdata/inc_front/func.inc.php');
}
Should read...
// casa-loca's ExDataMOD
if($phpwcms["exdata_mod"]) { //enabled/disable ExData MOD
require_once ('./include/inc_module/mod_exdata/inc_front/front.func.inc.php');
}
Posted: Fri 15. Jul 2005, 22:35
by cyrano
Hi breitsch,
nice mod you made.
Another question:
which script do you use for login in download section?
thank you for a short comment.
Posted: Fri 15. Jul 2005, 22:35
by frold
Nope pSouper... the file name is func.inc.php
Hi pSouper
Posted: Fri 15. Jul 2005, 22:37
by breitsch
@pSouper
@cyrano
no, the download section is not a mod YET! I'm planning to integrate it in phpwcms after ...uff... so many projects!
it's a simple file-download-area where you can give users username and password and they have, depending on the username-password combination, access to limited folders where they can download files. the admin area allows you to setup users and groups and the folders with its files. upload is via browser or via ftp to a (one) specific folder on your server, so its easy to synchronize via ftp
the programm does not store the files in database, just a reference to it.
Since there is so much going on right now with frontend logins and user groups, I thought it may be better to wait for that and use that user-access for the protected download-area. but my patience is not endless!
it's included with iframe right now.
write me if you're interested.
Posted: Fri 15. Jul 2005, 22:43
by pSouper
[EDIT] just spotted wher eI went wronfg with the file name thing
totally get you regarding your frontend login area - I too have written my own, it is totally specific to my needs therefore usless to anyone else and not relesed.
not being completely hot on creating mods for phpwcms DEV but I wonder if... as the {RT}'s can be a standalone script within 'phpwcms_templates/inc_script/frontend_render' I wonder if there was a similar place modifications to phpwcms.php could be processed so that mod could be truley free from 'core code alterations'?
any thoughts Mr G?
Posted: Fri 15. Jul 2005, 22:50
by frold
In your example is it possible to create a RT that only get eg..
From Categori Adressen the field Telefon? If so , how?
Posted: Sat 16. Jul 2005, 01:27
by breitsch
@frold
If I understand you right then:
You want to show only the field 'Telefon' in frontend?
That should be done with templates.
The default template for the entries is default.entry.template.php and looks like:
The field 'Telefon' is #6 so delete everything else:
If you don't want to show the fieldname then it would be:
Save the changes in a new file like: telefon.entry.template.php and use this in your EXDATA-RT
{EXDATA:Category Id#:front.template.php:telefon.entry.template.php}
change the exdata.css for styles
Does this help?
Posted: Sun 17. Jul 2005, 18:35
by frold
Does this help?
Hmm first I have to say; I really like your mod
Regard the way to solve what Im looking for - I fint it a litlle durty
The cool solution would be controled by Reptags:
Let say we have a Categori with ID 1 called "adress" like this:
"adress" ID=1
Field 1 Name
Field 2 Adress
Field 3 Phone
Field 4 Email
To print it all out now we can use: {EXDATA:1:front.template.php:0}
But If I only wanted to print the phone number it could be cool if you could do it like this:
{FIELDDATE:article_id:template:field_number}
So {FIELDDATE:1:front.template.php:3} In the above example would print out the phone number
Why do I need this.
Well, if you have a user that can't edit the template then you could let the users personalize his design via this mod - by precreate some catogories into where the user can add his own data: Like phono-number etc.
Then the superadmin of the site can create a template in where he puts reptags like {FIELDDATE:article_id:template:field_number} to insert the phono number, email adress or what ever! Do you see the sense?
In future version of phpwcms you will have gruops settings etc. So you can be a superadmin - and then eg disable some features for your customer. But by using this mod the right way you can let the user personalize his design without having acess to template... that could be very cool, counn't it?