Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:15:48 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155482 Posts in 21708 Topics by 7734 Members
Latest Member: adrielkhollis4
* Home Help Search Login Register
Pages: 1 [2] 3 4 ... 7   Go Down
Print
Author Topic: New Module - Portfolio  (Read 19439 times)
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #25 on: April 05, 2009, 10:11:09 PM »

Hi Ruud,

Sorry for misunderstanding. I did not change it before but I replaced the html as you suggested but I still get an error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fields = '', template = 'Hello world' WHERE section_id = '138'' at

After "at" no text appears.

I cannot reproduce this error. I must be something in the data you are trying to save.
try1. Can you try adding something to the "fields" input and save the page?
try2. Could you try to clear the "Border color" field and see if you can save the page?
try3. empty all the fields on the page and see if the page can be saved that way.

So it refers to a template but I don't have a template with that name!? After seeing the error I return to the page in the backend and the html is restored to its initial value as you showed in the previous posting.
It is not referring to a template but the database field that is named template. This is where the "mini template html" is stored. It has no relation with the template used in your website.

Anyway, the module is downloaded over 125 times now, there should be more people having this problem (except Gerard and Gillweb). Maybe someone had the same problem and found a solution?

Ruud
Logged

Professional WebsiteBaker Solutions
Gerard

Offline Offline

Posts: 81


WWW
« Reply #26 on: April 05, 2009, 10:52:42 PM »

Hi Ruud,

Not suprising it is often downloaded. It looks very nice  smiley

I did all the suggestions you gave but the error keeps coming.

I made a screenshot of the settings in phpmyadmin. Maybe it's helpfull!?



Don't know if all these values are correct but all the 3 last items are look different from the others. Is that correct? (Type and Collatie)

Regards,

Gerard
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #27 on: April 05, 2009, 11:07:45 PM »

Nothing wrong there.

In the meantime, I did find a possible problem.
In some (most) versions of MySQL the word "fields" is a reserved word.

I will try to fix this tomorrow, and put a new version of the portfolio available for download.
I am pretty sure that will solve your problem.

Ruud
Logged

Professional WebsiteBaker Solutions
Gerard

Offline Offline

Posts: 81


WWW
« Reply #28 on: April 05, 2009, 11:10:25 PM »

You are great!

Thank you for the time being spent.

Regards,

Gerard
Logged
gillweb

Offline Offline

Posts: 83



« Reply #29 on: April 06, 2009, 02:27:34 AM »

yes please let us know when this update is uploaded, so far i'm loving this little Module!  afro
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #30 on: April 06, 2009, 08:48:21 AM »

A new version (0.2) can be found here: http://portfolio.allwww.nl/pages/download.php
It should fix the problem reported by Gerard and Gillweb. (please tell us if it did wink)

Please not that changes made in the frontend.css will be overwritten on upgrade. If you made changes in the frontend.css, make sure you have a backup copy available before installing the new version.

Ruud
Logged

Professional WebsiteBaker Solutions
Luckyluke

Offline Offline

Posts: 555



« Reply #31 on: April 06, 2009, 09:30:25 AM »

Ruud,

If you change the word "fields" to another name, what about an update of the module?
Will the name also change or do we have to rename it manualy in phpmyadmin?

Grtz,
Luc
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #32 on: April 06, 2009, 09:34:13 AM »

No, the name "fields" is not changed, it is now properly quoted (between `quotes`).
That should be enough.

Ruud
Logged

Professional WebsiteBaker Solutions
Gerard

Offline Offline

Posts: 81


WWW
« Reply #33 on: April 06, 2009, 10:41:12 AM »

Hi Ruud,

It works now. Great job. I go play around with the template to adapt it to my website.

Thanks.

Regards,

Gerard
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #34 on: April 08, 2009, 11:41:27 AM »

Since the Portfolio Module is downloaded for over 140 times now, I hope there are some portfolio's live out there.

I would really like to see portfolio's made with this module, and possibly list them in a showcase on the Portfolio Demo website.
So if you have made a nice page using this module please let me know through this page.

Ruud
Logged

Professional WebsiteBaker Solutions
Gerard

Offline Offline

Posts: 81


WWW
« Reply #35 on: April 08, 2009, 10:44:21 PM »

I will, as soon as I'm satisfied with the template. I reccomend the module to anyone who has to show something.  afro
Logged
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #36 on: April 10, 2009, 09:20:09 PM »

does not properly work, dont know why ?

i've installed both module, made a section for the catalog in a page, i've created a page in subsection for 1 detail..

all in defaults settings

tried to add details... no names, websites of email, so i figure they were after the save, so i saved then in the page they were "{NAME}
{WEBSITE}
{EMAIL}"

so i've checked settings and saw the User Defined Fields and templates

i've added NAME, WEBSITE, EMAIL to user defined feild

now return to details, all feild are there, fill them and save..

only NAME got saved !?
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #37 on: April 10, 2009, 09:30:54 PM »

What went wrong is that you must not have any whithespace/blanks/leerzeichen/espace in the User Defined Field list.

For the default "template" you should have:

