Does anyone happen to know how Bloc gets the frontpage to work on here??
Is it a feature of v0.9??
I've been "asked" that our website acts as more of an advertisement on it's home page; and the way that Bloc does it here looks perfect for our needs.
I've tried setting an article as featured with a Single Page set but it ends up removing the left bar through out the whole site, which I don't want.
create a frontpage block, or at least that is what i believe it it is.
ok, i was wrong. :D ;)
thanks G6
Yes, it is a future for v.09 :)
If you need it, a little change on TPortal.php can help you.
Search for:
if($mypage!='' ){
// add visual options for an article
$context['TPortal']['use_articleoptions']=true;
Replace with:
if($mypage!='' && !isset($_REQUEST['action']) ){
// add visual options for an article
$context['TPortal']['use_articleoptions']=true;
I think that the section calledEdit visual options for the article need set at the category than rather for a article alone ::)
Hmmm...please explain yoursefl better ^__^
What he say is that instead of create a single article, create an category, and put the article in there when you create one
Thanks G6 :)
I've tried to do as elpvn said, but even if I put a featured article into a category the problem remains.
Quote from: pgc_boss on April 19, 2006, 11:10:20 PM
I've tried setting an article as featured with a Single Page set but it ends up removing the left bar through out the whole site, which I don't want.
hm, im running on the latest TP v0.91 and it doesent look the same as 0.86, so I cant test it eather.
We have to do some searching in here i guess :)
Quote from: kail on May 13, 2006, 06:22:44 PM
Thanks G6 :)
I've tried to do as elpvn said, but even if I put a featured article into a category the problem remains.
Quote from: pgc_boss on April 19, 2006, 11:10:20 PM
I've tried setting an article as featured with a Single Page set but it ends up removing the left bar through out the whole site, which I don't want.
I used a center block with one article - that way I can put articles and blocks on the front page -- after you make the block you can go back and use the options tap -- found top right - and set the left bar to stay -- look here www.rranderson.com/arcade
That's a good idea Ray, thanks.
But what i need is that when a guest arrives he see the homepage without bars, only header and footer, and when he enter the forum the bars magical appears.
Near same as this site :)
I believe this is what you want (?):
Admin >> Settings >> Frontpage >> What to show on frontpage: >> Single Page
Then just create your article, make sure the green circle is filled in as opposed to the red, turn off the sidebars (deselect leftblocks / rightblocks) and turn on / off all the options you want / don't want:
Admin >> Articles >> Choose / Create your article
Then, set it to be featured:
Admin >> Aricles >> Set as featured
Quote from: kail on May 13, 2006, 07:13:09 PM
That's a good idea Ray, thanks.
But what i need is that when a guest arrives he see the homepage without bars, only header and footer, and when he enter the forum the bars magical appears.
Near same as this site :)
ah I see what you want -- I think that is something Bloc will have to give you a code for -their is a change you can make for the site to open to a page and not the default, but sadly I do not know where it is :-\
Quote from: anunlike on May 13, 2006, 08:38:31 PM
I believe this is what you want (?):
Admin >> Settings >> Frontpage >> What to show on frontpage: >> Single Page
Then just create your article, make sure the green circle is filled in as opposed to the red, turn off the sidebars (deselect leftblocks / rightblocks) and turn on / off all the options you want / don't want:
Admin >> Articles >> Choose / Create your article
Then, set it to be featured:
Admin >> Aricles >> Set as featured
In TP0.86 if you disable the bars in the featured article and set frontpage as single page, all page of the forum gain the same visualization. Check the first post :)
Quote from: Ray on May 14, 2006, 02:31:01 AM
ah I see what you want -- I think that is something Bloc will have to give you a code for -their is a change you can make for the site to open to a page and not the default, but sadly I do not know where it is :-\
I've found the perfect solution in the lines i've pasted, just a mod to an 'if'.
But i don't really like modify the core files .. for a lot of motive you should understand ^__^
I've thought to change the value of the bars draw flags, but the echo of the left and center bar take place before the eval of the article, so i can't modify the bars draw flags from the article body.
The only solution i think to be possible without change the core code (as i had to do :( ) is to call the collapse js function in the article ... but i don't like it because during the page loading the bars are shown, and disappear only after the loading.