Search found 45 matches

by pixelpeter
Sun 25. Jul 2004, 01:10
Forum: sites under construction (made with phpwcms only)
Topic: www.peperkorn-online.de
Replies: 17
Views: 11466

Mit der regelmaessig gepflegten browscap.ini haelt sich der Aufwand in Grenzen. Durch die php-funktion get_browser() bekommt Ihr alle Infos die Ihr braucht.

Anderer Ansatz der auch funktioniert ist http://phpsniff.sourceforge.net
by pixelpeter
Thu 22. Jul 2004, 11:22
Forum: hacks & enhancements
Topic: PopUp-Window Replacement Tag
Replies: 6
Views: 7079

There's actually a "feature" on some systems (didn't evaluate it deeper) causing this not to work by using the php-function is_int :cry: - In front.func.inc.php search for the function get_article_jslink - Search the line "if( is_int($article_id) )" - and replace it with "if...
by pixelpeter
Tue 20. Jul 2004, 23:25
Forum: hacks & enhancements
Topic: Quick "Public Article" Mod --> jeder darf editi
Replies: 9
Views: 6050

Well, I#m sad butI have to inform you the addition posted before is wrong in two ways ;-( 1: I used the "9999" for our virtual user not "999" 2: The posted SQL-Statements are wrong !!! ... id = x or y or z ... won't work this statement is only true for the combination of two valu...
by pixelpeter
Tue 20. Jul 2004, 12:14
Forum: hacks & enhancements
Topic: Little CSS-Hack for the annoying <p>
Replies: 2
Views: 2731

Little CSS-Hack for the annoying <p>

If you fill in your text with an WYSiWYG-Editor you'll have noticed, that (if you have more than 1 paragraph) <P>-Tags get inserted. This will screw up (get bigger) the space between ContentHead/ContentSubhead and your article-text. To avoid this simple put in this additional CSS-definition into you...
by pixelpeter
Tue 20. Jul 2004, 01:35
Forum: hacks & enhancements
Topic: Edit all available Stylesheets in backend
Replies: 7
Views: 5591

Updated this mod an added an URL parameter, so the edited stylesheet is displayed again after saving/page reload and not the default stylesheet as in V0.1 of this hack

You can download this mod here:
http://phpwcms.pixelpeter.de/index.php?cssedit
by pixelpeter
Mon 19. Jul 2004, 23:27
Forum: hacks & enhancements
Topic: Quick "Public Article" Mod --> jeder darf editi
Replies: 9
Views: 6050

This mod needs an addition, because the contentpart-functions like sorting, visibily and deletion won't work until you incorporate this code. Just overwrite the complete code of include/inc_act/act_articlecontent.php with this: <?php /*****************************************************************...
by pixelpeter
Mon 19. Jul 2004, 01:51
Forum: hacks & enhancements
Topic: PopUp-Window Replacement Tag
Replies: 6
Views: 7079

PopUp-Window Replacement Tag

With this replacement tag you're able to open an article in a new popup window. If you want to you can also specify the width and height of the new window. Usage this tage like this: [POPUP:IDorAlias]LinkName[/POPUP] or [POPUP:IDorAlias:Width:Height]LinkName[/POPUP] Read more here and see it in acti...
by pixelpeter
Mon 19. Jul 2004, 01:49
Forum: phpwcms Feature Requests
Topic: content part pictures - different images on click?
Replies: 3
Views: 1465

Maybe this replacement tag helps you: It creates a popup window!
http://phpwcms.pixelpeter.de/index.php?popupwindow
by pixelpeter
Sun 18. Jul 2004, 14:00
Forum: phpwcms Support English
Topic: Spliting article into multiple pages
Replies: 22
Views: 7697

Because it's not really a replacement tag I choosed to use ####xxx#### wich is also used by Oliver in more complex situations. Reg-Ex is the short for regular-expression wich stands for patterned based searching, means not searching for a specific string (e.g: "phpwcms") but for a pattern ...
by pixelpeter
Sun 18. Jul 2004, 13:38
Forum: hacks & enhancements
Topic: The CSS Story continues...
Replies: 18
Views: 10339

Well, you're right with the term of semantic html Problem is/was that rendering is implemented different. Sometimes using the div_class function givin the css-classname as a argument and (you guessed it) rendnering a div, sometimes using the headline function sourounded by different $template_defaul...
by pixelpeter
Sat 17. Jul 2004, 02:32
Forum: hacks & enhancements
Topic: Edit all available Stylesheets in backend
Replies: 7
Views: 5591

Edit all available Stylesheets in backend

If you're used to work with more than one stylesheet per website you'll find it kind of limiting that you can only edit the default stylsheet frontend.css in the backend of phpwcms. This litte hack gives you the ability to edit all available stylsheets resisting in the folder phpwcms/phpwcms_templat...
by pixelpeter
Fri 16. Jul 2004, 22:39
Forum: phpwcms Support English
Topic: Spliting article into multiple pages
Replies: 22
Views: 7697

I've build a paginator ;-) but it's just beta. The hardest thing to ge it to work is the reg-ex because I'm using ###NEXTPAGE### in the content to determine the next page. So the pagination is not really the problem ;-)

Take a look at http://phpwcms.pixelpeter.de/index.php?paginatorexample
by pixelpeter
Fri 16. Jul 2004, 12:54
Forum: phpwcms Bug Reports
Topic: Wrong column count with identical images in ct = images
Replies: 0
Views: 2155

Wrong column count with identical images in ct = images

If you use more the once the same image for the "image" contenttype the calculation of the column count will break; EXAMPLE 1: 6 times image "sample1.jpg" wich we want to have displayed in 3 column will give us a column count of 1 EXAMPLE 2: 5 times image "sample2.jpg" ...
by pixelpeter
Thu 15. Jul 2004, 14:49
Forum: phpwcms Support English
Topic: Suggested site development configuration
Replies: 2
Views: 1147

I changed following lines at the start of conf.inc.php. This gives me great flexibility $home = "192.168.0.1:97"; // these are the setting for local development if ( $_SERVER['SERVER_NAME'] == $home ) { // database values $phpwcms["db_host"] = "localhost"; $phpwcms[&quo...
by pixelpeter
Thu 15. Jul 2004, 02:12
Forum: hacks & enhancements
Topic: The CSS Story continues...
Replies: 18
Views: 10339

The CSS Story continues...

As mentioned before in this thread I've started to rebuild the contenttypes to be rendered using CSS.

For a better understanding I've set up a little Test site where you can have a look at the work (in progress).

Please visit: http://phpwcms.pixelpeter.de