Get started with PHP-Fusion

Start a New Thread

Users Participated

  • helmuth
    Post made: 3
  • Falk
    Post made: 2
  • robo123
    Post made: 2
  • bronxi
    Post made: 7

  1. PHP-Fusion Support Forums
  2. PHP-Fusion 9 Support
  3. Modifications and Requests

Remove text

Post your modification and request questions for v9 here.

13 Replies 143 Views Last Updated on 10 days ago

bronxi


Newbie

#1

Posted 11 days ago

Hi guys

Is there someone who can tell me how I delete this?
What files to be edited and which lines to be deleted?
You are looking on a viewpage on picture.

See picture.

Thanks

Posts: 7

Joined: 17/03/2017

helmuth


Admin

#2

Posted 11 days ago

you have to be more specific:

is it:
articles
news
blog
custom page
...

a link to the page would be helpfull...

Posts: 388

Joined: 19/05/2004

bronxi


Newbie

#3

Posted 11 days ago

Sorry, I thought viewpage was the same as a custom page.

But it is on a every custom page.

Site is on Maintenance Mode

Thanx

Posts: 7

Joined: 17/03/2017

helmuth


Admin

#4

Posted 11 days ago

well, I can't reproduce this on my test site ... Sad

Posts: 388

Joined: 19/05/2004

bronxi


Newbie

#5

Posted 11 days ago

:/

The bar and the text are otherwise also in other pages, as links and downloads.

I have another test page that shows this. http://coolx.dk/v...?page_id=1

Think it sounds very strange you do not see them in your version, when you make a custom page?

Posts: 7

Joined: 17/03/2017

helmuth


Admin

#6

Posted 11 days ago

I see you are using the Bootstrap Theme

I used the Fusion Theme, which doesn't show in the same way ...

The navigation link text and the title text are one and the same (the link gets the text from the database) ...

I tried to make a page with a whitespace (danish: blanktegn) which wasn't allowed and then with a dot (danish: punktum)

the dott shows up in the places yoiu are asking about.

Sorry, I don't know how to solve it ...

Posts: 388

Joined: 19/05/2004

bronxi


Newbie

#7

Posted 11 days ago

Ah, that was the reason you did not see it Smile

Are others who can tell where I delete bar and both texts in Bootstrap Theme?
The big text is the title of custum page

Thanks

Posts: 7

Joined: 17/03/2017

Falk


Super Admin

#8

Posted 11 days ago

You find it in , includes/classes/PHPFusion/CustomPage.inc
Code Gist: Download source  

$previewHtml .= "<h3>".$data['page_title']."</h3>\n";

There are better ways to modify this "template"this to your theme but I am not going in to these details now, wait for documentation :)

Posts: 3562

Joined: 27/09/2005

bronxi


Newbie

#9

Posted 11 days ago

Nothing happend when i delete the line you write? Its all the same.

I also thought it was my theme somewhere to be edited.

wait for documentation?? Smile Good

Posts: 7

Joined: 17/03/2017

robo123


Junior Member

#10

Posts: 38

Joined: 10/11/2014

Falk


Super Admin

#11

Posted 11 days ago

Sure is odd, but look in your theme if you have custom template for it enabled. My code should remove your secondary text ( The title ) Robo123 should remove the breadcrumb naturally.

Posts: 3562

Joined: 27/09/2005

bronxi


Newbie

#12

Posted 10 days ago

It has make an new css i my theme i bootstrap when i chanced som colors on site, but I cant find your line there? Sorry for my bad english,
I cant get (the titlle) to go away :/ what am i doing wrong, im missing something :)

Thanks robo123 it removed the bar and text.

EDIT:

Is it wrong to delete tittle in this line
Code Gist: Download source  

opentable();

Insted of this
Code Gist: Download source  

opentable($info['title']);

in themes/templates/global/custompage.php?

That will remove the tittle
Edited by bronxi on 18-03-2017 11:33

Posts: 7

Joined: 17/03/2017

robo123


Junior Member

#13

Posted 10 days ago

Replace by
Code Gist: Download source  

opentable('');

Posts: 38

Joined: 10/11/2014

bronxi


Newbie

#14

Posted 10 days ago

Thanks for help guys Smile

Posts: 7

Joined: 17/03/2017

Jump to Forum:
8 users are online
0 member and 8 guests