This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Some basic questions about using Contenteller [with XenForo]


avatar
DoctorWatsOn 42
From: -
Hi Philipp,

It's early days with my playtime using Contenteller (Ct) with xenForo (xF) as the forum, but I like it so far.

As there's no documentation yet I am going to need to ask a few basic questions, some will be fairly dumb because I am not very experienced with running websites, but hopefully you'll not mind answering them. I am thinking some of what I ask could help you in preparing the documentation you plan and if nothing else will be searchable on here for other new users.

To kick-off with:

1 – Database:

This will be a brand new site to replace my current vBulletin one, I can import my forums into xF and I understand I can import my CMS articles into Ct [haven’t looked at that yet], would you therefore suggest using a single database for both the Ct & xF installs or is it better to keep them separate?

2 – Latest Forum Posts Block:

I’ve activated this on my Cf test install and it pulled in the latest 5 posts, I tried to edit the block to increase this to 10 posts, but it doesn’t seem to want to list more than 5. Am I doing something wrong or is this a bug? FORGET THIS ONE - a few extra refreshes and it's now working as it should do.

3 – Header logo:

I am sure it’s easy, but for the life of me I can’t see where you can change the site header logo from the default Cf to my own, can you guide me to it?

4 - Adding links to the header:

In the main menu block it's displaying a link to the forum, how do I add such a link to the main header? FORGET THIS ONE - I've found the answer, couldn't be easier! For anyone else looking for this: adminCP > Main > Manage Menus > switch on 'Forum' link, that is already displayed in there as an option.


5 - Forum Intergration - loggin problem:

It seems from my test installs that if I login as a registered user in the xF forum, I have to login again in the Ct part to leave a comment, is this how it works or is there anyway of having it so you only login once across the whole site? I am currently using two separate databases, could that be causing this problem?

Thanks in advance for your help

EDIT: I should have posted this in general questions I guess.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Did you change the images? Look like they are now smaller?
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Seems like the center code I used works only properly if the image is smaller then the window width. I will make this option optional in 2.1.8.

In the meantime edit /blocks/slideshow.php and replace:


You're going to hate me Philipp, but that change has now aligned the photos to the left.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Going back to item 13 – Photo slideshow: I am still having a problem since the upgrade with the photo slide show (see your post 15 on this thread), it's still aligned the photos to the right instead of centred.

Seems like the center code I used works only properly if the image is smaller then the window width. I will make this option optional in 2.1.8.

In the meantime edit /blocks/slideshow.php and replace:
echo "<script type=\"text/javascript\" src=\"" . $seo_url . "core" . $preferences[ 'param_action' ] . "javaload" . $preferences[ 'param_page' ] ."jqFancyTransitions.js\"></script>\n";

echo "<div class=\"slidecenter\"><div id=\"ctslideshow\">";

for( $i = 3; $i < 33; $i++ )
{
if( isset( $input_block_options[ $i ] ) )
{
$image_path = $input_block_options[ $i ];
$i++;
$image_text = $input_block_options[ $i ];
$i++;
$image_link = $input_block_options[ $i ];

if( $image_text and $image_link )
{
$image_text = "<a href='" . $image_link . "'>" . $image_text . "</a>";
}

if( $image_path )
{
echo "<img src=\"" . $image_path . "\" alt=\"" . $image_text . "\" />";
}
}
}
echo "</div></div>";


with:
echo "<script type=\"text/javascript\" src=\"" . $seo_url . "core" . $preferences[ 'param_action' ] . "javaload" . $preferences[ 'param_page' ] ."jqFancyTransitions.js\"></script>\n";

echo "<div id=\"ctslideshow\">";

for( $i = 3; $i < 33; $i++ )
{
if( isset( $input_block_options[ $i ] ) )
{
$image_path = $input_block_options[ $i ];
$i++;
$image_text = $input_block_options[ $i ];
$i++;
$image_link = $input_block_options[ $i ];

if( $image_text and $image_link )
{
$image_text = "<a href='" . $image_link . "'>" . $image_text . "</a>";
}

if( $image_path )
{
echo "<img src=\"" . $image_path . "\" alt=\"" . $image_text . "\" />";
}
}
}
echo "</div>";
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Thanks Philipp, I was looking for a field with the xF path in it to change, didn't expect it to be as easy just Edit > done, and I can't believe I didn't see how to change the fonts, that'll teach me for doing Ctrl+F 'font' instead of 'text' on various pages in the style editor or even just looking at what's on the screen - what an idiot.

Going back to item 13 – Photo slideshow: I am still having a problem since the upgrade with the photo slide show (see your post 15 on this thread), it's still aligned the photos to the right instead of centred.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Sorry for the delay. It is a busy weekend for me  http://www.contentteller.com/forums/styles/default/xenforo/smilies/frown.png

15 – How to I change all the default fonts?

I want to match them with those used in my xenForo install.

