ExData Module - Tables, Lists and more... [New Version 2.70]

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.

ExData Module - Tables, Lists and more... [New Version 2.70]

Postby breitsch on Thu Jul 14, 2005 22:59

Version 2.70 of ExData Module for phpwcms
Ready for phpwcms 1.2.6 and 1.2.8 and 1.3.0

See examples: http://web.casa-loca.com/index.php?exdata_example

See history: http://web.casa-loca.com/index.php?exdata_history

Download it here: http://web.casa-loca.com/index.php?downloadexdata
Username: exdmod
Passwort: phpwcms


It's currently available in english, german, italian and bulgarian, but you are free to setup your language. It's compatible to the mod coding guidelines.
for more languages see download-section!
Last edited by breitsch on Mon Apr 16, 2007 15:33, edited 11 times in total.
gruss / regards
breitsch
breitsch
 
Posts: 304
Joined: Sun Mar 06, 2005 22:12
Location: bern switzerland

Postby consistency on Fri Jul 15, 2005 00:15

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.
consistency
 
Posts: 40
Joined: Sat Mar 05, 2005 22:59

Postby Fulvio Romanin on Fri Jul 15, 2005 01:50

yes, we'll be pleased to see...
Completeness is reached through subtraction, not through addition
User avatar
Fulvio Romanin
 
Posts: 392
Joined: Thu Dec 04, 2003 10:12
Location: Udine, Italy

Postby trip on Fri Jul 15, 2005 06:12

This looks like a great MOD...
Where is the download link???

Please add your info to --...--

TriP
trip
 
Posts: 657
Joined: Tue Feb 17, 2004 08:56
Location: Cape Town, South Africa

Postby Ben on Fri Jul 15, 2005 06:18

Wow! This mod will have many uses for many different people. Well done!
Ben
 
Posts: 558
Joined: Wed Jan 14, 2004 07:05
Location: Atlanta

Postby frold on Fri Jul 15, 2005 07:17

seems like just what Im looking for .... gimmy a link plz :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 21:42

Postby pSouper on Fri Jul 15, 2005 20:11

...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 :)
  • I may be very hard to ignore but those whom know me best will tell you it's well worth the effort.
pSouper
 
Posts: 1521
Joined: Tue Nov 11, 2003 14:45
Location: London

Postby pSouper on Fri Jul 15, 2005 20:31

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');
}
  • I may be very hard to ignore but those whom know me best will tell you it's well worth the effort.
pSouper
 
Posts: 1521
Joined: Tue Nov 11, 2003 14:45
Location: London

Postby cyrano on Fri Jul 15, 2005 20:35

Hi breitsch,

nice mod you made.

Another question:
which script do you use for login in download section?

thank you for a short comment.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
cyrano
 
Posts: 1598
Joined: Sat Jan 31, 2004 17:33
Location: Stuttgart

Postby frold on Fri Jul 15, 2005 20:35

Nope pSouper... the file name is func.inc.php
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 21:42

Hi pSouper

Postby breitsch on Fri Jul 15, 2005 20:37

@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! :wink:

it's included with iframe right now.
write me if you're interested.
Last edited by breitsch on Fri Jul 15, 2005 20:47, edited 1 time in total.
gruss / regards
breitsch
breitsch
 
Posts: 304
Joined: Sun Mar 06, 2005 22:12
Location: bern switzerland

Postby pSouper on Fri Jul 15, 2005 20:43

[EDIT] just spotted wher eI went wronfg with the file name thing :oops:

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?
  • I may be very hard to ignore but those whom know me best will tell you it's well worth the effort.
pSouper
 
Posts: 1521
Joined: Tue Nov 11, 2003 14:45
Location: London

Postby frold on Fri Jul 15, 2005 20:50

Image

In your example is it possible to create a RT that only get eg..

From Categori Adressen the field Telefon? If so , how?
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 21:42

Postby breitsch on Fri Jul 15, 2005 23:27

@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:
Image
The field 'Telefon' is #6 so delete everything else:
Image
If you don't want to show the fieldname then it would be:
Image
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?
Last edited by breitsch on Mon Jan 23, 2006 15:01, edited 1 time in total.
gruss / regards
breitsch
breitsch
 
Posts: 304
Joined: Sun Mar 06, 2005 22:12
Location: bern switzerland

Postby frold on Sun Jul 17, 2005 16:35

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?
http://www.studmed.dk Portal for doctors and medical students in Denmark
frold
 
Posts: 2151
Joined: Tue Nov 25, 2003 21:42

Next

Return to hacks & enhancements

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests