David wrote:
jackie wrote:

Or you can just name it "Image Manager" or "Imager". cool

Or "Imanager". big_smile

Or the Apple way wink
iManager

Is USE_MOD_REWRITE set to true in config.php?

// Change this setting to enable mod_rewrite. Set to "true" to remove the "?" in the URL.
// To enable mod_rewrite, you must also change the name of "_.htaccess" in your
// Wolf CMS root directory to ".htaccess"
define('USE_MOD_REWRITE', true);
David wrote:

For the default Pagination helper, just edit lines 47-48 with your desired value. Not so hard! wink

Haven't checked Pager but for Pagination there is no need to edit the values in the file,
just add them to the array and change them in any way you like, example in Dutch:

$pagination = new Pagination(array(
    'base_url' => '?news?page=',
    'total_rows' => $news->childrenCount(),
    'per_page' => 15,
    'num_links' => 8,
    'first_link'   => '‹ Eerste',
    'last_link'   =>  'Laatste ›',
    'cur_page' => (isset($_GET['page']) ? $_GET['page']: 1)
));

4

(3 replies, posted in General)

jackie wrote:

Is this related to Roles Manager plugin or something else!?

I created a custom role using the Roles Manager.
That role allows Admin_view access and acces to a custom build plugin.
Now users with that role can't add nor edit pages so thats great
but unfornutely that does not apply to making copies of pages and deleting pages.

Is this going to be fixed in 0.8.0?

5

(3 replies, posted in General)

Today I noticed that a user with just Admin view rights can make copies of pages.
Its not really something I like that user to do.

Any solutions to prevent that from happening?

6

(5 replies, posted in General)

Editing the XML proved to be more difficult then editing the SQL;
for some reason the XML output is not really userfriendly for editing?

But I got it working.
Thanks for the suggestions guys/gals.

7

(4 replies, posted in General)

Just to get the idea what a glossay script does I like to see a example.

8

(5 replies, posted in General)

I need to do a fresh Wolf install, including new database and then I supossed to get the existing articles page (including its children) from the old database and "move" them into the new database. I'm not sure what would be the best way, or if it is possible at all.
Perhaps I should add each page and content by hand, there's about 40 of them.

Looks like a handy plugin, I might use it for my client.

10

(5 replies, posted in General)

Wolf CMS is used on a website and now the owner like me to make a new fresh start by doing a fresh install, there is only one catch: the articles page and all its children under that page need to be moved.

How should I proceed?

Are there any updates about the rewrite of the Newsletter plugin?

I've also found this thread, it contains a link for the Simple Newsletter plugin:
http://www.wolfcms.org/forum/post11164.html#p11164

13

(2 replies, posted in General)

Perhaps Tikky can help you out:
http://www.wolfcms.org/forum/post3940.html#p3940

14

(5 replies, posted in The Pub)

Yes its all good now.
I probally don't have Coda installed, though the browser should have selected some other available fonttype other then Coda?

15

(5 replies, posted in The Pub)

Well this discription is my same problem:
http://graphicdesign.stackexchange.com/ … d-unreadab

I'm also using XP here.
Flushing chache didn't do anything.
Used to be fine though.

Removed .NET completly from my system yesterday, could that be the cause?

Edit:
its this system for sure, also works fine on a friends XP system

16

(5 replies, posted in The Pub)

While just checking http://www.wolfcms.org/phpdoc/latest/ I notice that the letter e is completely unreadable to me.
I'm running Windows, and have tested it with Firefox, Chrome and IE, but it makes no difference.

Is it just my system or does someone else experience the same?

17

(1 replies, posted in Menu development)

Not sure what you like to do, but use this to check if there are any children:

<?php
    if ($this->childrenCount() > 0) {
        // has children
    } else {
       // no children
    }
?>

18

(59 replies, posted in Third-party / User contributed Plugins)

Works fine for me now Martijn.
Thanks for the quick fix.

19

(59 replies, posted in Third-party / User contributed Plugins)

mvdkleijn wrote:

Do you get any errors in the web server's error log?
Is Wolf running in the root of the site or in a subdirectory?

Errorlog contains no errors.
Wolf is running in root.

Tried it on a different website (different host too) and again no errors in the errorlog.
Some observations:

1. When Funky is enabled it prints Cache miss... even though it saves different pages to the cache directory, the content is allways that of the index though.
2. The htaccess rules prevent external files from being loaded (CSS, javascript, images)
or perhaps its due to Funky?
3. When the htaccess rules are removed and Funky is still enabled
it will only return the content of index, despite visiting different pages.

20

(59 replies, posted in Third-party / User contributed Plugins)

Just tried the updated Funky Cache plugin.
When I have it enabled and with the .htaccess rules and cache dir setup
it breaks the HTML of the website resulting in a white page.
The website renders fine when I disable the plugin.

I should note that the plugin does save files just fine to its cache dir.
The content of those are correct.

21

(6 replies, posted in General)

Probally not a full answer and there might be much better ways, but try them anyway.

<?php
$i        = 0;
$children = $this->find('/')->children();
$len      = count($children);
foreach ($children as $menu) {
    if ($i == 0) {
        echo 'First link: ' . $menu->link();
    } elseif ($i == $len - 1) {
        echo 'Last link: ' . $menu->link();
    }
    $i++;
}
?>

Also try out this:

<?php
$children = $this->find('/')->children();

// all children minus the last item
$items = array_slice($children, 0, -1);
foreach ($items as $menu) {
    echo $menu->link();
}

// just the last item
$last_item = end($children);
foreach ($children as $menu) {
    if ($menu == $last_item) {
        echo $menu->link($menu->title, (in_array($menu->slug, explode('/', $this->url)) ? ' class="last"' : ''));
    }
}
?> 

22

(4 replies, posted in Showcase)

Its sure a inviting website, the wooden sign really works well.
Even looks good with javascript and/or css disabled.

23

(5 replies, posted in General)

I think OP is referring to this very forum?

24

(2 replies, posted in General)

andrewmman wrote:

Framework.php line 244

Dispatcher::getCurrentUrl();

or the CURRENT_URI constant, but it will only return something if the Dispatcher was used.

What I mean, you can't use it inside a page-part for example, because pages don't use the Dispatcher class, they use the Page class static function findByUri().

It's is available for the backend (Dispatcher calls each controller, passing the action and params) and available in the 'frontend', if public routes where added by a plugin controller.

Thanks Andrewmman, thats the one I need.
Only need the know the url within the plugin.

25

(4 replies, posted in General)

David wrote:

- partExists(): tests for the existence of a page-part

I didn't even know this function existed and i've been using Wolf CMS for some time now.