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.
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

culda_a wrote:...and after that I log out of my backend ...when I login agian and go to my EXDATA module it give me the option to install the module again ... no other option and if i press instal it say that is allreadi insalled....
please don't change the tablenames in file: main.config.php
only the prefix variable is optional the rest should remain as in original!

it must look like:
// table names
$prefix = "YOUPREFIX_";
$tables['exd_entries'] = $prefix . "phpwcms_exd_entries";
Paal wrote:...

Paal wrote:Which file contain this code (result the: <div id="exd_sort">)?
exdata.classes.frontend.php line:249
Paal wrote:How to change both direction the moo.fx animation?
I guess in the js files. I never tried to change that.
Paal wrote:It's possibe to use thumbnail (not html resized) image and to view original image in the popup window?
Not for the Moment! Could be a enhancement in next update?
Paal wrote:After 2.52 update, the version number in admin page still ExData MOD 2.51
Shame on me! (can be changed in language files if necessary)
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
Paal
Posts: 204
Joined: Wed 6. Oct 2004, 19:54
Location: Budapest, Hungary
Contact:

Post by Paal »

breitsch wrote:
Paal wrote:It's possibe to use thumbnail (not html resized) image and to view original image in the popup window?
Not for the Moment! Could be a enhancement in next update?
Yes, please (eg. like in OG-s picture settings: width, height, zoom in click, image title/comment, etc.)!
If I use the moo.fx template (eg. with 10 entries) and some 800*600 picture (10 x 50-60kb = ~500 - 600kb), the result page will be wery big (in bytes).


...and other request/idea: the EXD date field will be use datetime sql field type (it's used date type now) and maybe possible using the system date-RT:
{DATE_LONG}
{DATE_MEDIUM}
{TIME_SHORT}
{TIME_LONG}

Thx, Paul
Keppn
Posts: 80
Joined: Wed 14. Jul 2004, 18:16

Post by Keppn »

Could someone please post me an excerpt of the correctly modified phpcms.php, the part about case "modules":

Either way I do it, the ExData-Backend is not correctly included (always visible, on top of the phpcms backend... :(

Thanks alot!
User avatar
wireless
Posts: 138
Joined: Sun 24. Oct 2004, 04:35
Location: Houston, Texas

Post by wireless »

Great Mod!!

So, is the PayPal intigration coming soon :)
Keppn
Posts: 80
Joined: Wed 14. Jul 2004, 18:16

Post by Keppn »

Thanks for sending me an example of an phpwcms.php, breitsch!
At first glance everything seemd to work fine, but two more errors occured for me (phpwcms dev 1.2.7., with IE and Firefox):

1. Imagebrowser
The imagebrowser doesn't work for me; when clicking the icon, a new windows opens, but instead of the imagebrowser the homepage of my site is shown. (I have uploaded "filebrowser_exd.php" in the root dir.). That's quite crucial for my site, so any tip is welcome!

2. CSS-Editing in Backend
When I edit the CSS in the backend and click on "save", I'm immediately thrown to the login-page of my phpwcms-installation. I checked for correct CHMODs, they are all correct according to the installation notices.
Simple workaround is to edit CSS in an editor, I just thought to mention it.

- Edit: found a third one! -

3. When using a Field "Link", it doesn't generate "www.desired-link.de", but "www.myhomepage.de/www.desired-link.de", which of course doesn't work.
- Edit: Ah, breitsch pm'd me the solution for the third issue, of course it has to be http://www.desired-link.de ! :oops:

Slowly I get the feeling that I
- really messed something up during installation; but in the meantime I triplechecked everything?!
- or the mod isn't fully compatible with dev.1.2.7? Anyone tried that?

Thanks in advance!
Keppn
Posts: 80
Joined: Wed 14. Jul 2004, 18:16

Post by Keppn »

Small update:

Solution for 1 (juhu! :D)
Make the Filebrowser work with phpwcms dev1.2.7:
In filebrowser_exd.php
replace

Code: Select all

session_name('hashID');
session_start();
with

Code: Select all

// session_name('hashID');
session_start();
Same Solution applies for 2:
In file /include/inc_module/mod_exdata/inc_act/act_css.php
replace

Code: Select all

session_name('hashID');
session_start();
with

Code: Select all

// session_name('hashID');
session_start();
That makes CSS-Editing in backend work. Again, thanks to Sherlock Breitsch :)

Update for 3:
breitsch mentioned, that automatic adding of "http://" will come in a future release.

Many thanks for this great mod and the prompt support!
Last edited by Keppn on Wed 12. Jul 2006, 10:34, edited 1 time in total.
breitsch
Posts: 473
Joined: Sun 6. Mar 2005, 23:12
Location: bern switzerland

Post by breitsch »

Hi everybody

please understand, that I will NOT publish any adaptation for ExData to phpwcms pre 1.2.7!
When 1.2.7 is officially declared as stable by OG I'll update ExData to run with phpwcms 1.2.7.
http://www.youtube.com/watch?v=jqxENMKaeCU
because it's important!
breitsch
Roath
Posts: 26
Joined: Mon 3. Jul 2006, 23:16

Post by Roath »

for some reason it doesn't ask me to install, only shows me the modules page and gives me database errors once i want to access the other pages...

I have had it installed before on a different database, is there a file i can run that creates the databases? as its a move to a clean database that is as far as i can see the only problem, that the tables for the module aint there but it still think that it has been installed because of the move
User avatar
stoked
Posts: 5
Joined: Thu 20. Oct 2005, 12:18
Location: Hamburg/ St.Pauli
Contact:

need help ExData Module

Post by stoked »

hallo zusammen,

ich habe folgendes problem, phpwcms v1.2.6 laüft prima, habe das ExData Module eingebaut, doch nun sehe ich es im backend undter module, doch wenn ich drauf klicke tut sich leider nix.

thesearch meint auf 'ISO' umstellen, habe ich gemacht, geht aber auch nicht.
woran kann es liegen, kann mir jemand helfen.


vielen dank im vorraus

stoked
Keppn
Posts: 80
Joined: Wed 14. Jul 2004, 18:16

Post by Keppn »

Hi stoked.

That's most likely an installation problem, I didn't get it right on the first time as well :)