You can easily change it in the instant style editor

Ct_fonts

16 – How do I change the path to my integrated forum?


From /xF_test to /forum, for the life of me I can’t see where to do it.

After you changed the path in xenForo itself, you need to select Manage Forum Integration => Edit => Done

Contentteller will automatically update the configuration to match your xenForo install
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Stupid questions numbers 15 & 16. Grinning Face

15 – How to I change all the default fonts?

I want to match them with those used in my xenForo install.

16 – How do I change the path to my integrated forum?

From /xF_test to /forum, for the life of me I can’t see where to do it.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
No, you need to run the upgrade script.

1) Make a backup of your Contentteller website and database.
2) Upload the new Contentteller files to your webspace
3) Run  http://yourdomain.tld/path_to_your_contentteller_install/cadmin/cupgrade.php to upgrade your installation to the new version
4) Login to the admin section (cadmin) to complete the upgrade

Upgrading the installation will not overwrite any changes.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Contentteller 2.1.7 will use the build-in Facebook / Twitter authentication even if the forum integration is enabled.

The new version should be out later this week.


This is excellent news.  http://www.contentteller.com/forums/styles/default/xenforo/smilies/cool.png

I've just downloaded 2.1.7, just a quick question about upgrading - do I just follow the normal installation instructions and just upload all the files again or will that revert all the changes I've made like changes in colours and integration with xenForo?
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
The new version should be out later this week.

Hopefully this week Winking Face. Testing the release right now. It took a little longer due to modifications in all forum integration scripts.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Contentteller 2.1.7 will use the build-in Facebook / Twitter authentication even if the forum integration is enabled.

The new version should be out later this week.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Thanks. I will look into it Smiling Face
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
8) The logins are currently only working without forum integration after they are using the Contentteller user database but I will look into it.


I haven't tested this free add-on yet, it was only released yesterday on the xF forums, but if it solves the issue it could save you time looking into it -  Twitter Authentication
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
I tried changing those three lines in /blocks/slideshow.php, but it seemed to have aligned the photos to the right instead of centred. Confused Face

So, I've ended-up finding a few photos that I could crop to 350x705 pixels to fill the width without making the slideshow too deep and it looks so much better like that anyway. Although it does mean I'll have to take future photos with that in mind, so I don't end-up chopping people's heads off! Grinning Face
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria

11 – WYSIWYG Editor:

Is Ct using a custom WYSIWYG editor or is it a third party one? Only I am thinking if it's a 3rd party one it could be useful for me to go and have a bit of a read up on it, if there’s any resources on the net that supports it.

Contentteller is currently using  TinyMCE as WYSIWYG editor. The install is located in /jscripts/tiny_mce


12 - Embed google maps & streetview:

Is there anyway to embed these into articles with the WYSIWYG editor or otherwise? In vB CMS I am using custom BB code, but I can’t see anywhere to add this into Ct.

You can add custom codes under Manage Blockcodes (second option in Main).


13 – Photo slideshow:

I am loving this block, which I would like to use on my home page, is there anyway of aligning the slideshow in the centre of the block?

This require the following three changes in /blocks/slideshow.php

Replace line 45:
echo "<style type=\"text/css\">\n.ft-title { padding: 15px 15px; width: " . $swidth . "px; text-align: left; }\n.ft-title a:link, .ft-title a:visited { color: #ffffff; }</style>\n";


with:
echo "<style type=\"text/css\">\n.ft-title { padding: 15px 15px; width: " . $swidth . "px; text-align: left; }\n.ft-title a:link, .ft-title a:visited { color: #ffffff; }\n.slidecenter{width: " . $swidth . "px; margin-left: auto; margin-right: auto;}</style>\n";


Replace line 48:
echo "<div id=\"ctslideshow\">";


with:
echo "<div class=\"slidecenter\"><div id=\"ctslideshow\">";


Replace line 71:
echo "</div>";


with:
echo "</div></div>";


14 – Two-column layout for main content:

I found how to change columns for blocks from one to two, but I was wondering if there’s anyway of creating a 2-column layout for the main content section, i.e. 2-columns previewing articles with just a single column for blocks?

Search the settings for "two columns". Both the news and articles module supports a 2-columns layout.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
A few more questions:

11 – WYSIWYG Editor:

Is Ct using a custom WYSIWYG editor or is it a third party one? Only I am thinking if it's a 3rd party one it could be useful for me to go and have a bit of a read up on it, if there’s any resources on the net that supports it.

12 - Embed google maps & streetview:

Is there anyway to embed these into articles with the WYSIWYG editor or otherwise? In vB CMS I am using custom BB code, but I can’t see anywhere to add this into Ct.

13 – Photo slideshow:

I am loving this block, which I would like to use on my home page, is there anyway of aligning the slideshow in the centre of the block?

14 – Two-column layout for main content:

