ExData Module v2.8.0 - Tables, Lists and more…

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

hello, thanks for the comments!!!
I'll publish a update as soon as possible, for now:

@joransrb
mod_exdata/install/config_v2_new.php
line 93:
`cat_field_number` TINYINT(4) NOT NULL default '',
change to:
`cat_field_number` TINYINT(4) NOT NULL default '0',
sorry, it's a stupid error!


@DF6IH
in the main.functions.php delete all functions exept:
showCategories($value)
the other ones are NOT used in ExData but still there since copied from Ionrods CalendarMod :oops:

There are problems in frontend with paging- and order-function, update is on its way...


@ludwigvb
I didn't think on the fu*** db-prefix

mod_exdata/inc_lib/exdata.classes.frontend.php
line 161:
function make_auto_image($value) {
$sql_file = "SELECT * FROM phpwcms_file WHERE f_id=".$value[1].""; //select entry in db

change to:
function make_auto_image($value) {
$sql_file = "SELECT * FROM ".DB_PREPEND."phpwcms_file WHERE f_id=".$value[1].""; //select entry in db


mod_exdata/inc_lib/exdata.classes.php
line 127:
function make_auto_image($value) {
$sql_file = "SELECT * FROM phpwcms_file WHERE f_id=".$value[1].""; //select entry in db

change to:
function make_auto_image($value) {
$sql_file = "SELECT * FROM ".DB_PREPEND."phpwcms_file WHERE f_id=".$value[1].""; //select entry in db


this should help for the moment, sorry guys!
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
joransrb
Posts: 53
Joined: Mon 10. Jan 2005, 21:03

Post by joransrb »

tanx for the reply, will try now :)
Pauli
Posts: 92
Joined: Mon 30. Aug 2004, 11:53

Post by Pauli »

This is working so great! You made this extensive Mod easy to work with, very very well done!

Thank you!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hello breitsch !

Thanks for quick answer! I see, the function showCategories($value) is used b4 when installed cal_mod. It is needed for shure.

I have a little time (spending with my sick son) this week, let's see if I can figure out all function calls in your mod and rename this function to f.e. show_ex_Cat(..);

This point I'm not shure, but hoping, this will change to ability to render HtML Tags,as the ionrock mod does. This will make my pretty pretty link list working :lol: Should look for a find replace machine

Jürgen

EDIT: 52 files :shock: running through with this: http://www.orbit.org/replace/

:lol: only in one file included, changed name of function running error free :-) .. still not rendering html problem ...
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

@DF6IH
@ludwigvb
@joransrb

the bugs are fixed
and the bug in sort-function Frontend as well, should work now.

download the bugfix file 202 in my download-section
http://web.casa-loca.com/index.php?downloadexdata
the new exdata_mod_202.zip contains these bug-fixes

excuse me for the incommodities!
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
bachi
Posts: 308
Joined: Fri 6. Aug 2004, 17:52
Location: Western Styria, AUSTRIA
Contact:

Post by bachi »

Is it possible to change the standard- input fields with a textarea- form?

Because i need more rows!! :?

Thank you for your answers.
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Hi breitsch, I love this mod :D

I wonder is if there is a way to insert a link in a field and to do that the link is active.
Campeones del mundo!
Vegetables!
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

Hello
bachi wrote:Is it possible to change the standard- input fields with a textarea- form?
no, not possible
sustia wrote:I wonder if there is a way to insert a link in a field and to do that the link is active.
with Replacementtag: [EXT ...]...[/EXT]
see install-readme for usage of the replacementtags within the mod.
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

breitsch wrote: with Replacementtag: [EXT ...]...[/EXT]
see install-readme for usage of the replacementtags within the mod.
Hi breitsch, thanks for the answer.
I look at the exdata_install.htm file, but I'm not able to see that instructions.
The only categories that I see are:
1. Editing configuration details (optional)
2. Editing base files
3. Uploading the module
4. Include ExData in phpwcms-search-function
Campeones del mundo!
Vegetables!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

The same with my installation. I knew ...frontend renderd things are outside of phpwcms tags... It would be enough to geht HTML Tags inside ... they run in the cal mod. In this "<" is replaced to "&lt;" ... thats no html strip by php, something like changed values in settings ...

That deals with xsl and java script :cry: :shock:
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

Hi

PHPWCMS_ROOT/include/inc_front/content.func.inc.php

Code: Select all


/**********************************************
add here
***********************************************/
// casa-loca's ExDataMOD
if($phpwcms["exdata_mod"]) { //enabled/disable ExData MOD
	require_once ('./include/inc_module/mod_exdata/inc_front/func.inc.php');
}
/*********************************************
end add
**********************************************/
NOTE: If you want to use all Replacement Tags inside the module you have to copy the code above before this:

Code: Select all

// include external PHP script (also normal HTML snippets) or return PHP var value
if( ! ( strpos($content["all"],'PHP')===false ) ) {
	$content["all"] = render_PHPcode($content["all"]);
}
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

breitsch wrote:Hi...
Hi breitsch, thanks very much, really, now it works perfectly :D
Campeones del mundo!
Vegetables!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

:lol: No more wysiswyg table dance :) Thanks!
Evoplure
Posts: 43
Joined: Fri 8. Jul 2005, 02:59

Post by Evoplure »

Fantastic MOD !!!!!! :o

I only miss a way of showing only the entries that fit with a defined instruction (to be = to a word or = < or > to a number). Maybe it could be done implementing something with the sort feature that would hide all the entries that does not fullfil the requested criteria... :?: (or maybe another search tool)

FOr my clients a way of linking each entry to an article (in which the complete specifications of an item could be shown) would improve considerably the usability of the mod. I will use inernal link tag for that, but maybe that will not be enough for inexpert users.

I would like to know deep PHP to begin with that tasks (any hint is welcome, anyway....)

But, THANK YOU, I find this MOD one of the best improvements for PHPWCMS. Sincere congratulations.
* Maybe I'm wrong * Maybe not *
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Evoplure wrote:
For my clients a way of linking each entry to an article (in which the complete specifications of an item could be shown) would improve considerably the usability of the mod. I will use inernal link tag for that, but maybe that will not be enough for inexpert users.

Same here, I had to explain them, so here an extract of a conversation with a client :

she: That is really nice! Just what we wanted, how do you do that? Waaaow...
me: It's quite simple, look at the URI: index.php?id=11,60,0,0,1,0 . There are 6 numbers, ok?
she: eeer, what is an URI?
me: well, look at the top of your browser, where it says http://www.yourdomain.com/something, just like http://www.google.com
she: aaaah, that! Ok.
me: so in phpwcms (many times) you have 6 numbers,ok?
she: ok, I see that.
me: ok, look at the SECOND number, it is 60, right?
she: yes
me: you remember when I explained you about the replacement tags you could use?
she: duh? mmm, no...
me: it was that thing about [ID number] and [EXT... you remember? I even put in your backend a little list with them on the left side...
she: oooh, yes, I do, never used it though
me: ok, so THIS is the case where you use it, when you go to MOD in the backend. You just type your text and when you want to link to an article with more explanations, you just identify the ID of your article and put [ID thenumberyouidentified]. Simple, right? <-- me proud I could explain it so easily
she: duh? How do I know what the ID of my article is?
me: Oh, remember I explained that in backend>articles you had that tiny little red icon? Image . Well just leave your mouse on it for 2 to three second and a little number appears saying [ID article:60]
she: Yes, it works!
me: Now you got it, just use [ID thenumber] and you get your link. Don't forget you have to create the article of course...
she: Ok, many thanks, you're really a computer expert! Waaow
me: No problem, the system is made like that ~and thinking~ phpwcms rocks and its community too!

;) breitsch: clap clap clap

Cheers
Last edited by Kosse on Mon 26. May 2008, 13:39, edited 1 time in total.
Post Reply