Have again a look at phpwcms.php, there are TWO sections that need to be edited, one is one the beginning, the other quite at the end of the file. I'll repost what breitsch pm'd me:

First section of phpwcms.php:

Code: Select all

case "modules":      //modules
   $wcsnav["modules"] = "<strong class=\"navtexta\">".$wcsnav["modules"]."</strong>";
   if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
   $subnav .= subnavtext($BL['be_subnav_graphicaltext_mod'], "phpwcms.php?do=modules&p=2", $p, "2", 0);
   }
   // EXDATA MODULE...
  if ($phpwcms["exdata_mod"]) { // enabled/disable ExData Module
  $subnav .= subnavtext("ExData Module", "phpwcms.php?do=modules&p=91", $p, "91", 0); //NOTE: I took the Number 91 for this module. Please contact the official Mod's List to see what numbers are still free!
  }
   break;
Second section of phpwcms.php:

Code: Select all

case "modules":   //Modules
         switch ($p) {
            case 2:    // Graphical Text MOD
            if($phpwcms["gt_mod"]) { //enabled/disable GT MOD
            include_once("include/inc_module/mod_graphical_text/main.inc.php");
            }
            break;
            case 91: // ExData Mod
          if ($phpwcms["exdata_mod"]) { //enabled/disable exdata mod
            include_once("./include/inc_module/mod_exdata/main.inc.php");
          }
          break;
            default: echo 'Thanks to J&eacute;r&ocirc;me for his <a href="phpwcms.php?do=modules&p=2">Graphical Text MOD</a>.';
            echo '<br>&nbsp;<br>Other modules might follow. GT MOD will be moved to admin section.';
         }
         break;
Also check CHMOD of files and if the mod is enabled in /config/phpwcms/conf.in.php
User avatar
stoked
Posts: 5
Joined: Thu 20. Oct 2005, 12:18
Location: Hamburg/ St.Pauli
Contact:

BEST

Post by stoked »

HELLO KEPPN,

vielen dank-) jetzt ist mehr zu sehen-)

jetzt muß ich nur noch schauen wie die fehlermeldung los werden.
Last edited by stoked on Wed 12. Jul 2006, 13:11, edited 1 time in total.
Keppn
Posts: 80
Joined: Wed 14. Jul 2004, 18:16

Post by Keppn »

Geh am besten nochmal Schritt für Schritt die Installationsanweisungen durch und überprüfe, ob die Upload-Pfade stimmen, die MySQL-Tabellen-Präfix richtig eingetragen ist, etc...
User avatar
stoked
Posts: 5
Joined: Thu 20. Oct 2005, 12:18
Location: Hamburg/ St.Pauli
Contact:

jetzt geht es -))

Post by stoked »

vielen dank für die schnelle hilfe :-)
jetzt scheint es zu laufen.. mal ein wenig testen :-)
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

Is there a way to sort the entry after content? I mean in the drop down menu to have a way to view the conten from one fild
for exemple in one fild I want to add citys : Berlin, Vien, Amsterdam so on...
is there a way to make this city to apear automaticly in drop down menu in ordere to select the city that I want?

Or a way to make 1 fild invisible but to be visible in the drop down menu

Thanks
ImagePackging design,labels, catalogs,postcards,
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

breitsch wrote:Hi everybody

please understand, that I will NOT publish any adaptation for ExData to phpwcms pre 1.2.7!
When 1.2.7 is officially declared as stable by OG I'll update ExData to run with phpwcms 1.2.7.
Thx breistch... I'm (with pico) trying to integrate it into 1.2.7 (and XT) with some (a lot) changes it works ok. For Exdataauto Templates NEED to be selected otherwise RT doesn't pass, anyway, I'll keep you posted about the advancements. (+doc all) No stress.

Cheers
Post Reply