awesome ajax!
thx for the sharing, susan.
Anyway, your code here
<?php
regClientScript('assets/libs/plugins/voting/voting.js');
should be
<?php
$modx->regClientScript('assets/libs/plugins/voting/voting.js');
no?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
er... yeah
(had a stray <?php in the code just before that line)
@kudykam - just for you! The CSS :before selector is quite handy. And if a visitor is using a browser that doesn’t know what to do with it, חבל.
@coroico,
try to change the CSS file
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 9 Posts
Hallo goldsky,
at first thanks a lot for your help.
I’m new in MODX so, forgive me for a stupid question.
How I get navigation work with cat_description?
btw, I have discovered that if I set a parameter &nav_prevUpNextTitle=`cat_name`, the navigation doesn’t work well. The link is correct, but folder name isn’t.
"cat_alias" works well.
try cat_title
that placeholder will use alias if any, and revert back to folder’s name if there’s no alias.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 9 Posts
the same problem: link is correct, folder name isn’t
please clarify, how it is not correct.
and do you use non ASCII characters?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
- 9 Posts
I have 6 folders. If I use cat_alias, all is fine. But, with cat_title I get this:
First page:
<a [second folder]>current (first) folder</a>
Second page:
<a [first folder]>first folder</a> <a [third folder]>current (second)</a>
Third page:
<a [second folder]>first folder</a> <a [fourth folder]>second folder</a>
Fourth page:
<a [third folder]>second folder</a> <a [fifth folder]>third folder</a>
Fifth page:
<a [fourth folder]>second folder</a> <a [sixth folder]>third folder</a>
Sixth page:
<a [fifth folder]>third folder</a>
The same things happening when I set standard settings of the module on name instead of alias.