Search found 50 matches

by markoehl
Tue 10. Oct 2006, 10:39
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

tsl wrote: 2. Can I use some sort of REP TAG for this. I would like the news listings to go into a right block on the startpage.
try this: http://www.swissalpine.ch/phpwcms/newsmod.phtml
by markoehl
Tue 10. Oct 2006, 10:36
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

tsl wrote:Ok, I see I have a major problem with dates with this MOD.
In table phwcms_news I get the following in the columns for every news
Wrong dateformat:

Published: 2006.08.31

Use 2006-08-31 or 31.8.2006
by markoehl
Tue 10. Oct 2006, 10:34
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

checco wrote:Hi,
I have a question...
Does this work in 1.2.8 ?

Thanks for this mod
It should work. Please let me know if not...
by markoehl
Tue 10. Oct 2006, 10:32
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

I'm not so good at german, but I get this error... error while updating or inserting news: INSERT INTO test_phpwcms_news SET news_title='fgdg dfg dfg dfg', news_text='dfg fdg dfg dfg df gdf g', news_datepublish='08-10-2006', news_day='', news_linktext='', news_alink='', news_calink=0, cimage_name ...
by markoehl
Tue 10. Oct 2006, 10:30
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

zed wrote:What's the syntax for {DATEPUBLISH:FORMAT} var in the templates? I tested several "php date" syntaxes but none of them worked.
This function is beta. I have planed to implement that. Will do that soon ;-)
by markoehl
Fri 8. Sep 2006, 11:31
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

Please, if someone have a clue i'd be very happy. I have tried to understand news.editcontent.inc.php but I'm lost. I discoverd a bug in the sql_datetime function. Please replace existing code with: function sql_datetime($datumtest) { if ($_SESSION["wcs_user_lang"] == "de" AND !stristr ...
by markoehl
Mon 14. Aug 2006, 13:03
Forum: hacks & enhancements
Topic: Keywords Mod
Replies: 3
Views: 3397

Keywords Mod

Add Keywords to Admintool "Keywords" and select specific content to this keyword. Tnclude this keywords incl. links to a site on your website. Nice Mod to place any keywords on your website and encrease your search engine ranking. Demo: http://www.karo.ch Demo & Download: http://www.alpine-davos.ch ...
by markoehl
Fri 26. May 2006, 14:20
Forum: hacks & enhancements
Topic: Login Contentpart
Replies: 84
Views: 45158

Hallo, ich habe den Hack mal eingebaut, habe aber das Problem, dass ich von der Login.php nun auf meine index.php gelange und nicht mehr ins CMS?!?! Du musst dich als Admin anmelden und Zugriffsrechte auf's Backend haben. Melde dich mal über das alte login.php an und prüfen deine Einstellungen im A ...
by markoehl
Fri 7. Apr 2006, 16:03
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

Mir ist nicht ganz klar was dieses Modul macht? Wenn ich News eingeben möchte sehe ich doch nur content title,subtitle send as und No News-( Die Demo findest du hier: http://www.alpine-davos.ch/phpwcms Kannst mal ein paar Einträge machen. Zweck des Mods: Du kannst Mitteilungen, Promotion für neue In ...
by markoehl
Thu 6. Apr 2006, 14:53
Forum: hacks & enhancements
Topic: Google Sitemap
Replies: 23
Views: 23749

derelch wrote: Isn`t there a solution where you can choose to take the alias and if there ist no alias the hack will take the url like id=92,0,26,0 ?
At the moment the whole alias stuf is only aviable for the struktur level. There is no alias for content, as soon...
by markoehl
Sun 19. Mar 2006, 18:50
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

Ben_Hook wrote:Hi, sorry to post in a slightly (few weeks) old topic, but does anybody have an english translation of this (the language files)? I tried google but I get the wrong stuff.. Thanks
I did some translation work. Check out the ZIP File..
by markoehl
Tue 14. Mar 2006, 13:49
Forum: hacks & enhancements
Topic: Google Sitemap
Replies: 23
Views: 23749

Re: Alias ind sitemapfile

I wanted the aliasname in the sitemapfile instead of /index.php?id=92,0,26,0.... So i modified the SQL-Statement in article.editcontent.inc.php. I am selecting fields from two tables (phpwcms_article and phpwcms_articlecat). If article_cid (from phpwcms_article) and acat_id (from phpwcms_articlecat ...
by markoehl
Tue 14. Mar 2006, 11:19
Forum: hacks & enhancements
Topic: Google Sitemap
Replies: 23
Views: 23749

volkman wrote:@arkon
I added

Code: Select all

AND article_deleted=0
in article.editcontent.inc.php on line 33 to avoid listing deleted articles in the sitemap

volkman
Thanx. I modified the script too....
by markoehl
Tue 7. Mar 2006, 00:48
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

Tschausen wrote: versteht jemand, was ich zu formulieren versuche, bzw kann mir jemand weiterhelfen?
;-) Kannst mir mal link zur Seite und zugriff aufs Backend geben, schau mir das dann mal an und fixe das gleich... koma info@pagewerkstatt.ch
by markoehl
Wed 1. Mar 2006, 09:27
Forum: hacks & enhancements
Topic: News MOD
Replies: 67
Views: 44581

Re: Kann keine News Kategorie erstellen!

Wittrock wrote:wenn ich im Adminbereich eine Kategorie für den Newsbereich anlegen möchte, kommt immer das normale Newsfeld mit der Suche und nicht die Kategorieeingabe Möglichkeit.
Jedes Modul hat ja eine ID (p=XX) Du musst in phpwcms.php prüfen ob die angegebenen ID's übereinstimmen.