I found how to change columns for blocks from one to two, but I was wondering if there’s anyway of creating a 2-column layout for the main content section, i.e. 2-columns previewing articles with just a single column for blocks?
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Licence purchased < Christmas present to myself. Smiling Face
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
You need to click "Pages" (third tab) and then edit


Mystery solved, thanks again for a quick reply.

Our Christmas is delayed until 8th Jan. as my partner is working and some of the family have gone away, so I am likely to post some questions over the weekend, but I don’t expect you to be around to answer them!

In the meantime I would like to wish you and yours a very Merry Christmas & Happy New Year.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
‘Edit Article’ window displays it’s only showing the ‘Article Summary’ text editor, so I can’t edit the main article. Confused Face

You need to click "Pages" (third tab) and then edit
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
You need to enable the WYSIWYG editor for each module separately. The easiest way to enable the WYSIWYG editor for all modules is searching the settings for wysiwyg with "Search All Settings" (Settings menu).


WOO HOO – fantastic!

However, I’ve got a slight problem, which is probably down to me being a bit daft, when I go to edit an article – adminCP > Articles > Manage Articles > Edit – and the ‘Edit Article’ window displays it’s only showing the ‘Article Summary’ text editor, so I can’t edit the main article. Confused Face

EDIT: It works OK on news items, but not articles.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
You need to enable the WYSIWYG editor for each module separately. The easiest way to enable the WYSIWYG editor for all modules is searching the settings for wysiwyg with "Search All Settings" (Settings menu).
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
6 - on reflection that's totally logical, I can't believe I didn't think of trying that.

7 - Got it, cheers. For any other novice reading in the future it's: adminCP > Templates > Manage Styles > [select style] Edit > Page Setup > 3rd option along that line.

8 - I thought that would be the case, if you could solve that I reckon it could become a major selling point for Cf, it's certainly not a deal-breaker for me.

9 - I assumed that would be the answer, easy enough to workaround, so that's OK.

10 - How do I enable the WYSIWYG editor?
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
The following SQL query (phpMyAdmin) should do the trick:
UPDATE cont1esselbach_ct_preferences SET preference_value = '/' WHERE preference_key = 'WEBSITE_UWRAPPER_COOKIEPATH';


6) Yes, Contentteller user accounts will only work in the admincp but not on the main page. The main page is exclusively using the XenForo user database.

7) First row (page setup) third option in the style editor

8) The logins are currently only working without forum integration after they are using the Contentteller user database but I will look into it.

9) No, this is not easily possible.

10) Have you enabled the WYSIWYG editor? In this case the editor is only working in HTML mode.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
Excellent news - is it an easy template change that you can post here so that I can test it or otherwise when do you hope to release 2.1.7?

Couple more questions:

6 - Admin accounts:

You posted on my thread on the xenForo site that admins for Ct can't be pulled from xF, as an additional security measure in case the forum integration breaks, which makes perfect sense. However, I've created an extra admin account in the Ct adminCP, but when I try to login using that on the test install it rejects the password, I guess this is because the main login page is now connected to the xF database, whereas this new admin account is only in the Ct database. Any ideas?

7 - Fixed Width:

I would like to make the Ct install the same fixed width as my xF install, can you point me in the right direction for doing that?

8 - Login with Twitter & Facebook:

xF doesn't currently have Twitter login, do you know if I activate it with Ct would it work across the whole site, inc the xF forums, or would it only work for the Ct side of things? If it works across both xF & Ct, would it create a new users account in the Xf database? Am I making sense on this one?

9 - Search:

Would there be anyway of making neither the Cf or the xF search functions to work across both elements of the site, or am I trying to get too much out of this integration?

10 - Article editor:

It works fine using HTLM code, but is there anyway to extend the amount of BB code use, i.e. in particular for adding text-based links to open in new tabs? Ideally making is work similar to the editor in xF or vB.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
Found the problem. The option to set a cookie path is missing in the XenForo integration configuration tool. I have added it to the next release (2.1.7).
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
5) Most likely an issue with the cookie path. Possibly because you installed both Contentteller and XenForo in two separate subdirectories. I will look into it later.
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
OP 42
From: -
As you replied I was just editing my post as I had found the answer to no. 4, and I don't understand how I missed 'upload website logo', I'll try to avoid asking dumb questions like those two again, as I am starting to find my way around the adminCP and it's looking easier as every hour passes.

Not sure if you spotted I added a 5th question above.

Thanks again. Smiling Face
1 Re: Some basic questions about using Contenteller [with XenForo]
avatar
Administrator
1340
From: Vienna, Austria
1) Whatever you prefer. Both ways work just fine.

2) The data in the blocks are cached to keep the server load low. You can always force a cache refresh with Main => Clear Cache

3) Templates => Upload Website Logo. This will also automatically resize the logo. Alternative, you can change the logo path under Websites Settings => Edit => Advanced tab => Path to your Website logo

4) You can edit the header menu under Main => Manage Menus

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.