1

(6 replies, posted in Snippets)

Thank you! smile

2

(6 replies, posted in Snippets)

Are you sure this is working?

It does not seem to work on my blog (http://barichello.coffee/blog).

Try "attention", for example. It is in the content on the body of the first post but the script returns 0 matches.

3

(6 replies, posted in Plugins)

Can anyone extend this code to search more than only titles?

4

(9 replies, posted in Questions)

I have a new CSS question...

How could I change the behaviour of the menu in mobiles?
I have no experience with interfaces for mobile and I do not like the way the menu is being showed in this kind of device. Also, I could not identify in the default style sheet any property that looked like that.

Could anyone give me some help?

5

(9 replies, posted in Questions)

Brilliant, monstrahost!
That is exactly what I was looking for smile

6

(9 replies, posted in Questions)

But this is going to affect the layout even for PCs, right?

I want to change it only for mobiles.

7

(9 replies, posted in Questions)

Yes!

I would like to show it not as a column, but in the bottom of the page.

8

(9 replies, posted in Questions)

I am not used to responsive theme. So, I am having trouble to change de behaviour of my theme for mobiles (I am happy with it for PC).

The issue is with my blog and posts pages (http://www.barichello.coffee/blog). I want to move the right column to the bottom of the page when the user is acessing it on a mobile device.

Could anybody give a hint of how I can do that?

Thank you!

9

(15 replies, posted in Questions)

Problem solved after xxwebplus reinstalled Monstra for me.
Thank you, man!

10

(15 replies, posted in Questions)

No... sad

11

(15 replies, posted in Questions)

The problem continues the same...

What about the finals below on php.ini? I know that I changed it but,m being honest, I cant remember what were the original values sad

register_globals = On
register_long_arrays = On

12

(15 replies, posted in Questions)

Maybe... I also changed the .htaccess. This is the .htaccess in the folder where Monstra is installed:

suPHP_ConfigPath /home/mais6/public_html/coffee
AddHandler php53-script .php

#
# Monstra CMS :: php & apache settings 
#

# Set default charset utf-8
AddDefaultCharset UTF-8

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
    php_flag magic_quotes_gpc                 off
    php_flag magic_quotes_sybase              off
    php_flag register_globals                 off
</IfModule>


# Setting rewrite rules.
<IfModule mod_rewrite.c>
    RewriteEngine on
    
    # Update code bellow for SEO improvements 
    # RewriteCond %{HTTP_HOST} ^www.example.org [NC]
     # RewriteRule ^(.*)$ http://example.org/$1 [R=301,L]
    
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
    
    # Update code bellow for SEO improvements 
    # Redirect 301 /home http://example.org/
</IfModule>

13

(15 replies, posted in Questions)

For example, after I log on and access the dashboard, all links available on that screen are working, except the "File" (it loads a blank screen).

Also, i can create a page, but the system is not saving it.

14

(15 replies, posted in Questions)

I made a few changes in my php.ini and .htaccess because of other app I have running in my server. After some days I realized that it has impacted Monstra and I can't figured out which configuration did this.

Is there anybody using monstra and php 5.3.14? Could you send me your php.ini?

Still not working...

You can see the post in my facebook page: https://www.facebook.com/leo.barichello
It is the first and probably will be for a couple of days.

And I am using this as metadata:

<meta property="og:site_name" content="barichello.coffee">
<meta property="og:url" content="http://www.barichello.coffee/blog">
<meta property="og:title" content="<?php echo Site::title(); ?>">
<meta property="og:image" content="http://www.barichello.coffee/public/uploads/fumacaface.png">
<meta property="og:type" content="article" />

But this way, Facebook will show the title of the website, I want it to show the title of the particular post. Am I right?

Hello,

I tried to use the getPostTitle method to define the og:title metadata as shown below:

<meta property="og:title" content="<?php echo Blog::getPostTitle(); ?>">

But Facebook is not loading the value properly.
Any clue about what is happening?

18

(3 replies, posted in General discussion)

?

19

(3 replies, posted in General discussion)

I can imagine ways to create the "read more" functionality in the blog using CSS and/or javascript. For instance, I could insert different properties/functions in the blog and blog-post templates to get to desired behaviour.

But I am wondering what would be the most elegant solution in Monstra for this issue.

Suggestions?

20

(57 replies, posted in Projects)

Thank you! There are really two mistakes. The correct version is:

<?php
    return array(
        'blog' => array(
            'Blog' => 'Blog',
            'Blog plugin for Monstra' => 'Plugin de Blog para o Monstra CMS',
            'begin' => 'início',
            'end' => 'fim',
            'prev' => 'ant',
            'next' => 'prox',
        )
    );

About the suggestion to use github: I am not used to it, that is why I decided to post here. But if you really prefer, I can spend some time learning how to do it...

21

(7 replies, posted in Questions)

Pois eh, eu falo portugues, mas do portugues do Brasil. E a falta de acento nas palavras eh porque eu estou morando no Reino Unido.

Mas eh sempre bom encontrar um companheiro de idioma! smile

http://www.barichello.coffee/

23

(57 replies, posted in Projects)

Here is content of the pt-br (Brazilian Portuguese) language file for the Blog plugin (missing in 3.0.1 version):

<?php

    return array(
        'blog' => array(
            'Blog' => 'Blog',
            'Blog plugin for Monstra' => 'Plugin de Blog para o Monstra CMS',
            'begin' => 'início',
            'end' => 'fim',
            'prev' => 'prox',
            'next' => 'ant',
        )
    );

Please, note that we need the unusual character í

24

(7 replies, posted in Questions)

I see your point...

Anyway, is it possible in Monstra to change the privileges of an editor user in such a way that the user can create a new page but no publish it?

25

(7 replies, posted in Questions)

The version I am using is 3.0.1 and the idea is not for a private client.

I want to give temporary access to a blog for selected people to write one post, like a guest writer. I would review the post and then publish it.