Code:
Name,Website,Email
Not
Code:
Name, Website, Email

Hope this helps.

Ruud
Logged

Professional WebsiteBaker Solutions
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #38 on: April 10, 2009, 09:35:04 PM »

yep thanks,

suggestion :
you should use trim() for each feild after exploding the comas, will leave remove whitespace for you, and not be a demand on the user Wink

and... do you want my function for adjusting a foreight character name to base characters "file name" safe ?

i've got a function that'll take a phrase like "Évènement de cet été" to "evenementdecetete" with ease..
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #39 on: April 10, 2009, 09:53:41 PM »

Well, I still need a better method for the field management.

The UDF's are stored in one field in the table, but used as $_POST variables.
The post variables cannot have whitespace and non ascii characters.

I would like to use a popup or something to add/modify/remove field-names (like in the WYSIWYG editors).
For now that is a "nice to have"

The function you are talking about might be usefull. Can you post or PM the code?

Ruud
Logged

Professional WebsiteBaker Solutions
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #40 on: April 10, 2009, 10:00:08 PM »

here it is :
Code:
function retranscrire($string) {
   $string = strtr($string,"\xA1\xAA\xBA\xBF\xC0\xC1\xC2\xC3\xC5\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD8\xD9\xDA\xDB\xDD\xE0\xE1\xE2\xE3\xE5\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF8\xF9\xFA\xFB\xFD\xFF",
       "!ao?AAAAACEEEEIIIIDNOOOOOUUUYaaaaaceeeeiiiidnooooouuuyy");
       
   $string = strtr($string, array("\xC4"=>"Ae", "\xC6"=>"AE", "\xD6"=>"Oe", "\xDC"=>"Ue", "\xDE"=>"TH", "\xDF"=>"ss","\xE4"=>"ae", "\xE6"=>"ae", "\xF6"=>"oe", "\xFC"=>"ue", "\xFE"=>"th"));
   
   $string = strtr($string, array("'" => '', "\"" => '', "/" => '', "\\" => '', "(" => '', ")" => '', "?" => '', ";" => '', " " => '_'));
     
   return($string);
}

i'll rework this function in a week, will be needed to work with other than latin characters
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #41 on: April 10, 2009, 10:04:24 PM »

btw :
now working : http://www.votreespace.net/pages/realisations.php
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #42 on: April 10, 2009, 10:14:30 PM »

Hi ruud
first of all i say thank you very much
this excellent and usefull module makes really fun.
i addet it right now on my page

http://www.km-p.de/pages/de/portfolio/web-design.php

i leave the link on your feedback form as well

Kirk

Logged
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #43 on: April 10, 2009, 10:19:17 PM »

kirk, that's cool, but there is a bug when you click on an image to make it bigger Wink
cheers!
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Shooye

Offline Offline

Posts: 14


« Reply #44 on: April 15, 2009, 03:29:26 PM »

Very interesting module !!

I have only one problem : i don't see the arrows on my website.

See here : http://www.les-sites-internet.com/V2/pages/realisations.php

Do you have any idea ?
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2295



WWW
« Reply #45 on: April 15, 2009, 03:44:16 PM »

There are 2 parts in your template CSS with a high z-index value.
The CSS ID #droite sets a z-index: 1000;, the ID #logo sets a z-index:100;

That makes the arrows not visible, but also te zoomed image is behind those element.
Set both those z-index values to 10 and it will work fine.

Ruud
Logged

Professional WebsiteBaker Solutions
Shooye

Offline Offline

Posts: 14


« Reply #46 on: April 15, 2009, 04:43:59 PM »

Thanx !

it works well now Wink
Logged
cyberdog

Offline Offline

Posts: 15



« Reply #47 on: May 14, 2009, 11:20:31 PM »

I think this module will be perfect for a site that I am currently working on. however I need a slight modification.

Basically, I would like the carousel thumbnails when clicked on, to open stright to the fancybox Full image.

My coding skills is basic but if anyone can point me the right direction I would be very greatful

Thanks!

PS: I visited http://portfolio.allwww.nl/pages/showcase.php and I noticed thet you guys are not submiting your sites with the portfolio module.

I will submit 2 sites as soon as I am done with them
Logged
Boudi
Addon Team

Offline Offline

Posts: 816



WWW
« Reply #48 on: May 28, 2009, 09:16:15 PM »

Hi Ruud,

Thnq for this very nice mod! I'm testing it right now.

All things look fine, only 1 thing bothers me: on some thumbs suddenly there are top- and left borders and I can't get rid of them. it looks like this mod created those borders.

You can see it in action here. (testpage)

Any idea what could cause this?

Greetz,

Boudi



Logged

...:: Bake the Unbakable ::...
kirk
WebsiteBaker Org e.V.

Offline Offline

Posts: 204



WWW
« Reply #49 on: May 28, 2009, 09:32:09 PM »

Hello Boudi

I looked right now on your test page.

it seems all pictures contains the borders it self.

just download one and saw it with photoshop


Kirk
Logged
Pages: 1 [2] 3 4 ... 7   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!