1

(12 replies, posted in Projects)

Hi there,

I have just registered and paid membership at monstracreative.com - but cannot yet log in.  Asking for a new password says that the user (same name as on this forum) does not exist.  Please can you check this out for me? 

Thanks,
Mike

2

(115 replies, posted in Plugins)

Hello!  I have a quick question re: the Blog plug in.  I am using two instances of Blog on a site I am creating for a band.  One is the blog and one I have renamed 'Events' (for gigs, etc.).  All is great except I would like to change the Events plug in so that the posts are listed oldest first.  Is there a way to do this?  Thanks! Mike.

3

(7 replies, posted in Themes)

Hi RomanArt,

Thanks for the update - I've just tried to access monstrapro.com and also monstrathemes.com and both sites are down (suspended?).   Hope that there isn't a big problem and that you're back up and running soon.

Cheers,
Mike

4

(7 replies, posted in Themes)

Hi RomanArt!  Thanks for your reply, am looking forward to the new version of the theme - please let us know when it is ready.

Thanks,
Mike

5

(7 replies, posted in Themes)

Hi Roman Art,

Thanks for the great theme - I'd like to run this with the new version 3.0 of Monstra.  Will it be compatible?

Thanks!
Mike

6

(14 replies, posted in Questions)

Wow! That's how you are going it too?  I made a lucky guess then. smile It is all working well now... now to find a nice html5 audio player.  Is there one built in to monstra?  Thanks for your help!

7

(14 replies, posted in Questions)

No problem. I've found a workaround for now... it's not very elegant

I haves duplicated and rename the plug-in folder (to 'gigs' in my case) and then also renamed any files inside (eg. blog.plugin.php to gigs.plugin.php and blog.manifest.xml to gigs.manifest.xml), finding and replacing text in any of the .xml and .php files from 'blog' & 'Blog', with 'gigs' & 'gigs'. 

Finally, I made two new templates (gigs.template and gigs-post.template) and edited instances of 'blog' to 'gigs' again...

I now have a blog plug in, but also a separate gigs plug-in which I use for the band's tour dates.  I can style the templates differently too.  I'm sure there's a much easier and better way of doing it though!

Mike

8

(14 replies, posted in Questions)

Thanks very much,  I have tried changing (blog.plugin.php) from

$parent_page_name = 'blog';  to
$parent_page_name = Page::slug();

But is not working.  Is this syntax allowed?

9

(14 replies, posted in Questions)

Thanks very much - I will wait.  In the meantime, do you know what the php syntax is to get the current page's slug?

10

(14 replies, posted in Questions)

Hello, I worked out what my problem was - I was using Aryandhani's excellent Portfolio theme and the blog plug in is modified and I think that part is different.  With the default theme, pagination works.

But - I'm having an idea.  In blog.plugin.php, you can define the $parent_page_name = 'blog'; (line 35).  Can the parent_page_name variable be set to slug of the current page?

Awilum (hello!)  Maybe you can help too?

Thanks everyone! smile

11

(14 replies, posted in Questions)

Hi RomanArt,

Yes that's right.  I can go to http://sitename/blog?tag=gigs and all is fine, but when I navigate to page 2 using the pagination, the URL goes to http://sitename/blog?page=2 (the gig tags has gone).  Does this happen with you?

Ideally I'd really like to know if there is a PHP solution, which can be put into a template - It would mean that the URL's would be much cleaner and that different template pages for different categories.

Thanks for your help!
Mike

12 2014-03-26 19:42:19

(16 replies, posted in General discussion)

Hello, I'm Mike - in Nottingham, UK. I work in Music Technology and Education.  I'm fairly new to everything web-wise, but have started to make sites for eLearning and also bands and artists.  I found Monstra because for the stuff I do, I really have no need for huge CMS's with databases.  Monstra is cool - although I'm a novice coder, it is helping me learn and I've already managed to adapt a couple of HTML themes.   Looking forward to finding out more and making more sites.  Thanks everyone on the Monstra team and keep up the good work! smile

13

(14 replies, posted in Questions)

Hi, I just posted a similar question over the plug-ins page but ask it here to see if anyone can help.

Please can anybody tell me if there is a to create a template page, which will list blog-posts containing only a certain tag?
   
e.g. the same function as <?php echo Blog::getPosts(5); ?> ...but only for posts tagged 'gigs' or 'news' or something?

I see that I could make a menu item and assign it to a URL (e.g http://sitename/blog?tag=gigs), but then when I navigate using the blog's page numbers, it reverts to all of the posts.  A php solution would be great.  Can anyone help?

Thanks!
Mike

14

(6 replies, posted in Plugins)

Hi there, I'm just trying this out - I have it working but wanted to know how the js knows not to count repeated votes.  On the same machine, I was able to add a vote in Safari, then one in Firefox, then one in Chrome.  Does it look for or IP address or cookies? Just curious how it's done (I can't really make it out from the code - I'm a novice at PHP).  Thanks for all your work!
Mike

15

(115 replies, posted in Plugins)

Hi RomanArt,

Thanks very much - yes, adding the <?php echo Site::url(); ?> before public worked for me!

Please also can you tell me if there is a way to have a template page list blog-posts containing only a certain tag?
   
e.g. <?php echo Blog::getPosts(5); ?> ...but only for posts tagged 'gigs' or ' weather' or something?

Cheers,
Mike

16

(115 replies, posted in Plugins)

Hello,

I have installed Monstra 2.3.1 and Blog Plug in 1.7.3 and having a problem when selecting individual blog posts (ones which use blog-post.template.php) On these pages, the style.css is not loading and images are missing.  If I inspect the missing logo, then the url has /blog/ added to the front (because of the parent page).

http://sitename/blog/public/themes/img/logo.png

If I change all urls in header.chunk.php to absolute urls, then it all works - but I'd like not to do this.

Is this something that anyone has seen before?

Thanks,
Mike