Page 6 of 32

Posted: Tue 31. Jan 2006, 01:23
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!

Posted: Tue 31. Jan 2006, 01:31
by joransrb
tanx for the reply, will try now :)

Posted: Tue 31. Jan 2006, 08:37
by Pauli
This is working so great! You made this extensive Mod easy to work with, very very well done!

Thank you!

Posted: Tue 31. Jan 2006, 09:28
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 ...

Posted: Thu 2. Feb 2006, 00:40
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!

Posted: Sun 5. Feb 2006, 14:42
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.

Posted: Sun 5. Feb 2006, 20:13
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.

Posted: Sun 5. Feb 2006, 23:53
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.

Posted: Mon 6. Feb 2006, 09:35
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

Posted: Mon 6. Feb 2006, 14:15
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:

Posted: Mon 6. Feb 2006, 19:26
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"]);
}

Posted: Mon 6. Feb 2006, 19:55
by sustia
breitsch wrote:Hi...
Hi breitsch, thanks very much, really, now it works perfectly :D

Posted: Tue 7. Feb 2006, 10:45
by juergen
:lol: No more wysiswyg table dance :) Thanks!

Posted: Wed 15. Feb 2006, 15:21
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.

Posted: Wed 15. Feb 2006, 16:04
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