Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Fri 28. Dec 2007, 17:19
intermedion wrote: I just installed the mod for version 1.3.5 I get these errors; no entry is displayed on the site.
Any idea what might be the problem?
- Before adding a blog
Warning: Invalid argument supplied for foreach() in C:\wamp\www\phpwcms\include\inc_module\mod_blogs\inc_lib\functions.db.inc.php on line 273
- After listing blog entries:
Hallejulia
Parse error: syntax error, unexpected '}' in C:\wamp\www\phpwcms\include\inc_module\mod_blogs\inc_tmpl\listentries.tmpl.php on line 80
Hey
Quite nice error ... took some time to have it for myself...
BUT ! À very simple solution! You forgot to enter the Blogowner (checkbox)
Pappnase
Post
by Pappnase » Fri 4. Jan 2008, 07:19
hello
i also setup up your blog
but one question in the backend the blog will dispalyed in english.... so how can i change it to german
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Fri 4. Jan 2008, 08:49
Pappnase wrote: hello
i also setup up your blog
hmm .... not my blog
shinys
But I'll look for that.....
There is a need to implement such a thing, since now there is no clear support for different languages ...lets do it. .. be back with that ..
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Fri 4. Jan 2008, 12:26
Ok, That'll work
Takes some time to fiddle out all the english entries, translate them and replace with a variable from language file.
I think some monthly listing for Blog entries might be cool ... kind of {BLOG:blogname:01-12}
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Fri 4. Jan 2008, 17:56
puuuhhh ...
Just some language file works for this papernose man
Some changes in my frontend ... german... Will take a couple of days ...
Jürgen
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Sun 6. Jan 2008, 11:16
Pappnase wrote: hello
i also setup up your blog
but one question in the backend the blog will dispalyed in english.... so how can i change it to german
Hello Oliver ... some Beta :
Hope you meant something like this
Now I need some translation..
DE->EN
DE->BERLIN
update
Moderator
Posts: 6455 Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor
Post
by update » Sun 6. Jan 2008, 11:25
DE->EN
was geht denn hier ab --> what goes up here
DE->BERLIN
was geht denn hier ab --> icke sach nur: dufte;
360fusion
Posts: 120 Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:
Post
by 360fusion » Tue 8. Jan 2008, 13:50
HI I've just installed the blog using Xampp to have a play about with it. I managed to install all the files and add the table to the database with phpmyadmin fine and all is working in the backend.
But i don't know how to show the blog in the front end, i tired adding {BLOG} to an article as a guess but no joy. could you please tell me how to show the blog in the front end? is there a replacement tag or somthing?
Thanks
Ben
P.S. Great work by the way, this is a fantasic addition to PHPWCMS.
flip-flop
Moderator
Posts: 8178 Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:
Post
by flip-flop » Tue 8. Jan 2008, 14:14
Hi Ben,
-> MODULES -> mod_blogs -> + Add a blog -> Fill in the title name = blog_name
-> E.g. CP html: -> Fill in {BLOG:blog_name}
That´s all
Knut
360fusion
Posts: 120 Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:
Post
by 360fusion » Tue 8. Jan 2008, 14:31
Thanks
Easy when you know how
Ben
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Sat 12. Jan 2008, 21:48
we got 2 languages ... DE and EN
Language performs like the language switch in conf.inc.php. That took me some telnet headaches, switching language every minute when testing it...
have fun
If someone has more languages ....... come on, let me know.
360fusion
Posts: 120 Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:
Post
by 360fusion » Sun 13. Jan 2008, 16:06
Hi,
I've been playing about with this mod again and couldn't work out why the add and view comments section was always open and didn't open and close. I looked throgh the souce code of the page and I found this code:
Code: Select all
<script src="script/prototype.lite.js" type="text/javascript"></script>
<script src="script/moo.fx.js" type="text/javascript"></script>
I then moved the folder with the js scripts in to the root and it worked.
should this read?
Code: Select all
<script src="include/inc_module/mod_blogs/scripts/prototype.lite.js" type="text/javascript"></script>
<script src="include/inc_module/mod_blogs/scripts/moo.fx.js" type="text/javascript"></script>
Ben
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Sun 13. Jan 2008, 17:08
hi
depends on where your script is stored..:
Code: Select all
<script src="script/prototype.lite.js" type="text/javascript"></script>
<script src="script/moo.fx.js" type="text/javascript"></script>
when: in root in /script ...
Anyway. both examples are working, when path to java is correct.... I will repack the system with the javascript ...
..foorgotten...
360fusion
Posts: 120 Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:
Post
by 360fusion » Sun 13. Jan 2008, 17:17
I have found a few more bugs, would you like me to post the here or pm you?
Ben
juergen
Moderator
Posts: 4556 Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:
Post
by juergen » Sun 13. Jan 2008, 17:33
I ' ll sent you mail adress....